joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440e30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0x10
push edi
lea ecx, [ebp - 8]
or edi, 0xffffffff
push ecx
mov eax, dword [esi + 0x158]
lea ecx, [ebp - 0x18]
mov ebx, dword [esi]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x440e87
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
mov edx, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042bb70
cmp edi, 0xffffffff
jne 0x440eba
push str.Error_accept__ing_server_connect
push ebx
call fcn.0042d320
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
push str.Connection_accepted_from_server_n
push ebx
call fcn.0042d2a0
add esp, 8
mov dword [esi + 0x158], edi
mov edx, 1
mov ecx, edi
call fcn.0044a920
mov byte [esi + 0x165], 1
mov eax, dword [ebx + 0x198]
test eax, eax
je 0x440f26
push 1
push edi
push dword [ebx + 0x19c]
call eax
add esp, 0xc
test eax, eax
je 0x440f26
mov edx, edi
mov ecx, esi
call fcn.0042bb70
mov dword [esi + 0x158], 0xffffffff
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x442f30
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, edx
mov eax, 0x51eb851f
imul ebx
push esi
sar edx, 5
xor esi, esi
mov eax, edx
push edi
shr eax, 0x1f
mov edi, ecx
add eax, edx
mov ecx, dword [edi]
cmp eax, 2
je 0x442f6a
push str.Couldnt_set_desired_mode
push ecx
call fcn.0042d320
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ebx, 0xc8
je 0x442f81
push ebx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.0042d2a0
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x442f97
mov ecx, edi
call fcn.00442070
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x442faa
mov ecx, edi
call fcn.004420c0
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x442fbd
mov ecx, edi
call fcn.004421f0
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x442fcb
mov ecx, edi
call fcn.00442200
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x445900
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x44590b
jmp dword [eax*4 + 0x445964]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
mov al, cl
ret

Function at 0x445ac0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x198]
mov esi, ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x445b0c
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.0042d320
add esp, 0xc
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x445b34
shr eax, 8
test al, al
jne 0x445b34
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.0042d320
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 2
pop esi
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x445d30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
mov esi, ecx
mov byte [ebp - 6], al
push 3
lea eax, [ebp - 8]
mov byte [ebp - 8], 0xff
push eax
push dword [esi + 0x154]
mov edi, dword [esi]
mov ebx, edx
mov byte [ebp - 7], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x445d83
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0042d320
add esp, 0xc
push dword [ebp + 8]
mov ecx, dword [esi]
mov edx, str.SENT
push ebx
call fcn.00445c30
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret

Function at 0x445fd0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov eax, dword [ebx]
mov edi, dword [eax + 0x114]
mov eax, dword [edi + esi*4 + 8]
sub eax, 0
je 0x44606c
sub eax, 2
je 0x446022
dec eax
jne 0x44604e
mov eax, dword [edi + esi*4 + 0x408]
sub eax, 0
je 0x446016
dec eax
jne 0x44604e
mov dword [edi + esi*4 + 8], 1
mov dword [edi + esi*4 + 0x408], eax
pop edi
pop esi
pop ebx
ret
mov dword [edi + esi*4 + 8], 0
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi + esi*4 + 0x408]
sub eax, 0
je 0x446052
dec eax
jne 0x44604e
mov dword [edi + esi*4 + 8], 3
mov dword [edi + esi*4 + 0x1008], eax
push esi
mov edx, 0xfc
call fcn.00445d30
add esp, 4
pop edi
pop esi
pop ebx
ret
cmp dword [edi + esi*4 + 0x1808], 1
mov dword [edi + esi*4 + 8], 1
jne 0x44604e
pop edi
pop esi
pop ebx
jmp fcn.004469d0
cmp dword [edi + esi*4 + 0x808], 1
jne 0x4460a2
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.00445d30
add esp, 4
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x44604e
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.004469d0
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x446040
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.00445d30
add esp, 4
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.004469d0
Function at 0x446730
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7f
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x910], edi
call fcn.0045a7c0
add esp, 0xc
mov byte [ebp - 0x88], 0
lea eax, [ebp - 0x87]
push 0x7f
push 0
push eax
call fcn.0045a7c0
mov ebx, dword [edi]
add esp, 0xc
mov edx, 0x3c
mov dword [ebp - 0x90c], ebx
mov ecx, ebx
mov esi, dword [ebx + 0x114]
mov eax, dword [esi + 0x1eb4]
sub eax, dword [esi + 0x1eb0]
add eax, 2
push eax
lea eax, [esi + 0x1cb0]
push eax
call fcn.00446160
mov eax, dword [esi + 0x1eb0]
add esp, 8
movzx ecx, byte [eax]
inc eax
mov dword [esi + 0x1eb0], eax
cmp ecx, 0x18
je 0x446928
cmp ecx, 0x23
je 0x446904
cmp ecx, 0x27
jne 0x4469ba
push 0
push ecx
push 0xfa
push 0xff
push 0x4fb48c
lea eax, [ebp - 0x908]
push 0x800
push eax
call fcn.004390c0
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x4468a1
nop
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446827
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x44688f
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
push str._127_____127s
push edx
call fcn.004581da
add esp, 0x10
test eax, eax
je 0x44688f
lea eax, [ebp - 0x88]
push eax
push 1
lea eax, [ebp - 0x108]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x908]
add eax, edi
push eax
call fcn.004390c0
add esp, 0x1c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x446820
mov ebx, dword [ebp - 0x90c]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push 0x4fb4b4
push eax
lea eax, [ebp - 0x908]
add eax, edi
push eax
call fcn.004390c0
add esp, 0x14
lea eax, [ebp - 0x908]
add edi, 2
push 0
push edi
push eax
mov eax, dword [ebp - 0x910]
push dword [eax + 0x154]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4468fc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0042d320
add esp, 0xc
lea eax, [edi - 2]
jmp 0x4469a3
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446910
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x446949
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446933
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x908]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.004390c0
add esp, 0x28
lea eax, [ebp - 0x908]
push 0
push esi
push eax
push dword [edi + 0x154]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x4469a0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0042d320
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x906]
mov edx, 0x3e
push eax
mov ecx, ebx
call fcn.00446160
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x447520
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push ecx
call fcn.0045a21c
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x447581
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x108], 0
je 0x447581
lea eax, [ebp - 0x108]
push eax
call dword [0x50453c]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x44b300
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], ebx
mov dword [esi], ebx
lea esi, [ebp - 8]
push esi
push eax
push edx
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x44b471
push edi
mov edi, dword [ebp - 8]
test edi, edi
je 0x44b45d
cmp dword [edi + 4], 2
jne 0x44b3fc
cmp dword [edi + 0x18], 0
je 0x44b3fc
mov eax, dword [edi + 0x10]
test eax, eax
je 0x44b3fc
cmp eax, 0x10
jb 0x44b3fc
push 0x20
call dword [0x504534]
mov esi, eax
add esp, 4
test esi, esi
je 0x44b452
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [0x504534]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x44b441
mov ecx, dword [edi + 0x18]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [eax], xmm0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x44b3ea
push eax
call dword [0x50453c]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x44b427
mov eax, dword [ebp - 0xc]
test ebx, ebx
cmove ebx, esi
test eax, eax
je 0x44b3f9
mov dword [eax + 0x1c], esi
mov dword [ebp - 0xc], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x44b346
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
test eax, eax
je 0x44b418
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
je 0x44b459
mov ecx, ebx
call fcn.0044b2c0
xor ebx, ebx
jmp 0x44b469
push dword [esi + 0x18]
mov edi, 8
call dword [0x504548]
push esi
call dword [0x504548]
add esp, 8
jmp 0x44b40a
push esi
mov edi, 8
call dword [0x504548]
add esp, 4
jmp 0x44b40a
mov edi, 8
jmp 0x44b40a
test ebx, ebx
jne 0x44b469
mov edi, 0x2af9
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret

Function at 0x44b6b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push edx
push 0x42c670
push 0
push 0
call fcn.00455e55
add esp, 0x18
test eax, eax
je 0x44b6cf
cmp eax, 0xffffffff
jne 0x44b6d1
xor eax, eax
ret
Function at 0x44ce10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x44ce3b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x44ce2e
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 8]
push 1
push edi
call ecx
jmp 0x44ce6d
cmp dword [esi + 8], 0
jne 0x44ce5f
push 0x4f64d8
push dword [eax + 8]
call fcn.00456b0f
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x44ce5f
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call fcn.00457039
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x44ce8f
mov eax, dword [esi + 8]
test eax, eax
je 0x44ce89
push eax
call fcn.00456d6b
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x44f740
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x44f772
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
pop ebp
ret

Function at 0x450820
Capabilities:
Get hostname

Disassembly:
push esi
mov esi, ecx
push 0x401
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + 0x400], 0
test eax, eax
jne 0x450851
push 0x2e
push esi
call fcn.00458270
add esp, 8
test eax, eax
je 0x45084f
mov byte [eax], 0
xor eax, eax
pop esi
ret
Function at 0x4511d0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 8]
push esi
push edi
push 0xf0000000
push 1
push 0
push 0
push eax
mov esi, edx
mov dword [ebp - 0xc], 8
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x451263
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movdqu xmmword [ebp - 0x24], xmm0
lea edx, [ebp - 0x18]
mov word [ebp - 0x24], 0x208
mov ecx, ebx
mov dword [ebp - 0x20], 0x6601
mov dword [ebp - 0x1c], 8
call fcn.00451140
mov ecx, edx
call fcn.004522f0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x451276
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x451400
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
push esi
mov esi, eax
mov dword [ebp - 8], eax
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x451420
sub esi, ecx
lea eax, [esi + esi]
push eax
call dword [0x504534]
mov edi, eax
add esp, 4
test edi, edi
jne 0x451450
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
mov ecx, edi
push esi
call fcn.00450a20
add esp, 4
lea eax, [ebp - 8]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4514ce
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4514c3
push 0
lea eax, [esi + esi]
mov dword [ebp - 0x10], 0x10
push eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push 2
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebx + 0x10], 0
push edi
mov byte [ebx + 0x14], 0
call dword [0x504548]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret
Function at 0x451780
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x2c
mov edi, edx
call dword [0x504534]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4517b5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00454efc
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], fcn.0044f740
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ecx + 8]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp ebx, 0x40
jbe 0x4517fd
push ecx
call dword [0x4f6440]
push ebx
push edi
push dword [esi + 4]
call dword [0x4f6444]
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 8
push edi
call dword [0x4f6448]
mov ebx, 0x10
add esp, 0x18
mov dword [ebp + 8], ebx
push dword [esi + 4]
call dword [0x4f6440]
push dword [esi + 8]
call dword [0x4f6440]
add esp, 8
xor eax, eax
test ebx, ebx
je 0x451860
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov edi, edi
movzx eax, byte [edi]
xor al, 0x36
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 4]
call dword [0x4f6444]
movzx eax, byte [edi]
lea edi, [edi + 1]
xor al, 0x5c
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push dword [esi + 8]
call dword [0x4f6444]
add esp, 0x18
dec ebx
jne 0x451820
cmp dword [ebp + 8], 0x40
jae 0x451896
mov eax, dword [ebp - 0x10]
mov edi, 0x40
sub edi, eax
jmp 0x451870
push 1
push 0x4f5895
push dword [esi + 4]
call dword [0x4f6444]
push 1
push 0x4f5896
push dword [esi + 8]
call dword [0x4f6444]
add esp, 0x18
dec edi
jne 0x451870
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00454efc
mov esp, ebp
pop ebp
ret

Function at 0x452660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caef8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x502770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x1c]
mov dword [ebp - 4], 0
cmp ecx, eax
je 0x4526a1
push 0xffffffffffffffff
push 0
push eax
call fcn.0041a730
lea ecx, [esi + 4]
lea eax, [ebp + 0xc]
cmp ecx, eax
je 0x4526b5
push 0xffffffffffffffff
push 0
push eax
call fcn.0041a730
mov eax, dword [ebp + 0x24]
push dword [esi + 0x50]
mov dword [esi + 0x64], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push esi
push 0x4528d0
push 0
push 0
call fcn.00455e55
add esp, 0x18
mov dword [esi + 0x4c], eax
push 0xffffffffffffffff
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
neg esi
sbb esi, esi
cmp dword [ebp + 0x20], 8
jb 0x452708
push dword [ebp + 0xc]
call fcn.00454ef7
add esp, 4
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x46d944
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x502770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045cf0b
mov dword [ebp - 0x14], eax
cmp dword [0x505d00], esi
jne 0x46da37
push 0x800
push esi
push 0x4d1e68
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46d9c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46db17
push esi
push esi
push 0x4d1e68
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46db17
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46db17
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x505d00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x505d04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4d1eb0
push edi
mov dword [0x505d08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x505d10], eax
test eax, eax
je 0x46da34
push 0x4d1ecc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x505d0c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46da5c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46da4f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46da71
push 4
pop eax
jmp 0x46db19
cmp dword [ebp - 0x14], esi
je 0x46da71
push dword [0x505d00]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46da56
mov eax, dword [0x505d0c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46dacf
cmp dword [0x505d10], edi
je 0x46dacf
push eax
call ebx
push dword [0x505d10]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46dacf
test eax, eax
je 0x46dacf
call ecx
test eax, eax
je 0x46dac4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46dac4
test byte [ebp - 8], 1
jne 0x46dacf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46daff
mov eax, dword [0x505d04]
cmp eax, edi
je 0x46dafc
push eax
call ebx
test eax, eax
je 0x46dafc
call eax
mov esi, eax
test esi, esi
je 0x46dafc
mov eax, dword [0x505d08]
cmp eax, edi
je 0x46dafc
push eax
call ebx
test eax, eax
je 0x46dafc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x505d00]
call ebx
test eax, eax
je 0x46db17
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46db19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00454efc
mov esp, ebp
pop ebp
ret