joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446bd0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x20
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
cmp eax, 2
jne 0x446cdf
mov eax, dword [edi + 0x4018]
test eax, eax
push esi
lea esi, [edi + 0x4014]
je 0x446cca
mov ecx, dword [esi + 8]
sub ecx, eax
je 0x446cca
test eax, eax
push ebx
jne 0x446c0b
xor ebx, ebx
jmp 0x446c10
mov ebx, dword [esi + 8]
sub ebx, eax
test eax, eax
je 0x446c1b
mov edx, dword [esi + 8]
sub edx, eax
jne 0x446c20
call fcn.004706c7
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
mov ecx, dword [esi + 4]
je 0x446c38
push 0
push ebx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
jmp 0x446c3b
or eax, 0xffffffff
mov edx, dword [esi + 4]
test edx, edx
pop ebx
jne 0x446c47
xor ecx, ecx
jmp 0x446c4c
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jne 0x446c70
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.00443e40
push 0
push 0
mov ecx, esi
call fcn.0045c610
pop esi
pop edi
add esp, 0x20
ret 4
test eax, eax
jle 0x446c68
test edx, edx
je 0x446c68
mov ecx, dword [esi + 8]
sub ecx, edx
cmp eax, ecx
jae 0x446c68
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040b950
mov ecx, eax
call fcn.0040b880
mov edi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040b950
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0045b5c0
pop esi
pop edi
add esp, 0x20
ret 4
mov ecx, dword [edi + 0xc]
push edi
push ecx
mov ecx, dword [edi + 4]
call fcn.00443e40
pop esi
pop edi
add esp, 0x20
ret 4
cmp eax, 1
jne 0x446c69
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push edx
mov dword [edi + 0x10], 2
call fcn.00443e40
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
push edi
push eax
call fcn.00444720
push 0
push 1
push 1
mov ecx, edi
call fcn.00445f30
pop edi
add esp, 0x20
ret 4
Function at 0x448130
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4a74af
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4c8698]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, ecx
lea eax, [esi + 8]
mov dword [esi], 0x4b179c
push eax
mov dword [esp + 0x18], esi
mov dword [esi + 4], 0x4b159c
call ebp
lea edi, [esi + 0x20]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1b4], ebx
call fcn.0041f760
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x2c]
mov ecx, edi
mov byte [esp + 0x1b4], 1
call fcn.0041f760
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [esp + 0x1b4], 2
call fcn.0041f760
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x350], ebx
mov byte [esi + 0x354], bl
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x370], ebx
mov dword [esi + 0x374], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
lea ecx, [esi + 0x38c]
push ecx
mov dword [esi + 0x388], 0x4b159c
call ebp
lea edi, [esi + 0x3a4]
mov ecx, edi
mov byte [esp + 0x1b4], 7
call fcn.00442790
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x1bc]
mov dword [esi + 0x3b0], eax
mov eax, dword [eax + 0x10]
add eax, 2
push eax
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x1b8], 8
call fcn.00442650
lea edi, [esi + 0x3cc]
mov byte [esi + 0x3c8], bl
mov eax, 0x447ff0
mov dword [edi], 0x4b0d34
mov dword [edi + 4], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
mov byte [edi + 0x18], 1
mov dword [esi + 0x3e8], ebx
lea edx, [esi + 0x400]
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
push edx
mov dword [esi + 0x3fc], 0x4b159c
call ebp
lea eax, [esp + 0x18]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
mov ecx, edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x24c], ebx
call fcn.00442730
mov eax, esi
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00470220
add esp, 0x1a4
ret 4
Function at 0x449110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a76b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 3
push 0x4b17d8
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00404230
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x34], 0
call fcn.00448d30
add esp, 0xc
cmp dword [esp + 0x1c], 0x10
jb 0x44918b
mov eax, dword [esp + 8]
push eax
call fcn.00470259
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x4491a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a76b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 3
push 0x4b17d8
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.00404230
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x34], 0
call fcn.00448c40
add esp, 0xc
cmp dword [esp + 0x1c], 0x10
jb 0x44921b
mov eax, dword [esp + 8]
push eax
call fcn.00470259
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
Function at 0x449940
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x44a180
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2f0
mov eax, dword [0x4c8698]
xor eax, esp
mov dword [esp + 0x2ec], eax
mov eax, dword [esp + 0x2fc]
push ebx
mov ebx, dword [esp + 0x304]
push ebp
mov ebp, dword [esp + 0x30c]
push esi
mov esi, dword [esp + 0x304]
push edi
mov edi, dword [esp + 0x304]
push 0x64
lea ecx, [esp + 0x30]
push 0
push ecx
mov dword [esp + 0x30], eax
call fcn.00470770
mov edx, ebx
shr edx, 8
movzx eax, dl
movzx ecx, bl
shl ecx, 8
or eax, ecx
shl eax, 8
mov edx, ebx
shr edx, 0x10
movzx ecx, dl
or eax, ecx
shl eax, 8
shr ebx, 0x18
or eax, ebx
push eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edx, eax
shr edx, 0x10
mov ch, dl
mov edx, eax
shr edx, 0x18
mov cl, dl
push ecx
mov ecx, eax
shr ecx, 8
movzx eax, al
movzx edx, cl
shl eax, 8
or edx, eax
push edx
mov ecx, esi
movzx edx, si
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
shr ecx, 0x10
push ecx
push edx
push edi
push str._X__X__X__X__X_X
lea eax, [esp + 0x54]
push 0x63
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
push str.CLSID_sLocalServer32
lea edx, [esp + 0x12c]
push 0x103
push edx
call esi
add esp, 0x40
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xf8]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44a2a9
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44a2ad
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x44a2ba
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [esp + 0x2fc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00470220
add esp, 0x2f0
ret 0x14
Function at 0x4514a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a850c
mov eax, dword fs:[0]
push eax
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov edi, ecx
push 1
xor ebx, ebx
push 3
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1f], bl
call fcn.00433ac0
push ebx
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x174], ebx
call fcn.00450ec0
push str.Global.db
push eax
lea ecx, [esp + 0xec]
push ecx
mov byte [esp + 0x178], 1
call fcn.00432cf0
add esp, 8
push eax
call fcn.00432f80
mov ebp, 8
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x16c], bl
jb 0x45153f
mov edx, dword [esp + 0x20]
push edx
call fcn.00470259
add esp, 4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xe0]
call fcn.004311c0
cmp dword [eax + 0x18], ebp
jb 0x45155a
mov eax, dword [eax + 4]
jmp 0x45155d
add eax, 4
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x50], ebp
mov esi, eax
jb 0x451585
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00470259
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jne 0x451688
push 1
push 3
lea ecx, [esp + 0x5c]
call fcn.00433ac0
push 1
lea edx, [esp + 0x20]
push edx
mov ecx, edi
mov byte [esp + 0x174], 2
call fcn.00450ec0
push str.Global.db
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x178], 3
call fcn.00432cf0
add esp, 8
push eax
call fcn.00432f80
add esp, 8
cmp dword [esp + 0x34], ebp
mov byte [esp + 0x16c], 2
jb 0x451601
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00470259
add esp, 4
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x58]
call fcn.004311c0
cmp dword [eax + 0x18], ebp
jb 0x451619
mov eax, dword [eax + 4]
jmp 0x45161c
add eax, 4
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esp + 0x34], ebp
mov esi, eax
jb 0x451644
mov eax, dword [esp + 0x20]
push eax
call fcn.00470259
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov byte [esp + 0x16c], bl
call fcn.0042fc40
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0xac], 0x4af4f8
call fcn.0048ea57
add esp, 4
cmp esi, 0xffffffff
je 0x4516b6
mov eax, dword [esp + 0x174]
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4516af
cmp dword [esp + 0x18], 0x10
jne 0x4516af
mov byte [esp + 0x17], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x130]
mov dword [esp + 0x16c], 0xffffffff
call fcn.0042fc40
lea ecx, [esp + 0x130]
push ecx
mov dword [esp + 0x134], 0x4af4f8
call fcn.0048ea57
mov al, byte [esp + 0x1b]
add esp, 4
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret 4
Function at 0x452960
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret

Function at 0x452a60
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 3
and eax, 0x3f
mov byte [eax + esi + 0x1c], 0x80
add eax, 1
cmp eax, 0x38
lea edx, [eax + esi + 0x1c]
jle 0x452ab2
mov ecx, 0x40
sub ecx, eax
push ecx
push 0
push edx
call fcn.00470770
mov eax, esi
call fcn.00451b80
push 0x38
lea eax, [esi + 0x1c]
push 0
push eax
call fcn.00470770
add esp, 0x18
jmp 0x452ac5
mov ecx, 0x38
sub ecx, eax
push ecx
push 0
push edx
call fcn.00470770
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x54], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
mov byte [esi + 0x57], al
mov byte [esi + 0x55], dl
mov byte [esi + 0x56], cl
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov ecx, ebx
shr edx, 0x18
mov byte [esi + 0x59], al
shr ecx, 8
mov eax, esi
mov byte [esi + 0x58], dl
mov byte [esi + 0x5a], cl
mov byte [esi + 0x5b], bl
call fcn.00451b80
movzx edx, byte [esi + 3]
mov eax, dword [esp + 0xc]
mov byte [eax], dl
movzx ecx, byte [esi + 2]
mov byte [eax + 1], cl
movzx edx, byte [esi + 1]
mov byte [eax + 2], dl
movzx ecx, byte [esi]
mov byte [eax + 3], cl
movzx edx, byte [esi + 7]
mov byte [eax + 4], dl
movzx ecx, byte [esi + 6]
mov byte [eax + 5], cl
movzx edx, byte [esi + 5]
mov byte [eax + 6], dl
movzx ecx, byte [esi + 4]
mov byte [eax + 7], cl
movzx edx, byte [esi + 0xb]
mov byte [eax + 8], dl
movzx ecx, byte [esi + 0xa]
mov byte [eax + 9], cl
movzx edx, byte [esi + 9]
mov byte [eax + 0xa], dl
movzx ecx, byte [esi + 8]
mov byte [eax + 0xb], cl
movzx edx, byte [esi + 0xf]
mov byte [eax + 0xc], dl
movzx ecx, byte [esi + 0xe]
mov byte [eax + 0xd], cl
movzx edx, byte [esi + 0xd]
mov byte [eax + 0xe], dl
movzx ecx, byte [esi + 0xc]
mov byte [eax + 0xf], cl
movzx edx, byte [esi + 0x13]
mov byte [eax + 0x10], dl
movzx ecx, byte [esi + 0x12]
mov byte [eax + 0x11], cl
movzx edx, byte [esi + 0x11]
mov byte [eax + 0x12], dl
movzx ecx, byte [esi + 0x10]
pop esi
mov byte [eax + 0x13], cl
pop ebx
ret
Function at 0x4558e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, dword [esi + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
xor bl, bl
call fcn.00420410
mov edi, eax
cmp esi, dword [edi]
je 0x45590a
call fcn.004706c7
cmp ebp, dword [edi + 4]
je 0x455a51
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
lea edi, [esi + 0xc]
push eax
mov ecx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
call fcn.00454410
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
je 0x45594a
cmp eax, edi
je 0x455953
call fcn.004706c7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1c]
je 0x4559a0
test eax, eax
jne 0x45596a
call fcn.004706c7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jne 0x455978
call fcn.004706c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x455a45
pop edi
pop esi
pop ebp
mov dword [ecx + 0x1c], eax
mov al, 1
pop ebx
add esp, 0x38
ret 0x10
cmp byte [esi + 0x19], 0
je 0x4559f2
mov edi, dword [esp + 0x54]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [esp + 0x58]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28], dl
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
call fcn.004554a0
pop edi
mov byte [esi + 0x18], 1
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 0x10
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dl, byte [esp + 0x58]
mov ecx, ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x28], dl
mov dword [esp + 0x3c], ecx
mov edx, ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], edx
push ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], eax
call fcn.00454b20
mov byte [esi + 0x18], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 0x10
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x38
ret 0x10
Function at 0x455d60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jbe 0x455d81
mov edx, eax
sub edx, ecx
cmp edx, dword [esi + 8]
jae 0x455d8d
cmp eax, ecx
jae 0x455dcd
sub eax, ecx
sub eax, 1
cmp eax, dword [esi + 8]
jb 0x455dcd
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x2c]
push edx
call fcn.00455b40
cmp byte [esi + 0x10], 0
jne 0x455dc3
call edi
mov dword [esi + 0xc], eax
pop edi
mov eax, 1
pop esi
add esp, 8
ret 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4
pop edi
mov eax, 2
pop esi
add esp, 8
ret 4
Function at 0x456460
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a8a57
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
lea edx, [esi + 0x10]
mov dword [esi], 0x4b1f1c
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
push edx
mov dword [esi + 0xc], 0x4b159c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, dword [esp + 0x6c]
push 0x4b0878
push ebx
push eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x68], 1
call fcn.00454a70
push ebx
push ebx
push ebx
lea ecx, [esi + 0x44]
mov byte [esp + 0x68], 2
call fcn.00452ba0
push ebx
push ebx
push ebx
lea ecx, [esi + 0x50]
mov byte [esp + 0x68], 3
call fcn.00452ba0
lea ecx, [esp + 0x64]
push ecx
push ebx
push esi
push 0x455d30
push ebx
push ebx
mov byte [esp + 0x74], 4
call fcn.004721c4
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x5c], eax
jne 0x45655a
push 0x14
push str.create_thread_failed
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00404230
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 5
call fcn.00404440
push eax
mov byte [esp + 0x60], 6
call fcn.00454a40
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x54
ret 0xc

Function at 0x456571
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
push edi
push eax
mov dword [esi], 0x4b1f1c
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x5c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4565a4
mov edx, dword [esi + 0x5c]
push 0xff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x5c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x54]
push ecx
mov dword [esi + 0x50], 0x4b1ee8
call edi
mov ebx, 0x4afb90
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x48]
push edx
mov dword [esi + 0x44], 0x4b1ee8
call edi
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x40]
push eax
mov dword [esi + 0x3c], 0x4b1ee8
call edi
lea ecx, [esi + 0x28]
mov dword [esi + 0x3c], ebx
call fcn.00454330
lea ecx, [esi + 0x10]
push ecx
mov dword [esi + 0xc], 0x4b159c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
mov dword [esi + 0xc], ebx
pop esi
pop ebx
ret
Function at 0x458fa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8db3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::locale::_Locimp.0
push esi
mov dword [esp + 0x18], 1
call fcn.0048e80c
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x458ff1
mov eax, dword [esi + 0x1c]
push eax
call fcn.00470259
add esp, 4
xor eax, eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov byte [esi + 0x1c], al
mov dword [esi], vtable.std::locale::facet.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x45afa2
cmp word [eax], 0
je 0x45afa2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45afa2
and al, 0x10
cmp al, 0x10
sete al
ret
xor al, al
ret

Function at 0x45b430
Capabilities:
Resolve dns

Disassembly:
mov ax, word [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0xc]
mov ebx, ecx
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [ebx], 0
mov word [ebx + 4], ax
mov byte [esp + 0x1c], 0x2e
call fcn.00456940
cmp eax, 0xffffffff
je 0x45b4bb
cmp dword [edi + 0x18], 0x10
push esi
lea esi, [edi + 4]
jb 0x45b46f
mov eax, dword [esi]
jmp 0x45b471
mov eax, esi
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call ebp
cmp eax, 0xffffffff
jne 0x45b4a5
cmp dword [edi + 0x18], 0x10
jb 0x45b488
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45b49c
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebx], ecx
pop ebp
pop esi
pop edi
mov eax, ebx
pop ebx
ret 8
cmp dword [edi + 0x18], 0x10
jb 0x45b4ad
mov esi, dword [esi]
push esi
call ebp
pop ebp
pop esi
mov dword [ebx], eax
pop edi
mov eax, ebx
pop ebx
ret 8
pop edi
mov dword [ebx], 0xffffffff
mov eax, ebx
pop ebx
ret 8

Function at 0x45b6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8d18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c8698]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4c8698]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x30], 0
je 0x45b713
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
push eax
mov ecx, 0x4c8550
call fcn.0047074b
test al, al
je 0x45b713
mov esi, dword [esi]
add esi, 4
jmp 0x45b715
xor esi, esi
cmp dword [esp + 0x20], 0x10
jb 0x45b729
mov eax, dword [esp + 0xc]
push eax
call fcn.00470259
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00470220
add esp, 0x2c
ret