joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d8f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fa30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 4], bl
jne 0x40d992
mov edx, dword [0x5b520c]
mov eax, edx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d940
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.004046b0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
jb 0x40d964
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
jmp 0x40d96a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x44]
call fcn.00530e71
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], vtable.std::runtime_error.0
mov byte [ebp - 4], bl
push 0x59cfd0
lea eax, [ebp - 0x44]
push eax
call fcn.0053111d
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
jae 0x40da09
mov edx, dword [0x5b5220]
mov eax, edx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d9b2
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.004046b0
mov ebx, 2
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
jb 0x40d9db
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
jmp 0x40d9e1
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x44]
call fcn.00530e71
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], vtable.std::runtime_error.0
mov byte [ebp - 4], bl
push 0x59cfd0
lea ecx, [ebp - 0x44]
push ecx
call fcn.0053111d
cmp ecx, ebx
jbe 0x40da8b
sub eax, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], eax
mov edx, dword [ebp + 8]
mov al, byte [edx]
xor byte [esi + 0x23d], al
lea ecx, [esi + 0x18]
call fcn.004067e0
xor al, byte [esi + 0x23d]
lea ecx, [esi + 0x18]
mov byte [ebp - 0x31], al
call fcn.004067e0
mov bl, al
add bl, byte [ebp - 0x31]
mov ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [esi + 0x22c], ecx
jle 0x40da78
nop
lea ecx, [esi + 0x18]
call fcn.004067e0
lea ecx, [esi + 0x18]
xor bl, al
call fcn.004067e0
add bl, al
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, dword [esi + 0x22c]
jl 0x40da50
mov ecx, 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
mov byte [edx + eax], bl
add eax, ecx
sub dword [ebp - 0x38], ecx
mov dword [ebp + 8], eax
jne 0x40da16
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fff9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ba6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042e490
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x410dc9
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 1
lea ebx, [esi + 4]
mov dword [ebp - 0x14], ebx
call fcn.0042e490
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x410dfe
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov byte [ebp - 4], 4
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov byte [ebp - 4], 5
mov dword [esi + 8], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550b42
mov eax, dword fs:[0]
push eax
mov eax, 0x2044
call fcn.00532eb0
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2024], ecx
or esi, 0xffffffff
call fcn.0042e490
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414888
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2018], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x5bc068]
push ecx
lea edx, [ebp - 0x2018]
push str.SoftwareMicrosoft_s
push edx
call fcn.004019c0
push 0x2000
lea eax, [ebp - 0x2013]
push 0
push eax
mov dword [ebp - 0x2028], 0x2000
mov byte [ebp - 0x2014], 0
call fcn.0052f600
mov edx, dword [ebp - 0x2018]
add esp, 0x18
lea ecx, [ebp - 0x2020]
push ecx
push 1
xor edi, edi
push edi
push edx
push SysReAllocStringLen
mov dword [ebp - 0x202c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 0x2020]
test eax, eax
je 0x414a2c
lea ecx, [ebp - 0x2028]
push ecx
lea edx, [ebp - 0x2014]
push edx
lea ecx, [ebp - 0x202c]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414937
lea edi, [eax + 1]
mov edx, dword [ebp - 0x2020]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x414a2c
lea eax, [ebp - 0x2014]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414955
sub eax, edx
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.00407880
mov dword [ebp - 0x201c], eax
inc eax
push eax
call fcn.0042d6c3
mov ecx, dword [ebp - 0x201c]
inc ecx
push ecx
mov edi, eax
push 0
push edi
call fcn.0052f600
lea eax, [ebp - 0x2014]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x414996
lea edx, [ebp - 0x201c]
push edx
sub eax, ecx
push edi
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.00407890
add esp, 0x10
lea ecx, [ebp - 0x2050]
call fcn.00410270
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2050]
push ecx
mov ecx, dword [ebp - 0x2024]
push edi
add ecx, 4
mov byte [ebp - 0x2050], 1
call fcn.004120a0
neg eax
sbb esi, esi
and esi, 3
push edi
add esi, 0xfffffffe
call fcn.0042d6ce
add esp, 4
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2034]
mov dword [ebp - 0x2024], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2034]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414a55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret 4
Function at 0x416b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push 0xff
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.0052f600
push 0xff
lea ecx, [ebp - 0x203]
push 0
push ecx
mov byte [ebp - 0x204], 0
call fcn.0052f600
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x204]
add esp, 0x18
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x416b80
push esi
lea edx, [ebp - 0x104]
push str._InternetShortcut__r_nURL_s_r_n
push edx
call fcn.00531502
add esp, 0xc
test ebx, ebx
je 0x416c09
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416ba8
sub eax, edx
je 0x416c09
push edi
lea edi, [ebp - 0x104]
dec edi
jmp 0x416bc0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x416bc0
mov ecx, 5
mov esi, str.IconIndex0_r_nIconFile
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, ebx
movsb byte es:[edi], byte [esi]
mov ecx, eax
jmp 0x416be0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x416be0
lea edi, [ebp - 0x104]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x416bf2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416c33
push 0
lea ecx, [ebp - 0x208]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x104]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret
Function at 0x418e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebx
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
imul esi, esi, 0x3e8
mov dword [ebp - 4], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x418e4b
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x418e53
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, dword [ebp - 4]
cmp eax, esi
jbe 0x418e23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebx
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp - 4], eax
lea ecx, [ecx]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
je 0x418eb8
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x418ec0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, dword [ebp - 4]
cmp eax, esi
jbe 0x418e90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419010
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x420330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55282b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ba6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0041ffd0
xor edi, edi
mov dword [ebp - 4], edi
lea ebx, [esi + 0x28]
mov dword [esi], vtable.CHtmlIEEvents.0
mov dword [ebp - 0x14], ebx
call fcn.0042e490
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x42038d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420610
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5528d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ba6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
push eax
lea ecx, [edi + 0x28]
call fcn.00401f10
mov dword [edi + 0x2c], esi
lea esi, [edi + 0x30]
cmp dword [esi], 0
je 0x42066a
mov ecx, dword [edi + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4206a5
push esi
push 0x5908b8
push 4
push 0
push 0x5908d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [edi + 0x34]
push ecx
push eax
mov edx, dword [edx + 0x94]
call edx
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
push edx
push eax
mov eax, dword [ecx + 0xa4]
call eax
cmp dword [esi], 0
je 0x4206c4
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
mov ecx, edi
cmp dword [eax - 0xc], 0
je 0x4206ba
push eax
jmp 0x4206bf
push str.about:blank
mov eax, dword [edx + 0x7c]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x426240
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553c78
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, edx
lea esi, [eax + 1]
jmp 0x426280
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426280
push 0
sub eax, esi
push eax
push edx
push 0x10000001
call sub.urlmon.dll_UrlMkSetSessionOption
test eax, eax
jne 0x426322
push 0x3ff
push eax
mov byte [ebp - 0x410], al
lea eax, [ebp - 0x40f]
push eax
mov dword [ebp - 0x414], 0x3ff
call fcn.0052f600
add esp, 0xc
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x410]
push edx
push 0
call sub.urlmon.dll_ObtainUserAgentString
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
push ecx
call fcn.00531106
add esp, 8
test eax, eax
sete al
test al, al
je 0x426322
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42631b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42634a
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret
Function at 0x4263a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553ce3
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x113]
push 0
mov dword [ebp - 0x11c], 0
push eax
mov esi, ecx
mov dword [ebp - 0x120], edi
mov byte [ebp - 0x114], 0
call fcn.0052f600
add esp, 0xc
call fcn.0042e490
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x426419
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x10c]
push ecx
lea edx, [ebp - 0x118]
push str._sdummy.htm
push edx
call fcn.004019c0
mov esi, dword [ebp - 0x118]
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll__lcreat]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
lea eax, [ebp - 0x114]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_FindExecutableA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x114]
push ecx
mov ecx, edi
call fcn.00401f50
mov dword [ebp - 0x11c], 1
mov dword [ebp - 4], 0
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4264b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret 4
Function at 0x4291c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554788
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ba6c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043ebd5
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.0044d44e
mov ebx, eax
test ebx, ebx
je 0x42929f
call fcn.0042e490
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429225
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
push 0x65
call fcn.0042e3a4
test eax, eax
je 0x429254
push 0x65
push eax
lea ecx, [ebp - 0x10]
call fcn.00401730
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], 0
je 0x42927c
mov ecx, dword [ebx + 4]
push 0
push 0
push 0x800
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov edx, dword [ebx + 4]
push edi
push 0x10
push 0
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42929f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 1
push 0x80
push edx
call edi
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
push 1
lea ecx, [esi + 0xa4]
call fcn.0042d520
push 1
lea ecx, [esi + 0x118]
call fcn.0042d520
mov edx, dword [esi + 0x20]
push 0
push 0xbb8
push 0x65
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x428380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
mov ecx, esi
call fcn.0043a973
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554830
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5ba6c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x429671
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
call fcn.0042e490
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4295a1
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x28]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push esi
push SysReAllocStringLen
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4295e4
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x1a]
movzx edx, word [ebp - 0x1e]
push ecx
push edx
lea eax, [ebp - 0x24]
push str._d__d
push eax
call fcn.004019c0
mov esi, dword [ebp - 0x24]
xor eax, eax
add esp, 0x10
cmp esi, ebx
setne al
cmp eax, ebx
jne 0x429621
push 0x80004005
call fcn.00401000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push ebx
push str.tga_loaddate
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov byte [ebp - 4], bl
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x42966e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f5f0
mov esp, ebp
pop ebp
ret 8

Function at 0x42ff4e
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x42ff79
call fcn.00445ecc
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x42ff9c
push eax
push dword [esi + 4]
call fcn.0042fed4
push esi
push eax
mov ecx, 0x5bc474
call fcn.0042fb7d
mov eax, esi
pop esi
pop ebp
ret 0x18