joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005a1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1005a3a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1005a2ad
mov edx, dword [ebp - 4]
cmp edx, dword [0x100be068]
jb 0x1005a21a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100be06c]
ja 0x1005a21a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005a1ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10077a60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1005a23f
jmp 0x1005a2ad
cmp dword [ebp - 0x14], 0x10000
jne 0x1005a293
cmp dword [ebp - 0x18], 0x10000
jb 0x1005a293
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005a276
mov eax, dword [ebp - 8]
jmp 0x1005a2af
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005a286
xor eax, eax
jmp 0x1005a2af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005a2a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1005a3a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005a1ea
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005a2c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1005a3d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1005a395
mov edx, dword [ebp - 4]
cmp edx, dword [0x100be068]
jb 0x1005a305
mov eax, dword [ebp - 4]
cmp eax, dword [0x100be06c]
ja 0x1005a305
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005a2d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10077a60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1005a32a
jmp 0x1005a395
cmp dword [ebp - 0x14], 0x10000
jne 0x1005a37e
cmp dword [ebp - 0x18], 0x10000
jb 0x1005a37e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1005a361
mov eax, dword [ebp - 8]
jmp 0x1005a397
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005a371
xor eax, eax
jmp 0x1005a397
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005a390
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1005a3d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005a2d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005a400
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1005a7f0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100c1e8c], 0
jne 0x1005a43d
cmp dword [0x100c1e88], 0
je 0x1005a43d
mov eax, dword [0x100c1e88]
mov dword [0x100c1e8c], eax
cmp dword [0x100c1e8c], 0
je 0x1005a4ba
mov ecx, dword [0x100c1e8c]
cmp dword [ecx + 8], 0
je 0x1005a4ba
mov edx, dword [0x100c1e8c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1005a4ba
mov ecx, dword [0x100c1e8c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1005a4ba
mov eax, dword [0x100c1e8c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1005a489
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1005a490
xor eax, eax
jmp 0x1005a5d9
mov ecx, dword [0x100c1e8c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10077a60
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1005a5d9
mov edx, dword [0x100c1e88]
mov dword [0x100c1e8c], edx
jmp 0x1005a4d6
mov eax, dword [0x100c1e8c]
mov ecx, dword [eax + 4]
mov dword [0x100c1e8c], ecx
cmp dword [0x100c1e8c], 0
je 0x1005a516
cmp dword [0x100c1e8c], 0
je 0x1005a514
mov edx, dword [0x100c1e8c]
cmp dword [edx + 8], 0
je 0x1005a514
mov eax, dword [0x100c1e8c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1005a514
mov edx, dword [0x100c1e8c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1005a514
jmp 0x1005a46e
jmp 0x1005a4c8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1005a5e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1005a5d7
mov eax, dword [ebp - 0x18]
mov dword [0x100c1e8c], eax
mov ecx, dword [0x100c1e8c]
mov dword [ecx], 0x52727464
mov edx, dword [0x100c1e8c]
mov dword [edx + 8], 0
mov eax, dword [0x100c1e8c]
mov ecx, dword [0x100c1e88]
mov dword [eax + 4], ecx
mov edx, dword [0x100c1e8c]
mov dword [0x100c1e88], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100c1e8c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1005a5a7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1005a5c7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1005a59e
mov eax, dword [0x100c1e8c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1005a46e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005b320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100c1e88]
mov dword [ebp - 4], eax
jmp 0x1005b339
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1005b360
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1005b35e
call sub.KERNEL32.dll_GetLastError
jmp 0x1005b362
jmp 0x1005b330
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005b800
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100c1e98], eax
je 0x1005b824
mov eax, 0x10dd
jmp 0x1005b9cc
cmp dword [0x100c1e9c], 0
je 0x1005b837
mov eax, dword [0x100c1e9c]
jmp 0x1005b9cc
cmp dword [ebp + 0xc], 0
jne 0x1005b847
mov eax, 0x57
jmp 0x1005b9cc
cmp dword [ebp + 8], 0
jne 0x1005b857
mov eax, 6
jmp 0x1005b9cc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1005b880
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100c1e9c], ecx
mov edx, dword [ebp + 8]
mov dword [0x100c1ea0], edx
mov eax, dword [ebp - 8]
jmp 0x1005b9cc
push 0x18
call fcn.1005ceb6
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005b8db
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100c1e9c], ecx
cmp dword [ebp - 4], 0
je 0x1005b8ca
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1005d568
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100c1ea0], ecx
mov eax, dword [ebp - 8]
jmp 0x1005b9cc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1005b7e0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1005b7e0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1005b91b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1005b937
mov dword [ebp - 8], 9
cmp dword [0x100c1e90], 0
je 0x1005b932
jmp 0x1005b8a9
jmp 0x1005b8a0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1005b95e
mov dword [ebp - 8], 9
cmp dword [0x100c1e90], 0
je 0x1005b959
jmp 0x1005b8a9
jmp 0x1005b8a0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1005b989
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005b8a0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100c1ea8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100c1ea8], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1005b9e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100c1e98], eax
je 0x1005b9fd
mov eax, 0x10dd
jmp 0x1005bae0
mov eax, dword [0x100c1ea8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1005ba7c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1005ba58
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1005ba58
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1005a880
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1005d568
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1005ba05
mov dword [0x100c1ea8], 0
call fcn.1005b160
mov ecx, dword [0x100c1ea4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1005baca
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1005d568
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1005ba94
mov dword [0x100c1ea4], 0
mov dword [0x100c1e98], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005bfc0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100c1e9c], 0
je 0x1005bfd9
mov eax, dword [0x100c1e9c]
jmp 0x1005c078
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1005bfea
xor eax, eax
jmp 0x1005c078
push 8
call fcn.1005ceb6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005c042
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1005c02b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1005d568
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100c1e9c], eax
mov dword [0x100c1ea0], 0
mov eax, dword [ebp - 8]
jmp 0x1005c078
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1005c05a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005c00a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100c1ea4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100c1ea4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1006013c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10083bc7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10083a46

Function at 0x1008abd5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008a895
Function at 0x403940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00403a00
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4c595919
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6bd947f0
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40154f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x4701a0]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4015b6
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.0040173e
lea ecx, [esp + 0x1c]
call fcn.0040131b
cmp eax, dword [esp + 0x14]
je 0x4015ce
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.0040171b
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x401586
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401a76
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.0040171b
jmp 0x4015b8

Function at 0x401650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
movsd xmm0, qword [0x4198a8]
push esi
push edi
push ecx
push ecx
movsd qword [esp], xmm0
push 0x419890
call fcn.00401006
add esp, 0xc
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4701a0], eax
push ecx
mov esi, 0x46f130
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.0040154f
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x4016c5
call fcn.004015ec
push 0x1000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4016dd
or eax, 0xffffffff
jmp 0x4016f3
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
call dword [sym.imp.KERNEL32.dll_GetSystemFileCacheSize]
xor eax, eax
pop edi
pop esi
leave
ret 0x10

Function at 0x402324
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402363
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402363
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402363
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402363
cmp dword [ecx + 0x74], 0xe
jbe 0x402363
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x408324
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155b8
push 0x4155b0
push str.FlsAlloc
push 0x1e
call fcn.00408242
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408358
push dword [ebp + 8]
mov ecx, esi
call dword [0x414118]
call esi
jmp 0x40835e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x401950
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push edi
push esi
push eax
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x47bda8], eax
push 0x27
push 0x47ae27
push 0x547
push 0x47ae4e
call section..text
add esp, 0x10
push 0x8aafdc01
push dword [0x47bda8]
call fcn.00401680
add esp, 8
mov ecx, esp
push ecx
push 0x40
push 0x4e4
push 0x47ae4e
call eax
test eax, eax
je 0x4019f0
push 0x27
push section..data
push 0x5fe00
push 0x41b027
call section..text
add esp, 0x10
push 0
push 0
push 0x41b027
push 0x47afd6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 4
pop esi
pop edi
ret 0x10

Function at 0x40288b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4028ca
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4028ca
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4028ca
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4028ca
cmp dword [ecx + 0x74], 0xe
jbe 0x4028ca
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40906d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415bd8
push 0x415bd0
push str.FlsAlloc
push 0x1e
call fcn.00408f8b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4090a1
push dword [ebp + 8]
mov ecx, esi
call dword [0x414110]
call esi
jmp 0x4090a7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4090eb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415be8
push 0x415be0
push str.FlsGetValue
push 0x20
call fcn.00408f8b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409122
push dword [ebp + 8]
mov ecx, esi
call dword [0x414110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x413670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41369d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41369d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x8ccbc2
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x8cc92e
or eax, esi
call fcn.008ccc01
dec eax
and esi, esi
xor dword [ecx], edx
add eax, esi
sub esi, 0x278e2537
add eax, esi
add ecx, 1
or esi, eax
or eax, eax
sub esi, 0x41fef690
cmp ecx, edi
jne fcn.008ccbc2
dec eax
ret
Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x413e68e0
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x31f52b06
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x23d35494
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7b9069c5
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219