joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c640
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
push edx
push eax
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x44c7f9
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x44c7d6
push ebx
push ebp
mov eax, dword [edi + 0x14]
test eax, eax
je 0x44c6ae
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c6a0
sub eax, edx
lea ebx, [eax + 1]
jmp 0x44c6b0
xor ebx, ebx
mov eax, dword [edi + 4]
cmp eax, 2
jne 0x44c6bd
lea ebp, [eax + 0xe]
jmp 0x44c6c9
cmp eax, 0x17
jne 0x44c763
lea ebp, [eax + 5]
cmp dword [edi + 0x18], 0
je 0x44c763
mov eax, dword [edi + 0x10]
test eax, eax
je 0x44c763
cmp eax, ebp
jb 0x44c763
lea edx, [ebx + ebp + 0x20]
push edx
call dword [0x7c6020]
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x44c770
mov ecx, dword [edi]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x18]
push ebp
push ecx
push eax
call fcn.004cfb70
add esp, 0xc
test ebx, ebx
je 0x44c749
mov eax, dword [esi + 0x18]
add eax, ebp
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x14]
push ebx
push ecx
push eax
call fcn.004cfb70
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x44c754
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44c75f
mov dword [eax + 0x1c], esi
mov dword [esp + 0x18], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x44c693
jmp 0x44c778
mov dword [esp + 0x14], 8
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x44c789
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [esp + 0xc], 0
je 0x44c7cf
mov eax, dword [esp + 8]
test eax, eax
je 0x44c7b3
jmp 0x44c7a0
mov esi, dword [eax + 0x1c]
push eax
call dword [0x7c6024]
add esp, 4
mov eax, esi
test esi, esi
jne 0x44c7a0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
pop edi
mov dword [eax], edx
mov eax, dword [esp + 8]
pop esi
add esp, 0x10
ret
cmp dword [esp + 8], 0
jne 0x44c7e9
push 0x2af9
mov dword [esp + 0x10], 0x2af9
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 8]
pop edi
mov dword [eax], edx
mov eax, dword [esp + 8]
pop esi
add esp, 0x10
ret
Function at 0x450fc0
Capabilities:
Move file

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0044a8a0
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
push edx
mov dword [esp + 0x28], ecx
call fcn.004fb31b
mov esi, eax
mov eax, dword [esp + 0x44]
push eax
call fcn.004fb31b
add esp, 0xc
push 1
push eax
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x451078
jmp 0x451010
lea ecx, [esp + 0x24]
push ecx
call fcn.0044a8a0
mov edx, dword [esp + 0x24]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0044a940
add esp, 0x20
test edx, edx
ja 0x4510a0
jb 0x45105e
cmp eax, 0x3e8
ja 0x4510a0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
push 1
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x451010
test esi, esi
je 0x451085
push esi
call fcn.004cf064
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x451096
push eax
call fcn.004cf064
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
test esi, esi
je 0x4510ad
push esi
call fcn.004cf064
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4510be
push eax
call fcn.004cf064
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
Function at 0x4516c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1b8
mov eax, dword [0x7c9564]
xor eax, esp
mov dword [esp + 0x1b4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
mov dword [esp + 0x18], esi
test eax, eax
je 0x4516eb
cmp dword [eax + 0xf0], 0
jne 0x451705
call fcn.004fe1e0
test eax, eax
je 0x45171d
mov esi, dword [esi + 0x70]
test esi, esi
je 0x451705
mov dword [esi + 0xf0], 1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.004d0e4d
add esp, 0x1b8
ret
mov esi, dword [esi + 0x620]
test esi, esi
je 0x45173e
push 0x400
push esi
call fcn.004ff3e0
add esp, 8
call fcn.004fe1e0
test eax, eax
jne 0x451705
push ebx
push ebp
push edi
mov esi, 2
lea edi, [esp + 0x84]
mov dword [esp + 0x20], 4
lea eax, [esp + 0x34]
push eax
call fcn.0044a8a0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
push 0
push 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.0044a310
add esp, 0xc
push ebp
push ebx
lea eax, [esi - 1]
push 0
push eax
call fcn.004d3110
lea ecx, [esp + 0x74]
mov ebx, esi
imul ebx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.0044a8a0
mov eax, dword [eax + 8]
cdq
mov dword [esp + 0x34], edx
lea edx, [esp + 0x68]
push edx
mov ebp, eax
call fcn.0044a8a0
mov ecx, dword [esp + 0x38]
add esp, 8
add ebp, dword [eax]
push 0
adc ecx, dword [eax + 4]
lea edx, [esi + 1]
push edx
push ecx
push ebp
mov dword [esp + 0x38], edx
call fcn.004d3110
shld edx, eax, 8
xor dword [esp + 0x14], edx
shl eax, 8
xor dword [esp + 0x10], eax
lea eax, [esp + 0x44]
push eax
call fcn.0044a8a0
lea ecx, [esp + 0x58]
push ecx
lea ebp, [eax + 8]
call fcn.0044a8a0
mov edx, dword [ebp]
add edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esi, 2
imul edx, esi
mov esi, dword [esp + 0x30]
shl edx, 0x10
mov dword [edi], eax
xor ebx, edx
mov edx, dword [esp + 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], edx
add esp, 8
add edi, 0x10
dec dword [esp + 0x20]
jne 0x451755
fld qword [0x72d328]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x8c]
push 0x40
push eax
call fcn.004fe0f0
add esp, 0x10
call fcn.004fe1e0
test eax, eax
je 0x451741
lea ecx, [esp + 0xc4]
push pe_nt_image_headers32
push ecx
mov byte [esp + 0xcc], 0
call fcn.004ff7a0
add esp, 8
cmp byte [esp + 0xc4], 0
pop edi
pop ebp
pop ebx
je 0x4518ad
lea edx, [esp + 0xb8]
push 0x400
push edx
call fcn.004ff3e0
add esp, 8
call fcn.004fe1e0
test eax, eax
jne 0x451705
mov eax, dword [esp + 0x18]
push str.libcurl_is_now_using_a_weak_random_seed_
push eax
call fcn.0042c140
add esp, 8
call fcn.004fe1e0
mov ecx, dword [esp + 0x1b8]
neg eax
sbb eax, eax
and eax, 0xffffffdd
pop esi
xor ecx, esp
add eax, 0x23
call fcn.004d0e4d
add esp, 0x1b8
ret
Function at 0x458250
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.004d0660
add esp, 0x18
test eax, eax
je 0x458273
cmp eax, 0xffffffff
jne 0x458275
xor eax, eax
ret

Function at 0x4582c0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4582d2
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0xec]
ret
push esi
push 0
push 2
push 0x17
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
jne 0x4582ef
xor esi, esi
xor eax, eax
test esi, esi
setg al
pop esi
ret
push eax
mov esi, 1
call dword [sym.imp.WSOCK32.dll_closesocket]
xor eax, eax
test esi, esi
setg al
pop esi
ret

Function at 0x458310
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 8]
cmp byte [eax + 0x100], 2
jne 0x458361
mov eax, dword [esp + 4]
test eax, eax
je 0x45832f
mov ecx, dword [eax + 0x70]
mov eax, dword [ecx + 0xec]
ret
push esi
push 0
push 2
push 0x17
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
jne 0x45834c
xor esi, esi
xor eax, eax
test esi, esi
setg al
pop esi
ret
push eax
mov esi, 1
call dword [sym.imp.WSOCK32.dll_closesocket]
xor eax, eax
test esi, esi
setg al
pop esi
ret
mov eax, 1
ret
Function at 0x45e1d0
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WSOCK32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x45e202
push 0x2e
push esi
call fcn.004cd150
add esp, 8
test eax, eax
je 0x45e200
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
ret
Function at 0x463150
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x463196
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.00427310
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x10
jne 0x4631f3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x463203
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x463214
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x463220
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x7c6020]
mov edi, eax
add esp, 4
test edi, edi
jne 0x463245
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x46328c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x463290
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x4632ec
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x4632b3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x463328
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x730120
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x730121
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x4632f7
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4c3f31
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c3f8b
cmp dword [ebp + 0x10], 1
je 0x4c3f70
cmp dword [ebp + 0x10], 2
je 0x4c3f70
push 0xd
pop eax
jmp 0x4c3f8b
mov eax, dword [ebp - 4]
test edi, edi
je 0x4c3f87
test eax, eax
je 0x4c3f84
cmp byte [eax + edi - 1], 0
je 0x4c3f87
jmp 0x4c3f6b
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x4c3fc3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push dword [ecx + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 5
je 0x4c4008
cmp byte [ebp + 0x18], 0
je 0x4c4008
test eax, eax
je 0x4c4008
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.004c76ce
push 0x7bf224
lea eax, [ebp - 0x3c]
push eax
call fcn.004d0d73
leave
ret 0x14

Function at 0x4c441a
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
lea eax, [ecx + 4]
sub esp, 0x3c
cmp dword [eax + 0x14], 0x10
jb 0x4c442b
mov eax, dword [eax]
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x4c4456
cmp eax, 2
je 0x4c4456
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.004c76ce
push 0x7bf224
lea eax, [ebp - 0x3c]
push eax
call fcn.004d0d73
leave
ret
Function at 0x4c4f30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x721fe9
call fcn.004d8f88
sub esp, 0x50
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
push edi
mov esi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.004c4a37
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
push eax
call fcn.004c4b69
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
sub eax, edi
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0xc], ebx
je 0x4c4f9d
push str._Default_
push dword [ebp + 0xc]
call fcn.004d8a83
pop ecx
pop ecx
test eax, eax
jne 0x4c4f9d
lea eax, [ebp + 0x10]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
jmp 0x4c4faa
lea eax, [ebp + 0x10]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
je 0x4c4fc2
cmp edi, ebx
jne 0x4c4ff5
cmp eax, ebx
jne 0x4c5006
push dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
call fcn.004c4b69
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
sub eax, edi
cmp eax, dword [ebp + 0x10]
jne 0x4c4ff2
lea eax, [ebp + 0x10]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x4c4ff5
push 8
pop eax
cmp eax, ebx
jne 0x4c5006
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4c502e
cmp eax, 5
je 0x4c5028
cmp byte [ebp + 0x14], bl
je 0x4c5028
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004c76ce
push 0x7bf224
lea eax, [ebp - 0x5c]
push eax
call fcn.004d0d73
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], ebx
push edi
lea ecx, [esi + 4]
call fcn.004c4cf7
lea ecx, [ebp - 0x20]
call fcn.004c475f
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4c5490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
mov esi, ecx
push eax
push dword [esi + 0x20]
mov dword [ebp - 4], pe_nt_image_headers32
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, edi
jne 0x4c54e4
mov ecx, esi
cmp dword [ebp - 4], edi
jne 0x4c54d3
push str._Default_
jmp 0x4c54da
lea eax, [ebp - 0x140]
push eax
call fcn.004019e8
inc dword [esi + 0x20]
jmp 0x4c54f5
cmp eax, 0x103
jne 0x4c54fb
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00401ba1
pop edi
mov eax, esi
pop esi
leave
ret
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.004c76ce
push 0x7bf224
lea eax, [ebp - 0x40]
push eax
call fcn.004d0d73
int3
Function at 0x4c5514
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x722037
call fcn.004d8f88
sub esp, 0x148
push ebx
push esi
lea eax, [ebp - 0x54]
push eax
xor ebx, ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x154]
mov esi, ecx
push eax
push dword [esi + 0x24]
mov dword [ebp - 0x10], pe_nt_image_headers32
push dword [esi + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x4c556a
lea eax, [ebp - 0x154]
push eax
lea ecx, [esi + 0x28]
call fcn.004019e8
inc dword [esi + 0x24]
mov byte [esi + 0x64], bl
jmp 0x4c55aa
cmp eax, 0x103
jne 0x4c55ba
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x28]
call fcn.00401ba1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.004c540c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004010ac
mov byte [esi + 0x64], 1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push ebx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004c76ce
push 0x7bf224
lea eax, [ebp - 0x4c]
push eax
call fcn.004d0d73
int3

Function at 0x4c5cab
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push 0x94
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.004d1020
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
sbb eax, eax
inc eax
leave
ret
Function at 0x4d0e4d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7c9564]
jne 0x4d0e57
repz ret
jmp fcn.004e4f83

Function at 0x4d473d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4d4764
call fcn.004d1bbc
mov dword [eax], esi
call fcn.004d1ba9
push 0x16
pop esi
mov dword [eax], esi
call fcn.004ddff6
mov eax, esi
jmp 0x4d47b9
test dword [ebp + 0xc], 0xfffffff9
jne 0x4d474a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4d4791
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004d1bcf
pop ecx
call fcn.004d1ba9
mov eax, dword [eax]
jmp 0x4d47b9
test al, 0x10
jne 0x4d47b7
test al, 1
je 0x4d47b7
test byte [ebp + 0xc], 2
je 0x4d47b7
call fcn.004d1bbc
mov dword [eax], 5
call fcn.004d1ba9
mov dword [eax], 0xd
jmp 0x4d4788
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4f4b97
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7c9564]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004e022f
and dword [ebp - 0x14], 0
cmp dword [0x7cdabc], 0
mov dword [ebp - 0x18], eax
jne 0x4f4c4a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4f4cf2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x741358
push ebx
call edi
test eax, eax
je 0x4f4cf2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x7cdabc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x7cdac0], eax
call edi
push eax
call esi
push 0x741318
push ebx
mov dword [0x7cdac4], eax
call edi
push eax
call esi
mov dword [0x7cdacc], eax
test eax, eax
je 0x4f4c4a
push 0x741300
push ebx
call edi
push eax
call esi
mov dword [0x7cdac8], eax
mov eax, dword [0x7cdac8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4f4ca3
cmp dword [0x7cdacc], ecx
je 0x4f4ca3
push eax
call esi
push dword [0x7cdacc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4f4ca3
test ebx, ebx
je 0x4f4ca3
call edi
test eax, eax
je 0x4f4c9a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4f4c9a
test byte [ebp - 8], 1
jne 0x4f4ca3
or dword [ebp + 0x10], 0x200000
jmp 0x4f4cd6
mov eax, dword [0x7cdac0]
cmp eax, dword [ebp - 0x18]
je 0x4f4cd6
push eax
call esi
test eax, eax
je 0x4f4cd6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f4cd6
mov eax, dword [0x7cdac4]
cmp eax, dword [ebp - 0x18]
je 0x4f4cd6
push eax
call esi
test eax, eax
je 0x4f4cd6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x7cdabc]
call esi
test eax, eax
je 0x4f4cf2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4f4cf4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0e4d
leave
ret