joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451350
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 0x45138a
push str.Couldnt_set_desired_mode
push ecx
call fcn.0043b0c0
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ebx, 0xc8
je 0x4513a1
push ebx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.0043b040
add esp, 0xc
mov eax, dword [ebp + 8]
cmp eax, 0x13
jne 0x4513b7
mov ecx, edi
call fcn.00450490
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0x4513ca
mov ecx, edi
call fcn.004504e0
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0x4513dd
mov ecx, edi
call fcn.00450610
mov esi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0x4513eb
mov ecx, edi
call fcn.00450620
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x453d20
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x453d2b
jmp dword [eax*4 + 0x453d84]
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 0x453ee0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x4cc1c0]
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 0x453f2c
push eax
push str.WSAStartup_failed___d_
push esi
call fcn.0043b0c0
add esp, 0xc
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [ebp - 0x198]
cmp al, 2
jne 0x453f54
shr eax, 8
test al, al
jne 0x453f54
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret
push str.insufficient_winsock_version_to_support_telnet
push esi
call fcn.0043b0c0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 2
pop esi
call fcn.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x454150
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4cc1c0]
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 0x4541a3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push edi
call fcn.0043b0c0
add esp, 0xc
push dword [ebp + 8]
mov ecx, dword [esi]
mov edx, str.SENT
push ebx
call fcn.00454050
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004654b1
mov esp, ebp
pop ebp
ret

Function at 0x4543f0
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 0x45448c
sub eax, 2
je 0x454442
dec eax
jne 0x45446e
mov eax, dword [edi + esi*4 + 0x408]
sub eax, 0
je 0x454436
dec eax
jne 0x45446e
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 0x454472
dec eax
jne 0x45446e
mov dword [edi + esi*4 + 8], 3
mov dword [edi + esi*4 + 0x1008], eax
push esi
mov edx, 0xfc
call fcn.00454150
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 0x45446e
pop edi
pop esi
pop ebx
jmp fcn.00454df0
cmp dword [edi + esi*4 + 0x808], 1
jne 0x4544c2
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.00454150
add esp, 4
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x45446e
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.00454df0
cmp dword [edi + esi*4 + 0x1808], 1
jne 0x454460
push esi
mov edx, 0xfb
mov dword [edi + esi*4 + 8], 1
call fcn.00454150
add esp, 4
mov edx, esi
mov ecx, ebx
pop edi
pop esi
pop ebx
jmp fcn.00454df0
Function at 0x454b50
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x914
mov eax, dword [0x4cc1c0]
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.00466700
add esp, 0xc
mov byte [ebp - 0x88], 0
lea eax, [ebp - 0x87]
push 0x7f
push 0
push eax
call fcn.00466700
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.00454580
mov eax, dword [esi + 0x1eb0]
add esp, 8
movzx ecx, byte [eax]
inc eax
mov dword [esi + 0x1eb0], eax
cmp ecx, 0x18
je 0x454d48
cmp ecx, 0x23
je 0x454d24
cmp ecx, 0x27
jne 0x454dda
push 0
push ecx
push 0xfa
push 0xff
push 0x4be794
lea eax, [ebp - 0x908]
push 0x800
push eax
call fcn.004474e0
mov esi, dword [esi + 0x1cac]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x454cc1
nop
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454c47
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x454caf
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
push str._127_____127s
push edx
call fcn.0048a6a0
add esp, 0x10
test eax, eax
je 0x454caf
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.004474e0
add esp, 0x1c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x454c40
mov ebx, dword [ebp - 0x90c]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push 0x4be7bc
push eax
lea eax, [ebp - 0x908]
add eax, edi
push eax
call fcn.004474e0
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 0x454d1c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0043b0c0
add esp, 0xc
lea eax, [edi - 2]
jmp 0x454dc3
lea edx, [esi + 0x1c28]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454d30
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x454d69
lea edx, [esi + 0x1c08]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x454d53
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.004474e0
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 0x454dc0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.0043b0c0
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x906]
mov edx, 0x3e
push eax
mov ecx, ebx
call fcn.00454580
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x455940
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ecx
call fcn.00486cae
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x4559a1
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x108], 0
je 0x4559a1
lea eax, [ebp - 0x108]
push eax
call dword [0x4cd674]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x459740
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4cc1c0]
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 0x4598b1
push edi
mov edi, dword [ebp - 8]
test edi, edi
je 0x45989d
cmp dword [edi + 4], 2
jne 0x45983c
cmp dword [edi + 0x18], 0
je 0x45983c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x45983c
cmp eax, 0x10
jb 0x45983c
push 0x20
call dword [0x4cd66c]
mov esi, eax
add esp, 4
test esi, esi
je 0x459892
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 [0x4cd66c]
add esp, 4
mov dword [esi + 0x18], eax
test eax, eax
je 0x459881
mov ecx, dword [edi + 0x18]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [eax], xmm0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x45982a
push eax
call dword [0x4cd674]
add esp, 4
mov dword [esi + 0x14], eax
test eax, eax
je 0x459867
mov eax, dword [ebp - 0xc]
test ebx, ebx
cmove ebx, esi
test eax, eax
je 0x459839
mov dword [eax + 0x1c], esi
mov dword [ebp - 0xc], esi
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x459786
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
test eax, eax
je 0x459858
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
je 0x459899
mov ecx, ebx
call fcn.00459700
xor ebx, ebx
jmp 0x4598a9
push dword [esi + 0x18]
mov edi, 8
call dword [0x4cd680]
push esi
call dword [0x4cd680]
add esp, 8
jmp 0x45984a
push esi
mov edi, 8
call dword [0x4cd680]
add esp, 4
jmp 0x45984a
mov edi, 8
jmp 0x45984a
test ebx, ebx
jne 0x4598a9
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.004654b1
mov esp, ebp
pop ebp
ret

Function at 0x459af0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push edx
push 0x43a420
push 0
push 0
call fcn.0046c098
add esp, 0x18
test eax, eax
je 0x459b0f
cmp eax, 0xffffffff
jne 0x459b11
xor eax, eax
ret
Function at 0x45b250
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 0x45b27b
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x45b26e
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 0x45b2ad
cmp dword [esi + 8], 0
jne 0x45b29f
push 0x4c01a8
push dword [eax + 8]
call fcn.0046bea8
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x45b29f
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 8]
push 1
push edi
call fcn.0046a9b4
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x45b2cf
mov eax, dword [esi + 8]
test eax, eax
je 0x45b2c9
push eax
call fcn.004681a9
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 0x45db80
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 0x45dbb2
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 0x45ec50
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 0x45ec81
push 0x2e
push esi
call fcn.0046b2a0
add esp, 8
test eax, eax
je 0x45ec7f
mov byte [eax], 0
xor eax, eax
pop esi
ret
Function at 0x45f600
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 [0x4cc1c0]
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 0x45f693
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.0045f570
mov ecx, edx
call fcn.00460720
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 0x45f6a6
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.004654b1
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.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x45f830
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 [0x4cc1c0]
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 0x45f850
sub esi, ecx
lea eax, [esi + esi]
push eax
call dword [0x4cd66c]
mov edi, eax
add esp, 4
test edi, edi
jne 0x45f880
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
mov ecx, edi
push esi
call fcn.0045ee50
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 0x45f8fe
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 0x45f8f3
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 [0x4cd680]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x45fbb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cc1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x2c
mov edi, edx
call dword [0x4cd66c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45fbe5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004654b1
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0xc]
mov dword [esi], fcn.0045db80
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 0x45fc2d
push ecx
call dword [0x4b4160]
push ebx
push edi
push dword [esi + 4]
call dword [0x4b4164]
mov edi, dword [esi + 8]
push dword [esi + 4]
add edi, 8
push edi
call dword [0x4b4168]
mov ebx, 0x10
add esp, 0x18
mov dword [ebp + 8], ebx
push dword [esi + 4]
call dword [0x4b4160]
push dword [esi + 8]
call dword [0x4b4160]
add esp, 8
xor eax, eax
test ebx, ebx
je 0x45fc90
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 [0x4b4164]
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 [0x4b4164]
add esp, 0x18
dec ebx
jne 0x45fc50
cmp dword [ebp + 8], 0x40
jae 0x45fcc6
mov eax, dword [ebp - 0x10]
mov edi, 0x40
sub edi, eax
jmp 0x45fca0
push 1
push 0x4a8c93
push dword [esi + 4]
call dword [0x4b4164]
push 1
push str._s.tmp
push dword [esi + 8]
call dword [0x4b4164]
add esp, 0x18
dec edi
jne 0x45fca0
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004654b1
mov esp, ebp
pop ebp
ret
Function at 0x460fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f6cd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4cc1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x18]
push 0xffffffffffffffff
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.0040bc90
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.0040bc90
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.0040bc90
lea ecx, [edi + 0x60]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x60]
push eax
mov byte [ebp - 4], 2
call fcn.0040bc90
lea ecx, [edi + 0x78]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x78]
push eax
mov byte [ebp - 4], 3
call fcn.0040bc90
lea ecx, [edi + 0x90]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
mov word [ecx], ax
push eax
mov byte [ebp - 4], 4
lea eax, [esi + 0x90]
push eax
call fcn.0040bc90
lea ecx, [edi + 0xa8]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xa8]
push eax
mov byte [ebp - 4], 5
call fcn.0040bc90
lea ecx, [edi + 0xc0]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xc0]
push eax
mov byte [ebp - 4], 6
call fcn.0040bc90
lea eax, [esi + 0xd8]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0xd8]
call fcn.00460e40
lea eax, [esi + 0xe8]
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0xe8]
call fcn.00460ef0
lea eax, [esi + 0x160]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x160]
call fcn.00460ef0
mov eax, dword [esi + 0x1d8]
mov dword [edi + 0x1d8], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4611e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f70e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4cc1c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0048c550
mov dword [edi], vtable.CUpdaterApp.0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.004639a0
mov dword [edi + 0x24], eax
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 2
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0040e3a0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], 0
mov word [edi + 0x34], ax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret