joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4205fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x523bc17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420637
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x420650
lea eax, [ebp - 0x10]
mov edx, dword [0x52595f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x420663
lea eax, [ebp - 0x10]
mov edx, dword [0x52595f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42066f
adc edx, 0
mov edx, dword [edx*4 + 0x52583fc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4207e9
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4207dc
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4207dc
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x42077a
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x42077a
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x42077a
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x42077a
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4207dc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4207dc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4207dc
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4207dc
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420801
inc ebx
cmp ebx, 0x19
jne 0x420629
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523bc1e
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401f58
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x401faa
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401fa2
push 0x4f
push 0x40101d9
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x401fb0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401fc4
mov eax, 0
jmp 0x402000
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401ff5
push 0x101
push 0x40101d9
push 6
call fcn.004041cf
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x402000
mov esp, ebp
pop ebp
ret 8
Function at 0x404a10
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0xc
test ecx, ecx
mov eax, 0xfffffff5
je 0x404a2c
cmp dword [esp + 0x14], 2
jne 0x404a2c
mov eax, 0xfffffff4
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
test ebp, ebp
je 0x404af7
mov eax, dword [esp + 0x14]
cmp eax, 1
jle 0x404af7
push ebx
push esi
push edi
lea edi, [esp + 0x30]
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x10], 0
cmp eax, 0x80000004
jne 0x404a71
mov ebx, dword [edi]
jmp 0x404a88
push edi
call fcn.00405a50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x404ade
mov dword [esp + 0x10], 1
push ebx
call dword [0xbb7e14]
mov esi, eax
add esp, 4
test esi, esi
jbe 0x404acd
mov edi, ebx
mov eax, 0x400
mov dword [esp + 0x20], 0
cmp esi, eax
jae 0x404aad
mov eax, esi
lea ecx, [esp + 0x20]
push 0
push ecx
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x20]
sub esi, eax
add edi, eax
test esi, esi
ja 0x404a9a
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404ade
push ebx
call sub.MSVCRT.dll_free
add esp, 4
mov eax, dword [esp + 0x18]
add edi, 0xc
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jne 0x404a5b
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret

Function at 0x404e20
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x404eb2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x404ea4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x404e9c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x404e65
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0xc100056
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x26dc3015
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40bd20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48a0a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040ba20
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.00402093
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x40d1a0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x487c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov edi, ecx
push 1
push 2
lea ecx, [esp + 0x34]
call fcn.0040d070
push 0x492ed8
lea eax, [esp + 0x30]
push str.CBtHelper::StopBt
xor ebx, ebx
push eax
mov dword [esp + 0xc0], ebx
call fcn.0040cd30
add esp, 8
push eax
call fcn.0040cd30
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040cf40
mov ecx, esi
call fcn.0040cb20
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.0040c670
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x40d233
mov eax, dword [eax + 4]
jmp 0x40d236
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x28], esi
jb 0x40d250
mov edx, dword [esp + 0x14]
push edx
call fcn.00451fd9
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0xb4], 0xffffffff
call fcn.00407ae0
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], 0x492650
call fcn.0047690c
add esp, 4
cmp byte [edi + 0xd], bl
je 0x40d2a0
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40d2a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x7c]
push eax
call edx
mov byte [edi + 0xd], bl
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xa8
ret
Function at 0x4150a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488571
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi + 4], 0x493af8
xor ebx, ebx
mov dword [esi], 0x493b20
mov dword [esi + 4], 0x493af8
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], ebx
mov byte [esi + 0x18], bl
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.00411ad0
mov dword [edi + 4], eax
mov byte [eax + 0x4d], 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 + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00428970
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 + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x41d430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4890c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x80]
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [eax], ecx
mov eax, esp
mov dword [esp + 0x18], esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [eax], edx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x88]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x74], ebx
mov byte [ecx + 4], bl
call fcn.00402093
push ecx
mov ecx, dword [esp + 0x80]
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], esp
call fcn.0041af20
mov edi, eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esi + 4], eax
mov dword [esi], edx
mov ecx, dword [edi]
mov dword [esi + 8], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0xc]
lea eax, [edi + 4]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x50], 1
mov byte [ecx + 4], bl
call fcn.00402093
mov edx, dword [edi + 0x20]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x24]
mov edi, 0x10
cmp dword [esp + 0x30], edi
mov dword [esi + 0x2c], eax
jb 0x41d519
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00451fd9
add esp, 4
cmp dword [esp + 0x74], edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x41d53c
mov edx, dword [esp + 0x60]
push edx
call fcn.00451fd9
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret

Function at 0x420f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489569
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x2c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi], 0x493ce4
mov dword [esp + 0x24], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 3
mov dword [esi + 0x2c], edi
call fcn.004153e0
mov ebx, eax
mov dword [esp + 0x14], ebx
call fcn.004855e0
neg ebx
sbb ebx, ebx
test ebx, fcn.004054b0
mov dword [esp + 0x18], eax
je 0x420fb4
push str.mutex
lea ecx, [esp + 0x18]
push ecx
call fcn.0040ccd0
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
Function at 0x420fe0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
push 0xffffffffffffffff
push 0
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4ae8f0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
push 0
je 0x421031
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push fcn.00437070
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret
Function at 0x425600
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x489c48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ac13c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x425655
mov ecx, esi
call fcn.004212c0
xor esi, esi
call fcn.004855e0
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx], esi
xor eax, eax
jmp 0x4256b9
mov ecx, dword [0x4ae86c]
push ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [0x4ae86c]
push edx
push eax
call ebp
mov ebx, dword [esp + 0x2c]
push ebx
push 1
mov ecx, esi
mov dword [esp + 0x2c], edi
call fcn.00423330
test eax, eax
je 0x4256a9
cmp edi, 0xffffffff
je 0x42569b
add edi, 1
push ebx
push 1
mov ecx, esi
call fcn.00423330
test eax, eax
jne 0x425693
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4ae86c]
push ecx
push edx
call ebp
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x44d140
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
jne 0x44d199
cmp dword [esi + 0xc], 0
jne 0x44d195
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [0x4aeb0c], eax
call edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
push eax
push 0
push esi
push ecx
push 0
push 0
mov byte [0x4aeb08], 1
call fcn.0045d8a4
add esp, 0x18
mov dword [esi + 0xc], eax
pop edi
mov byte [esi + 4], 1
mov al, 1
pop esi
ret 4

Function at 0x44d220
Capabilities:
Terminate thread

Disassembly:
mov dword [ecx], 0x495858
jmp fcn.0044d1a0

Function at 0x44f720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48d003
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ac13c]
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.004766c1
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x44f771
mov eax, dword [esi + 0x1c]
push eax
call fcn.00451fd9
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 0x47634f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4ac13c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004762e4
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0045c2f0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47639e
cmp dword [ebp - 0x1c], 5
jb 0x4763b6
jmp 0x4763b2
cmp dword [ebp - 0x10], 1
jne 0x4763b6
cmp dword [ebp - 0x1c], 4
ja 0x4763b2
jne 0x4763b6
cmp dword [ebp - 0x18], 0
jbe 0x4763b6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4990b8
call fcn.00404a80
test eax, eax
jge 0x4763d7
mov byte [0x4ae7a0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045b7a6
add ebp, 0x78
leave
ret
Function at 0x1005e5f
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
movzx eax, word [esi]
push edi
test ax, ax
je 0x1005f18
mov edi, dword [0x1001190]
cmp ax, 0x2d
je 0x1005e96
cmp ax, 0x2f
je 0x1005e96
inc esi
inc esi
movzx eax, word [esi]
test ax, ax
jne 0x1005e80
cmp word [esi], 0
je 0x1005f18
inc esi
push 0x10014b0
inc esi
push esi
call edi
test eax, eax
je 0x1005f21
push 0x1001494
push esi
call edi
test eax, eax
je 0x1005f4f
push 0x1001484
push esi
call edi
test eax, eax
je 0x1005f62
push 0x1001458
push esi
call edi
test eax, eax
je 0x1005f80
push 0x1001444
push esi
call edi
test eax, eax
je 0x1005fce
movzx eax, word [esi]
sub eax, 0x62
je 0x1005f06
sub eax, 0x10
je 0x1005f00
dec eax
jne 0x1005f0a
or dword [ebp - 4], 4
jmp 0x1005f0a
or dword [ebp - 4], 1
jmp 0x1005f0a
or dword [ebp - 4], 2
inc esi
inc esi
movzx eax, word [esi]
test ax, ax
jne 0x1005e80
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
push 0x1e
call dword [0x1001194]
test eax, eax
je 0x1005f47
push 0
push 0x1009561
push 0
push 3
push 0x10013e0
push 0x80000002
call fcn.01008c35
push 0
call dword [0x1001084]
push 0x1e
call dword [0x1001194]
test eax, eax
je 0x1005f47
call fcn.01005e2b
jmp 0x1005f47
push 0x1e
call dword [0x1001194]
test eax, eax
je 0x1005f47
push 0
push 0x1009561
push 0
push 8
push 0x1001380
jmp 0x1005f3d
call 0x1008b4d
test eax, eax
jne 0x1005f93
call 0x1008a40
call 0x10075bb
mov esi, dword [0x1001208]
push 0x43
call esi
test eax, eax
jne 0x1005fa6
call 0x10075a1
call 0x1008b4d
test eax, eax
jne 0x1005fc4
push 0x43
call esi
test eax, eax
jne 0x1005fc4
push eax
call 0x1007df6
push 0
call 0x100767d
call 0x100769a
jmp 0x1005f47
call 0x1008a40
call 0x10075bb
jmp 0x1005f47

Function at 0x10061b2
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [fcn.01001010]
test eax, eax
jne 0x10061eb
push 0x1001500
push dword [ebp - 4]
call dword [fcn.0100100c]
push dword [ebp - 4]
call dword [fcn.01001008]
leave
ret
Function at 0x42df40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x42df8a
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42df6a
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42df7a
push 0xffffffffffffffff
push esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 4], 0
jne 0x42df8a
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push edi
push str.usbmuxd.dll
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42ea35
test al, 0x10
jne 0x42e98f
mov dword [edi + 0x14], 0
mov eax, edi
pop edi
ret

Function at 0x4324d0
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4b7014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x432550
push 0
push 0xff
push 0x4bba88
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [pe_dos_header]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov eax, 2
push esi
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [ebp - 0x10], eax
lea eax, [ebp]

Function at 0x46953d
Capabilities:
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x4793bc
leave
movzx eax, byte [ecx + esi]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x4793bd
mov eax, edx
xor edx, edx
div dword [ebp + 0xc]
pop esi
mov eax, edx
pop ebp
ret

Function at 0x4793af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx

Function at 0x487ec0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x487efc
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x487eeb
add byte [eax], al
add byte [ecx + 0x245eb], bh
add byte [eax], al
add byte [eax], al