joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c830
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
mov eax, 1
push edi
mov edi, dword [esp + 0x224]
mov dword [esp + 8], 0
test byte [0x4fb720], al
jne 0x42c886
or dword [0x4fb720], eax
mov ecx, 0x4fb71c
call fcn.00409dd0
push 0x4c79a0
call fcn.0046e7d5
add esp, 4
mov ecx, 0x4fb71c
call fcn.00409d60
test eax, eax
jne 0x42c8c6
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x42c8c6
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x4fb71c
call fcn.00409f50
push 0x4da768
mov ecx, 0x4fb71c
call fcn.00409f90
push edi
push 0x4fb71c
push esi
call fcn.0040a470
mov ecx, dword [esp + 0x224]
add esp, 0xc
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046da8a
add esp, 0x214
ret

Function at 0x42dac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c4bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x864], eax
push ebx
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x878]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
push 0x7fe
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x76]
push eax
mov dword [esp + 0x20], ecx
mov edi, 0x400
mov word [esp + 0x78], dx
call fcn.0046dea0
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.004329a0
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x54]
mov dword [esp + 0xc], ecx
push edx
mov ecx, esi
mov dword [esp + 0x884], 0
call fcn.00415f40
mov ebx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00412b50
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ebx
push ecx
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00432b60
nop
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
push edx
push edi
push eax
call fcn.00487cad
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jg 0x42dba2
test ebx, ebx
jge 0x42dbd5
test ebx, ebx
jle 0x42dbab
lea edi, [ebx + 1]
jmp 0x42dbad
add edi, edi
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.00433790
lea ecx, [esp + 0x20]
call fcn.00419590
test eax, eax
ja 0x42dbcb
call fcn.0046d2c9
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
jmp 0x42db80
push ecx
mov ecx, esp
call fcn.0040d6d0
lea ecx, [esp + 0x3c]
call fcn.00403600
push 0
push 0
lea ecx, [esp + 0x40]
call fcn.0040c2a0
mov edx, dword [esp + 0xc]
push ebx
push edx
lea ecx, [esp + 0x40]
call fcn.0040d270
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x884], 1
call fcn.0040a760
lea ecx, [esp + 0x38]
call fcn.0040a740
lea ecx, [esp + 0x20]
call fcn.00419540
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x864]
xor ecx, esp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret
Function at 0x42eb70
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4c1849
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x34]
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
call fcn.00402b90
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x38], esi
je 0x42ecfe
mov al, byte [edi]
dec dword [esp + 0x38]
mov byte [esp + esi + 0x14], al
mov bl, byte [esp + 0x15]
inc esi
inc edi
cmp esi, 3
jne 0x42ec43
mov al, byte [esp + 0x14]
mov cl, al
shr cl, 2
and al, 3
shl al, 4
mov byte [esp + 0x18], cl
mov dl, bl
shr dl, 4
add al, dl
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
mov cl, bl
and cl, 0xf
add cl, cl
mov dl, al
add cl, cl
shr dl, 6
add cl, dl
and al, 0x3f
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], al
xor esi, esi
jmp 0x42ec20
movzx eax, byte [esp + esi + 0x18]
push eax
mov ecx, 0x4fb444
call fcn.00402e00
movzx ecx, byte [eax]
push ecx
mov ecx, ebp
call fcn.00402ce0
inc esi
cmp esi, 4
jl 0x42ec20
xor esi, esi
cmp dword [esp + 0x38], 0
jne 0x42ebc4
test esi, esi
je 0x42ecfe
cmp esi, 3
jge 0x42ec76
mov edx, 3
sub edx, esi
push edx
lea eax, [esp + esi + 0x18]
push 0
push eax
call fcn.0046dea0
mov bl, byte [esp + 0x21]
add esp, 0xc
mov al, byte [esp + 0x14]
mov cl, al
mov dl, bl
and al, 3
shl al, 4
shr dl, 4
add al, dl
shr cl, 2
and bl, 0xf
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
add bl, bl
mov byte [esp + 0x18], cl
mov cl, al
add bl, bl
shr cl, 6
add bl, cl
mov byte [esp + 0x1a], bl
and al, 0x3f
lea ebx, [esi + 1]
xor edi, edi
mov byte [esp + 0x1b], al
test ebx, ebx
jle 0x42ece0
jmp 0x42ecc0
movzx edx, byte [esp + edi + 0x18]
push edx
mov ecx, 0x4fb444
call fcn.00402e00
movzx eax, byte [eax]
push eax
mov ecx, ebp
call fcn.00402ce0
inc edi
cmp edi, ebx
jl 0x42ecc0
cmp esi, 3
jge 0x42ecfe
mov edi, 3
sub edi, esi
lea esp, [esp]
push 0x3d
mov ecx, ebp
call fcn.00402ce0
sub edi, 1
jne 0x42ecf0
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x42ef20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x1c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov ecx, edi
call fcn.00402e30
mov ebx, eax
push ebx
call sub.WS2_32.dll_inet_addr
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ef6f
push ebx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x42ef5c
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp esi, 0xffffffff
jne 0x42ef6f
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0046da8a
add esp, 0x1c
ret
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
movzx eax, word [edi + 0x1c]
mov edx, 2
push eax
mov word [esp + 0x10], dx
call sub.WS2_32.dll_htons
push 0
push 1
push 2
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], esi
call sub.WS2_32.dll_socket
mov dword [edi + 0x20], eax
test eax, eax
jl 0x42ef5c
push 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
call sub.WS2_32.dll_connect
mov ecx, dword [esp + 0x1c]
test eax, eax
pop esi
setge al
pop ebx
xor ecx, esp
call fcn.0046da8a
add esp, 0x1c
ret
Function at 0x42f540
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x804
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [esp + 0x808]
push esi
mov esi, dword [eax + 0x20]
test esi, esi
jl 0x42f58e
push 0x7ff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.0046dea0
add esp, 0xc
push 0
push 0x800
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.WS2_32.dll_recv
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.0046da8a
add esp, 0x804
ret 4

Function at 0x42f5b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [0x4fb18c]
push 0x14
call fcn.0046d5f3
add esp, 4
test eax, eax
jne 0x42f5c9
xor al, al
pop esi
ret
lea ecx, [esi + 4]
push ecx
push 0
push eax
push 0x42f610
push 0
push 0
mov dword [eax], 0x42f650
mov dword [eax + 4], 0
mov dword [eax + 8], 0x7d0
mov dword [eax + 0xc], 0x4fb189
mov dword [eax + 0x10], esi
call fcn.00487442
add esp, 0x18
mov dword [esi], eax
test eax, eax
setne al
pop esi
ret
Function at 0x430140
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x4fb188], 0
jne 0x4301ed
lea eax, [esp + 8]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x4301e4
push 0x1000
call fcn.0046cf6d
add esp, 4
mov dword [0x4fb214], eax
test eax, eax
je 0x4301e4
push 0x1000
push 0
push eax
call fcn.0046dea0
push 0xc
mov byte [0x4fb189], 0
call fcn.0046d5f3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4301cf
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
jmp 0x4301d1
xor esi, esi
mov dword [0x4fb18c], esi
test esi, esi
je 0x4301e4
call fcn.0042f5b0
test al, al
jne 0x4301ed
mov byte [0x4fb188], 0
jmp 0x4301f4
mov byte [0x4fb188], 1
push 0x4fb460
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret

Function at 0x430a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c4a48
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x68], eax
push ebp
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
lea ecx, [edi + 0x6c]
mov dword [esp + 0xc], eax
call fcn.00404400
lea ecx, [esp + 0x10]
lea esi, [edi + 8]
push ecx
mov ecx, esi
call fcn.00430b90
mov ecx, dword [esp + 0x8c]
mov dl, byte [esp + 0x88]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [edi + 0xc], ecx
push ebx
lea ecx, [edi + 0x14]
mov byte [esi], dl
mov byte [edi + 0x10], al
mov byte [edi + 0x11], al
mov byte [edi + 0x12], al
mov byte [edi + 0x13], al
call fcn.00402c60
mov cl, byte [esp + 0x98]
mov dl, byte [esp + 0x90]
mov al, byte [esp + 0x94]
mov byte [edi + 0x32], cl
push ebp
lea ecx, [edi + 0x34]
mov byte [edi + 0x30], dl
mov byte [edi + 0x31], al
call fcn.00402c60
mov edx, dword [esp + 0xc]
push edx
lea ecx, [edi + 0x50]
call fcn.00402c60
lea eax, [esp + 0x10]
mov ecx, edi
call fcn.004311b0
test al, al
je 0x430b53
push edi
call fcn.00431200
lea ecx, [esp + 0x58]
call fcn.00402c40
lea ecx, [esp + 0x3c]
call fcn.00402c40
lea ecx, [esp + 0x1c]
call fcn.00402c40
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0046da8a
add esp, 0x78
ret 0x1c
Function at 0x4319e0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5c20
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push edx
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00431690
mov esi, eax
test esi, esi
jle 0x431bf3
test byte [edi + 0xc], 1
je 0x431a6f
push edi
call fcn.004313a0
mov ebx, eax
test ebx, ebx
je 0x431a6f
cmp ebx, 0xffffffff
je 0x431a6f
mov edx, dword [0x4fb218]
mov al, byte [edi + 0x31]
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
push ebx
mov byte [esp + 0x20], al
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [esp + 0xc], 0
je 0x431a6f
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test byte [edi + 0xc], 2
je 0x431aa9
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.0047fbd1
add eax, 0x20
push eax
push 0x4db0c8
push 0x4db0cc
call fcn.00487fcd
mov eax, dword [0x4fb218]
add esp, 0xc
push eax
push 0x4db0d4
call fcn.0047fdb8
add esp, 8
test byte [edi + 0xc], 4
je 0x431ba2
cmp dword [0x4fb400], 0x3e8
jb 0x431ac9
mov esi, 0x4fb3e4
call fcn.00432280
mov edx, dword [0x4fb218]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00402bc0
sub esp, 0x1c
lea eax, [edi + 0xa4]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov dword [esp + 0x9c], 0
call fcn.00402c00
lea esi, [esp + 0x54]
mov dword [esp + 0x98], 0xffffffff
call fcn.004353b0
add esp, 0x38
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 1
mov ecx, dword [0x4fb400]
mov eax, dword [0x4fb3f8]
inc ecx
cmp eax, ecx
ja 0x431b40
mov ebx, 0x4fb3e4
call fcn.00433b70
mov eax, dword [0x4fb3f8]
mov edx, dword [0x4fb3fc]
mov ecx, dword [0x4fb400]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x431b55
sub esi, eax
mov edx, dword [0x4fb3f4]
cmp dword [edx + esi*4], 0
jne 0x431b74
push 0x38
call fcn.0046d5f3
mov ecx, dword [0x4fb3f4]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x14]
mov eax, dword [0x4fb3f4]
mov ecx, dword [eax + esi*4]
push edx
push ecx
call fcn.004354a0
inc dword [0x4fb400]
add esp, 8
lea ecx, [esp + 0x38]
call fcn.00402c40
lea ecx, [esp + 0x1c]
call fcn.00402c40
test byte [edi + 0xc], 8
je 0x431bb5
mov edx, dword [0x4fb218]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4fb214]
push 0x1000
push 0
push eax
call fcn.0046dea0
add esp, 0xc
cmp byte [0x4fb195], 0
je 0x431be9
mov ecx, dword [0x4fb218]
push ecx
call fcn.0046df1a
add esp, 4
mov byte [0x4fb195], 0
mov dword [0x4fb218], 0
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x435fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2071
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], 0
push eax
mov ecx, esi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call fcn.00402c00
mov dword [esp + 0x30], 0
push str.shell_
mov dword [esp + 8], 1
call fcn.00401120
add esp, 4
push eax
push 0
push str.shell_
mov ecx, esi
call fcn.004032a0
cmp eax, 0xffffffff
je 0x43605c
push eax
push 0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0040a640
push eax
mov ecx, esi
mov dword [esp + 0x34], 1
call fcn.00402c60
lea ecx, [esp + 0xc]
call fcn.00402c40
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret
Function at 0x43eec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c1388
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x28]
mov dword [esi], vtable.unlock_sony::UnlockThread.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ebx
cmp eax, 3
jne 0x43ef69
push 0x4da4f8
call fcn.00401120
add esp, 4
push eax
mov eax, dword [edi + 0x14]
push 0x4da4f8
push eax
push ebx
mov ecx, edi
call fcn.00403380
test eax, eax
jne 0x43ef40
mov dword [esi + 0x2c], ebx
jmp 0x43ef69
push 0x4da470
call fcn.00401120
mov ecx, dword [edi + 0x14]
add esp, 4
push eax
push 0x4da470
push ecx
push ebx
mov ecx, edi
call fcn.00403380
neg eax
sbb eax, eax
neg eax
inc eax
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x10

Function at 0x440530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c2298
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push esi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov esi, ecx
mov dword [esp + 0xc], 0
call fcn.0040a850
test eax, eax
je 0x4405ec
mov ecx, edi
call fcn.0040a850
test eax, eax
je 0x4405ec
push esi
lea ecx, [esp + 0x14]
call fcn.00402c00
push 0
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.0040a610
mov esi, eax
cmp esi, 0xffffffff
je 0x4405d5
push ebx
mov ecx, edi
call fcn.0040a850
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0040a560
mov ecx, ebx
call fcn.0040a850
add eax, esi
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.0040a610
mov esi, eax
cmp esi, 0xffffffff
jne 0x4405a7
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.00402c00
lea ecx, [esp + 0x10]
call fcn.00402c40
jmp 0x4405f4
push esi
mov ecx, ebp
call fcn.00402c00
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046da8a
add esp, 0x30
ret
Function at 0x440e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1d38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x1c], eax
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00402b90
xor edi, edi
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.0040a850
push eax
lea ecx, [esp + 0xc]
call fcn.00402e50
mov ecx, esi
call fcn.0040a850
test eax, eax
je 0x440ef8
mov edi, edi
push edi
mov ecx, esi
call fcn.00402e00
movsx eax, byte [eax]
add eax, 0xffffffde
cmp eax, 0x1c
ja case.0x440e7a.35
movzx eax, byte [eax + 0x440f44]
jmp dword [eax*4 + 0x440f2c]
push str.amp_
lea ecx, [esp + 0xc]
call fcn.004030d0
jmp 0x440ee8
push str.quot_
lea ecx, [esp + 0xc]
call fcn.004030d0
jmp 0x440ee8
push str.apos_
lea ecx, [esp + 0xc]
call fcn.004030d0
jmp 0x440ee8
push str.lt_
lea ecx, [esp + 0xc]
call fcn.004030d0
jmp 0x440ee8
push str.gt_
lea ecx, [esp + 0xc]
call fcn.004030d0
jmp 0x440ee8
push edi
mov ecx, esi
call fcn.00402e00
movzx ecx, byte [eax]
push ecx
push 1
lea ecx, [esp + 0x10]
call fcn.00403100
mov ecx, esi
inc edi
call fcn.0040a850
cmp edi, eax
jne 0x440e60
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00419140
lea ecx, [esp + 8]
call fcn.00402c40
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0046da8a
add esp, 0x2c
ret

Function at 0x440f70
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push edi
lea eax, [esp + 0x10]
push eax
push 0
push 0x28
mov dword [esp + 0x1c], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x440fd2
call ebx
cmp eax, 0x3f0
jne 0x440fc9
push 2
call dword [sym.imp.ADVAPI32.dll_ImpersonateSelf]
test eax, eax
je 0x440fc9
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x28
call esi
push eax
call edi
test eax, eax
jne 0x440fd2
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x38
ret
lea edx, [esp + 0x18]
push edx
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x440fc9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 0x10
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
push ecx
push 0
mov edi, 1
push edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], 0
call esi
call ebx
test eax, eax
jne 0x440fc9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
or dword [esp + 0x2c], 2
push 0
push 0
push edx
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x38], edi
call esi
call ebx
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
add esp, 0x38
ret
Function at 0x447a00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c6538
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
cmp eax, 4
je 0x447c2e
cmp eax, 5
je 0x447c2e
cmp eax, 3
je 0x447c2e
cmp eax, 6
je 0x447c2e
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x447a87
cmp byte [ecx], 1
jne 0x447a87
cmp byte [edi + 0x8c], 0
jne 0x447a87
mov dword [edi], 6
mov eax, 6
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], eax
test eax, eax
je 0x447ac9
cmp eax, 1
je 0x447ac9
cmp eax, 2
jne 0x447c20
lea ecx, [edi + 0xc]
call fcn.00449b00
test al, al
je 0x447ab4
mov dword [edi], 2
jmp 0x447c20
xor eax, eax
cmp byte [edi + 0x8c], al
sete al
add eax, 4
mov dword [edi], eax
jmp 0x447c20
cmp dword [edi + 0x98], 0xffffffff
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x447af0
test eax, eax
jne 0x447af0
call ebp
sub eax, dword [edi + 0x90]
cmp eax, dword [edi + 0x98]
ja 0x447a69
lea esi, [edi + 0xc]
push 1
mov ecx, esi
call fcn.0044b540
cmp eax, 0x102
jne 0x447b0e
mov dword [edi], 1
jmp 0x447c20
cmp dword [edi], 1
jne 0x447b1b
call ebp
mov dword [edi + 0x90], eax
mov ecx, dword [edi + 4]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [edi], 0
call fcn.00448410
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0
call fcn.0043c4b0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call fcn.0043c4f0
push eax
lea ecx, [esp + 0x18]
call fcn.0043c5b0
test al, al
je 0x447c17
jmp 0x447b70
cmp byte [edi + 0x9c], 0
lea ecx, [esp + 0x14]
jne 0x447be7
call fcn.0043c530
cmp dword [eax + 0x24], 4
je 0x447c11
lea ecx, [esp + 0x14]
call fcn.0043c530
cmp dword [eax + 0x24], 3
je 0x447c11
lea ecx, [esp + 0x14]
call fcn.0043c530
cmp dword [eax + 0x24], 1
je 0x447bfa
lea ecx, [esp + 0x14]
call fcn.0043c530
cmp dword [eax + 0x24], 2
je 0x447bfa
push 0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.0043c560
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.0043c4f0
push eax
lea ecx, [esp + 0x18]
call fcn.0043c5b0
test al, al
jne 0x447b70
jmp 0x447c17
mov dword [edi], 2
call fcn.0043c530
push eax
call fcn.00449aa0
jmp 0x447c17
lea ecx, [esp + 0x14]
mov dword [edi], 2
call fcn.0043c530
push eax
call fcn.00449aa0
jmp 0x447c17
mov dword [edi], 3
lea ecx, [esp + 0x2c]
call fcn.0043c450
mov edi, dword [edi]
mov eax, edi
sub eax, dword [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov esp, ebp
pop ebp
ret
Function at 0x4498f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov esi, ecx
call fcn.0044b740
lea ecx, [esi + 0x24]
call fcn.004b2730
lea ecx, [esi + 0x34]
mov dword [esi], vtable.DriverManager.0
call fcn.00447cf0
lea ecx, [esi + 0x60]
call fcn.00409dd0
lea ecx, [esi + 0x64]
call fcn.00409dd0
lea ecx, [esi + 0x68]
call fcn.00409dd0
lea ecx, [esi + 0x6c]
call fcn.00409dd0
lea ecx, [esi + 0x74]
call fcn.00409dd0
lea ecx, [esi + 0x78]
call fcn.00409dd0
lea ecx, [esi + 0x7c]
call fcn.00409dd0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x118
mov dword [esi + 0x2c], eax
lea eax, [esp + 0xc]
push 0
push eax
mov byte [esi + 0x30], 0
mov byte [esi + 0x80], 0
mov byte [esi + 0x81], 0
call fcn.0046dea0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 8], 5
mov ecx, dword [esp + 0x120]
setbe dl
mov byte [esi + 0x82], dl
mov eax, esi
pop esi
xor ecx, esp
call fcn.0046da8a
add esp, 0x120
ret

Function at 0x449aa0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x449ab5
xor al, al
ret 4
lea ecx, [esi + 0x7c]
call fcn.00409bf0
mov ecx, dword [esp + 4]
push ecx
lea ecx, [esi + 0x34]
mov byte [esi + 0x80], 0
call fcn.00447d50
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
push esi
push 0x449b20
push 0
push 0
mov byte [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
ret 4