joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481050
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x56fef4]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call entry0
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x539528
push 0x104
push eax
call fcn.00452390
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.00401060
lea eax, [esp + 0x84]
push eax
call fcn.00401aa0
lea ecx, [esp + 0x88]
push ecx
call fcn.00401aa0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [0x523558]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push str._02x
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.00452390
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x48119d
mov ecx, edx
jmp 0x4811ab
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x48114f
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x481203
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x539528
push edx
push esi
call fcn.00452390
push esi
call dword [0x523524]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x481240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
mov ebx, dword [esp + 0x510]
push ebp
push esi
test ebx, ebx
push edi
je 0x4813f1
mov ebp, dword [esp + 0x520]
cmp ebp, 0x20
jb 0x4813f1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x56033c
push str.Software360SafeLiveup
push 0x80000002
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [0x5236a8]
test eax, eax
jne 0x4813f1
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x4813f1
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x4812fc
mov cl, byte [edx + eax]
test cl, cl
je 0x4812fc
mov byte [eax], cl
inc eax
dec esi
jne 0x4812e6
jmp 0x481300
test esi, esi
jne 0x481301
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x481339
mov cl, byte [edx + eax]
test cl, cl
je 0x481339
mov byte [eax], cl
inc eax
dec esi
jne 0x481320
jmp 0x48133d
test esi, esi
jne 0x48133e
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.00481050
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [0x5233b8]
test eax, eax
jne 0x4813f1
test ebp, ebp
je 0x481391
cmp ebp, 0x7fffffff
jbe 0x481396
mov eax, 0x80070057
test eax, eax
jl 0x4813dd
mov eax, ebx
xor ebx, ebx
test ebp, ebp
mov edx, ebp
je 0x4813d2
mov ecx, dword [esp + 0x51c]
mov edi, 0x7ffffffe
lea esi, [esp + 0x18]
sub edi, ebp
sub esi, ecx
lea ecx, [edi + edx]
test ecx, ecx
je 0x4813ce
mov cl, byte [esi + eax]
test cl, cl
je 0x4813ce
mov byte [eax], cl
inc eax
dec edx
jne 0x4813b8
jmp 0x4813d2
test edx, edx
jne 0x4813d8
dec eax
mov ebx, 0x8007007a
mov byte [eax], 0
mov eax, ebx
xor edx, edx
pop edi
test eax, eax
sete dl
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x483020
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x30
push esi
mov esi, dword [0x523318]
push str.kernel32.dll
call esi
push str.GetSystemDefaultUILanguage
push eax
call dword [0x5233b4]
test eax, eax
je 0x483048
call eax
pop esi
add esp, 0x30
ret
call dword [0x52320c]
test eax, 0x80000000
je 0x4830e0
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov dword [esp + 0x10], 0
call dword [0x52304c]
test eax, eax
jne 0x4830d6
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x24], 0x20
call dword [0x523064]
test eax, eax
jne 0x4830cb
cmp dword [esp + 0x10], 1
jne 0x4830cb
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
push 0x5603e0
push eax
call dword [0x523560]
add esp, 0xc
mov ecx, dword [esp + 4]
push ecx
call dword [0x52306c]
mov ax, word [esp + 8]
pop esi
add esp, 0x30
ret
push str.ntdll.dll
mov dword [esp + 0xc], 0
call esi
test eax, eax
je 0x483108
lea edx, [esp + 8]
push edx
push 0x483120
push 1
push 0x10
push eax
call dword [0x523208]
mov ax, word [esp + 8]
pop esi
add esp, 0x30
ret
Function at 0x488e40
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x2090
call fcn.0051c5b0
mov eax, dword [esp + 0x2098]
push ebx
push esi
push edi
test eax, eax
mov ebx, ecx
jne 0x488ef6
mov eax, dword [0x59c330]
test eax, eax
je 0x488ef6
mov ecx, dword [ebx + 0x5c]
add ecx, 0x14f34
call fcn.004096b0
test eax, eax
jne 0x488ef6
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x488ebd
mov eax, dword [ecx + 0x568c]
test eax, eax
je 0x488ebd
mov eax, dword [esp + 0x20a0]
test eax, eax
je 0x488eac
mov ecx, ebx
call fcn.0048c030
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
call fcn.00416ad0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
mov eax, dword [esp + 0x20a0]
test eax, eax
je 0x488edb
mov ecx, ebx
call fcn.0048ac90
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
test ecx, ecx
je 0x48900e
push 0
call fcn.00416af0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
mov ecx, dword [ebx + 0x5c]
add ecx, 0x14f34
call fcn.00407c10
mov edx, eax
test edx, edx
je 0x48900e
cmp word [edx], 0
je 0x48900e
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x5384a4
lea eax, [esp + 0x14]
push 0x823
push eax
call dword [0x52346c]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004be8a0
add esp, 0x14
push 0x12
call dword [0x523744]
mov si, ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1056]
mov word [esp + 0x1054], 0
lea edx, [esp + 0x1054]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x823
lea eax, [esp + 0x10]
shr esi, 8
push edx
push eax
and esi, 0xff
call fcn.004d8350
add esp, 0xc
cmp word [esp + 0x1054], 0
je 0x488fc1
lea ecx, [esp + 0x1054]
push ecx
mov ecx, ebx
call fcn.004873f0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
test esi, esi
jne 0x488fdd
mov eax, dword [esp + 0x20a0]
test eax, eax
jne 0x488fdd
mov eax, dword [0x59f8b0]
test eax, eax
jne 0x488fdd
xor eax, eax
jmp 0x488fe2
mov eax, 1
mov edx, dword [0x5868f8]
mov edi, dword [esp + 0x20a4]
push edx
push 0
push 0
push eax
xor eax, eax
push 0
test edi, edi
setne al
inc eax
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
mov ecx, ebx
call fcn.004879e0
pop edi
pop esi
pop ebx
add esp, 0x2090
ret 8
Function at 0x48c870
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
add eax, 0xffff9ff0
push esi
cmp eax, 4
mov esi, ecx
ja case.0x48c88b.24595
jmp dword [eax*4 + 0x48c980]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x48c8b7
mov edx, dword [eax + 0x24]
lea ecx, [eax + 0x24]
call dword [edx + 0x50]
test eax, eax
je 0x48c8b7
mov ecx, esi
call fcn.0048c590
pop esi
add esp, 0x208
ret 4
mov ecx, esi
call fcn.0048c5f0
pop esi
add esp, 0x208
ret 4
mov eax, dword [esi + 4]
push 0
push 0
push 0x5403
push eax
call dword [0x523774]
pop esi
add esp, 0x208
ret 4
mov cx, word [0x56bc90]
push edi
mov word [esp + 8], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x58bccc]
push str.360Start.exe
lea edx, [esp + 0xc]
push 0x103
push edx
push eax
call fcn.0043f220
lea ecx, [esp + 0x18]
push ecx
call fcn.004515f0
add esp, 0x14
test eax, eax
pop edi
je case.0x48c88b.24595
push 5
push 0
lea edx, [esp + 0xc]
push str._SafeMode
push edx
push 0
push 0
call dword [0x523644]
pop esi
add esp, 0x208
ret 4
mov eax, dword [0x5868f8]
push eax
push 0
push 1
push 1
push 1
push 1
push 0
push 0xab
call fcn.0049b200
add esp, 4
mov ecx, esi
push eax
call fcn.004879e0
pop esi
add esp, 0x208
ret 4

Function at 0x48c9a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
xor esi, esi
mov dword [esp + 0x18], 4
call dword [0x52304c]
test eax, eax
je 0x48c9e9
lea ecx, [esp + 4]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [0x523044]
test eax, eax
je 0x48c9e9
xor eax, eax
pop esi
add esp, 0xc
ret 4
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0
push str.GlobalUserOffline
push ecx
call dword [0x523064]
test eax, eax
jne 0x48ca26
mov eax, dword [esp + 8]
xor edx, edx
cmp eax, 1
sete dl
xor ecx, ecx
mov esi, edx
test eax, eax
sete cl
mov dword [esp + 8], ecx
jmp 0x48ca2e
mov dword [esp + 8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48ca4a
mov edx, dword [esp + 4]
push edx
call dword [0x52306c]
mov eax, esi
pop esi
add esp, 0xc
ret 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 4
push 0
push str.GlobalUserOffline
push edx
call dword [0x523068]
mov eax, dword [esp + 4]
push eax
call dword [0x52306c]
call fcn.00477360
push 0xffffffffffffffff
push 0
push 1
push 8
push 0x207
call fcn.0041d1e0
mov ecx, eax
call fcn.0041d8e0
mov eax, esi
pop esi
add esp, 0xc
ret 4
Function at 0x48cbe0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xa2c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
mov ebp, dword [0x52376c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x58bcc8]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x220]
push eax
push 0x1c
push ecx
call ebp
mov eax, dword [0x58bcc8]
lea edx, [esp + 0x424]
push 0x104
push edx
push 0x14
push eax
call ebp
lea ecx, [esp + 0x21c]
push ecx
call fcn.0043f840
mov eax, dword [esp + 0xa44]
lea edx, [esp + 0x18]
push 0x104
push edx
push eax
call fcn.0043fc90
push 0
push 0
push 0x80802
lea ecx, [esp + 0x30]
push 0x560690
lea edx, [esp + 0x23c]
push ecx
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x448]
push edx
mov edx, dword [0x58bccc]
push eax
push ecx
push edx
call fcn.0043f9f0
add esp, 0x34
test eax, eax
je 0x48cd91
lea eax, [esp + 0x14]
push 0x5580e4
push eax
xor edi, edi
call dword [0x5234ec]
mov esi, eax
add esp, 8
test esi, esi
je 0x48cd56
push esi
push 1
lea ecx, [esp + 0x18]
push 2
push ecx
mov dword [esp + 0x20], 0xfeff
call dword [0x5234e8]
mov edx, dword [esp + 0xa50]
push esi
push edx
call dword [0x523564]
add esp, 0x18
cmp eax, 0xffffffff
je 0x48ccec
mov edi, 1
push esi
call dword [0x5234e4]
add esp, 4
test edi, edi
je 0x48cd56
lea eax, [esp + 0x14]
push eax
push 0x18
call fcn.0049b200
add esp, 4
lea ecx, [esp + 0x630]
push eax
push 0x208
push ecx
call dword [0x52346c]
mov eax, dword [ebx + 0x60]
add esp, 0x10
mov word [esp + 0xa3a], 0
mov edx, dword [eax + 0xef0]
lea ecx, [eax + 0xef0]
lea eax, [esp + 0x62c]
push 0x7d0
push eax
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa2c
ret 4
cmp word [0x56c344], 0
jne 0x48cd75
mov ecx, dword [0x58bcc8]
push 0x104
push 0x56c344
push 0x32
push ecx
call ebp
push 0x10
push 0x56c344
push 0x1d
call fcn.0049b200
mov edx, dword [ebx + 4]
add esp, 4
push eax
push edx
call dword [0x5238a8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa2c
ret 4

Function at 0x48d4b0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1250
call fcn.0051c5b0
mov ax, word [0x56bc90]
push ebx
push esi
mov ebx, ecx
push edi
mov word [esp + 0x214], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x216]
push 0x8e
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0049b200
mov esi, dword [0x52346c]
add esp, 4
lea ecx, [esp + 0x214]
push eax
push 0x5384a4
push 0x823
push ecx
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
add esp, 0x10
mov word [esp + 0xc], 0
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
push str.Import.exe
push 0x56bf34
push 0x538c6c
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0043f210
add esp, 0x1c
test eax, eax
je 0x48d56d
push 5
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0
call dword [0x523644]
pop edi
pop esi
pop ebx
add esp, 0x1250
ret
mov edx, dword [ebx + 4]
push 0
push 0
push 0
push 0x6401
push edx
push 0x2710
push 0
push 0
push 1
push 0x56bc90
lea eax, [esp + 0x23c]
push 0
push eax
call fcn.004786a0
add esp, 0x30
pop edi
pop esi
pop ebx
add esp, 0x1250
ret
Function at 0x48e590
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x2c
mov eax, dword [0x5868f4]
push ebp
push esi
mov esi, ecx
test eax, eax
push edi
mov dword [esp + 0x10], esi
je 0x48e731
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x48e5c2
mov eax, dword [esi + 0x64]
test eax, eax
mov dword [esp + 0x3c], eax
je 0x48e731
mov edi, eax
cmp dword [edi + 0x50], 2
jbe 0x48e731
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], 0
test ebp, ebp
jne 0x48e5f8
mov eax, dword [esi + 4]
mov dword [esp + 0xc], 1
push eax
call dword [0x523758]
mov ebp, eax
test ebp, ebp
je 0x48e731
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ebx
push ecx
push edx
call dword [0x52378c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push ebp
call dword [0x5230e0]
mov ebx, eax
push ebp
mov dword [esp + 0x48], ebx
call dword [0x5230f4]
mov esi, eax
push ebx
push esi
call dword [0x5230fc]
lea edx, [esp + 0x1c]
push 6
push edx
push esi
mov dword [esp + 0x24], eax
call dword [0x523790]
mov edi, dword [edi + 0x562c]
test edi, edi
jne 0x48e65e
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x48e65e
call fcn.0041cb30
mov edi, eax
mov eax, dword [0x5bd9e0]
test eax, eax
je 0x48e6ba
test edi, edi
je 0x48e6ba
push edi
call dword [0x5237ac]
test eax, eax
je 0x48e6ba
push edi
call dword [0x523758]
mov ebx, eax
test ebx, ebx
je 0x48e6b6
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [0x52378c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push ebx
push edx
push eax
push 0
push 0
push esi
call dword [0x5230e4]
push ebx
push edi
call dword [0x523768]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x48e6d4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.0048e7d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0xcc0020
push 0
push 0
push esi
push eax
push ecx
push 0
push 0
push ebp
call dword [0x5230e4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48e703
push eax
push esi
call dword [0x5230fc]
test ebx, ebx
je 0x48e70e
push ebx
call dword [0x523100]
test esi, esi
pop ebx
je 0x48e71a
push esi
call dword [0x523104]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x48e731
mov edx, dword [esp + 0x10]
push ebp
mov eax, dword [edx + 4]
push eax
call dword [0x523768]
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 8

Function at 0x491d20
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
push ebp
lea ebx, [esi + 0x3ab0]
push 0x5384a4
push 0x103
push ebx
mov dword [esi + 0x3ec0], eax
call dword [0x52346c]
add esp, 0x10
lea edi, [esi + 0x3cb8]
push ebp
push 0x5384a4
push 0x103
push edi
call dword [0x52346c]
add esp, 0x10
push edi
call dword [0x523728]
push 1
push edi
call fcn.0043f390
add esp, 8
push ebx
mov ebx, dword [0x523704]
call ebx
test eax, eax
je 0x491da5
push edi
call ebx
test eax, eax
je 0x491da5
mov ecx, esi
call fcn.00491c90
mov ecx, esi
call fcn.00491f80
pop edi
pop esi
pop ebp
pop ebx
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x495f60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51f888
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
test ebp, ebp
je 0x4960e8
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4960e8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4960e8
mov eax, dword [esp + 0x30]
cmp dword [eax], 0
jbe 0x4960e8
mov eax, dword [ebp + 0x21c]
lea edi, [ebp + 0x21c]
push esi
push eax
lea ebx, [ebp + 0x20c]
call dword [0x523478]
add esp, 8
test eax, eax
jne 0x495fd3
mov esi, dword [ebp + 0x220]
jmp 0x49603f
push esi
push esi
call dword [0x523394]
push eax
mov ecx, edi
call fcn.00439580
push esi
lea ecx, [esp + 0x24]
call fcn.0043df00
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x20], 0
call fcn.00497cf0
mov eax, dword [esp + 0x20]
mov edx, dword [0x537120]
mov esi, dword [esp + 0x28]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x496039
add eax, 0xfffffff4
push eax
call dword [0x5232bc]
test eax, eax
jg 0x496039
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.0051c55a
add esp, 4
mov dword [ebp + 0x220], esi
cmp esi, dword [ebx + 4]
je 0x4960e8
mov esi, dword [esi + 0x10]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 0xc]
jae 0x4960e8
mov eax, dword [esi + 4]
test ecx, ecx
mov eax, dword [eax]
jle 0x49609c
mov edx, dword [0x583738]
mov esi, ecx
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x496080
mov eax, dword [ecx]
cmp eax, edx
je 0x496097
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x496076
jmp 0x496097
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x496092
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x496088
cmp dword [eax + 8], ecx
je 0x496099
mov eax, ecx
dec esi
jne 0x496069
mov ecx, dword [eax + 0x10]
mov esi, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
push ecx
push edx
push 0x5641f4
push eax
push edi
call dword [0x52346c]
mov ecx, dword [esi]
push edi
mov word [edi + ecx*2 - 2], 0
call dword [0x52345c]
mov dword [esi], eax
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x4996b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0xc
cmp eax, 3
je 0x499745
cmp eax, 1
jne 0x4996ca
xor eax, eax
add esp, 0xc
ret
lea eax, [esp]
mov dword [esp + 4], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
call dword [0x523060]
test eax, eax
jne 0x499745
mov eax, dword [esp]
test eax, eax
je 0x499745
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push 0
push 0
push str.ProxyEnable
push eax
mov dword [esp + 0x1c], 4
call dword [0x523064]
mov eax, dword [esp]
push eax
call dword [0x52306c]
mov eax, dword [esp + 8]
test eax, eax
jne 0x499745
xor eax, eax
add esp, 0xc
ret
mov eax, 1
add esp, 0xc
ret
Function at 0x49a450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51faa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
mov dword [edi], 0x5275c4
mov eax, dword [edi + 0x28]
lea esi, [edi + 0x24]
push eax
mov dword [esp + 0x30], 1
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.00413590
mov eax, dword [esi + 4]
push eax
call fcn.0051c55a
mov ebp, dword [0x5233d8]
xor ebx, ebx
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x10]
xor esi, esi
call ebp
mov eax, dword [0x56fecc]
dec eax
mov dword [0x56fecc], eax
jne 0x49a4d1
mov esi, dword [0x56fec8]
mov dword [0x56fec8], ebx
lea ecx, [esp + 0x10]
call dword [0x5233d4]
cmp esi, ebx
je 0x49a4e8
push esi
call fcn.0051c55a
add esp, 4
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x14]
push eax
mov byte [esp + 0x30], bl
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0045a620
mov eax, dword [esi + 4]
push eax
call fcn.0051c55a
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x10]
xor esi, esi
call ebp
mov eax, dword [0x579368]
dec eax
mov dword [0x579368], eax
jne 0x49a535
mov esi, dword [0x579364]
mov dword [0x579364], ebx
lea ecx, [esp + 0x10]
call dword [0x5233d4]
cmp esi, ebx
je 0x49a54c
push esi
call fcn.0051c55a
add esp, 4
mov ecx, dword [edi + 0x10]
lea esi, [edi + 4]
cmp ecx, ebx
mov dword [esp + 0x2c], 0xffffffff
mov edi, dword [esi + 4]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
je 0x49a5a0
mov ecx, eax
cmp eax, ecx
jne 0x49a5a0
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.00413f90
mov eax, dword [esi + 4]
mov ecx, dword [0x56fec8]
lea edx, [esp + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov dword [esi + 0xc], ebx
push edx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.004b9ff0
jmp 0x49a5c8
cmp eax, edi
je 0x49a5c8
lea eax, [esp + 0x1c]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00459e80
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00413b30
cmp dword [esp + 0x10], edi
jne 0x49a5a4
mov eax, dword [esi + 4]
push eax
call fcn.0051c55a
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
lea ecx, [esp + 0x14]
xor esi, esi
call ebp
mov eax, dword [0x56fecc]
dec eax
mov dword [0x56fecc], eax
jne 0x49a5fb
mov esi, dword [0x56fec8]
mov dword [0x56fec8], ebx
lea ecx, [esp + 0x14]
call dword [0x5233d4]
cmp esi, ebx
je 0x49a612
push esi
call fcn.0051c55a
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret