joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cc8eb
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 0x601e15
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00601ad8

Function at 0x601e20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00601c59

Function at 0x606087
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00605d47

Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x224422ba
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
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
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3cb51218
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4c1740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76000]
push edi
or ebp, 0xffffffff
jmp 0x4c1762
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c1769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c1758
mov eax, 1
add ebx, ebx
jne 0x4c177b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c178c
jne 0x4c17ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c17ab
dec eax
add ebx, ebx
jne 0x4c1798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c1770
add ebx, ebx
jne 0x4c17a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c17fd
xor ecx, ecx
sub eax, 3
jb 0x4c17c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c1832
sar eax, 1
mov ebp, eax
jmp 0x4c17ce
add ebx, ebx
jne 0x4c17ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c179c
inc ecx
add ebx, ebx
jne 0x4c17dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c179c
add ebx, ebx
jne 0x4c17e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c17de
jne 0x4c17fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c17de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c181c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c180e
jmp 0x4c175e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c181c
add edi, ecx
jmp 0x4c175e
pop esi
mov edi, esi
mov ecx, 0x3887
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c183a
cmp byte [edi], 0x11
jne 0x4c183a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c183f
lea edi, [esi + 0xbd000]
mov eax, dword [edi]
or eax, eax
je 0x4c18b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc2ae8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc2c3c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c186c
mov ecx, edi
jns 0x4c189b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc2c40]
or eax, eax
je 0x4c18b1
mov dword [ebx], eax
add ebx, 4
jmp 0x4c1889
call dword [esi + 0xc2c50]
mov ebp, dword [esi + 0xc2c44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c18eb
sub esp, 0xffffff80
jmp 0x417520
Function at 0x41eb67
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d015
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
call fcn.00455000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00428006
add esp, 8
test eax, eax
jne 0x41ebc7
push 0x10
push 0x46ecc0
push 0x46eccc
mov ecx, dword [ebp - 0x24]
call fcn.004505bd
push 0
call fcn.0043a8f8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x64c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x648]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x644]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x9e4
call fcn.0040b93a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x668]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x664]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x660]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0xaec
call fcn.0040b93a
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x7b4], 2
jne 0x41ec59
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x684]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x680]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x698]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xb44
call fcn.0040b93a
jmp 0x41ec85
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x684]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x680]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x67c]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xb44
call fcn.0040b93a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6bc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6b8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6b4]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xbf4
call fcn.0040b93a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6d4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6d0]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xb9c
call fcn.0040b93a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6f4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6f0]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6ec]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xa3c
call fcn.0040b93a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x710]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x708]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xa94
call fcn.0040b93a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x668]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x664]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x660]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xaec
call fcn.0040b93a
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x798]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.0041ed9c
push 1
mov ecx, dword [ebp - 0x24]
call fcn.0040b4b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00455072
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a6846
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a687e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a48d3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a48ab
jmp 0x4a688a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a7f38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a7f7a
call fcn.004ad9f5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a7f7a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a7f71
xor eax, eax
jmp 0x4a7f82
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a7f88
pop edi
pop esi
pop ebx
ret 4

Function at 0x4adf25
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4adf53
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4adf71
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ade8b
jmp 0x4adf71
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4adf71
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ade8b
test edi, edi
mov eax, edi
jne 0x4adf5b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001000
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap force flags

Disassembly:
mov eax, 0x1000d886
call fcn.1000d6d0
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push fcn.1000b9d5
push 0x1000bd1e
push 5
lea eax, [esi + 0xf0]
push 0x14
push eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x1000e260
call fcn.1000d640
xor edi, edi
lea ecx, [esi + 0x154]
mov dword [ebp - 4], edi
call fcn.1000b9c5
lea ecx, [esi + 0x164]
mov byte [ebp - 4], 1
call fcn.1000ba1a
mov dword [esi], 0x1000e20c
mov dword [esi + 0x6dc], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], 0x10
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x14
lea eax, [esi + 0xdc]
mov dword [esi + 0x24], edi
push edi
mov dword [esi + 0x28], edi
push eax
mov dword [ebp - 0x28], 0xc6cd2d3c
mov dword [ebp - 0x24], 0xc3d3f6bc
mov dword [ebp - 0x20], 0xfcbcedc8
mov dword [ebp - 0x1c], 0xe4caccc5
mov dword [ebp - 0x18], 0xdcc3ebc8
mov dword [ebp - 0x14], 0xebc2
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0x17c], 1
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x3b8], edi
call sub.MSVCRT.dll_memset
lea ebx, [esi + 0x4c]
push 0x64
push edi
push ebx
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x28]
push 0x18
push eax
push ebx
call sub.MSVCRT.dll_memcpy
push 0x208
lea eax, [esi + 0x1a8]
push edi
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [esi + 0x3bc]
push edi
push eax
mov dword [esi + 0x3b0], edi
mov dword [esi + 0x3b4], edi
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x1a4], edi
mov dword [esi + 0xb4], edi
call sub.MSVCRT.dll_memset
mov ebx, 0x104
lea eax, [esi + 0x3d0]
push ebx
push edi
push eax
mov dword [esi + 0x3cc], edi
call sub.MSVCRT.dll_memset
add esp, 0x48
lea eax, [esi + 0x5d8]
push ebx
push edi
push eax
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi + 0x6e0], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100045c2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetMessageTime]
cmp dword [ebp + 8], 0x1404
jne 0x100045e3
mov dword [esi + 0x3b4], 1
mov ecx, dword [esi + 0x18c]
cmp ecx, eax
jne 0x10004667
cmp dword [ebp + 8], 0x100
jne 0x100046b1
push 0x39
and ecx, 1
pop edi
cmp cl, 1
push 0x30
pop ebx
jne 0x1000460e
push 0x5a
pop edi
push 0x41
pop ebx
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp eax, 0x21
je 0x10004623
cmp eax, 0x22
je 0x10004623
mov cl, byte [ebp + 0xc]
jmp 0x1000463c
push dword [ebp + 0xc]
mov eax, dword [esi + 0x164]
lea ecx, [esi + 0x164]
push dword [esi + 0xbc]
call dword [eax]
mov cl, al
mov eax, dword [esi + 0x18c]
sub edi, ebx
inc edi
xor edx, edx
div edi
movzx eax, cl
add edx, ebx
cmp edx, eax
jne 0x10004670
and dword [esi + 0x18c], 0
push 1
pop eax
mov dword [esi + 0x198], eax
jmp 0x10004c2a
cmp dword [ebp + 8], 0x100
jne 0x100046b1
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x60
jb 0x100046f6
cmp ebx, 0x69
ja 0x100046f6
push ecx
call 0x10004687
js 0xfb595774
add dl, byte [eax + 0x33]
add ecx, 2
jmp 0x10004693
push ecx
ret
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 8], 0x102
jne 0x100046f6
cmp ebx, 0x16
je 0x100046f6
push ecx
call 0x100046ce
js 0x20ebcedd
pop ecx
jmp 0x100046d3
add ecx, 4
jmp 0x100046da
push ecx
ret
cmp ebx, 0x1403
jne 0x10004730
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
sub eax, 0
je 0x1000471d
dec eax
jne 0x10004c23
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x10004c23
push dword [esi + 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
jmp 0x10004c23
cmp dword [ebp + 8], 0x100
jne 0x10004a93
push ecx
call 0x10004747
js 0xfb595834
add dl, byte [eax + 0x33]
add ecx, 2
jmp 0x10004753
push ecx
ret
cmp dword [ebp + 8], 0x102
jne 0x10004c28
cmp dword [esi + 0x198], 0
jne 0x10004c28
cmp ebx, 3
je 0x10004c23
cmp ebx, 8
je 0x10004c23
cmp ebx, 0xd
je 0x10004c23
cmp ebx, 0x16
je 0x10004c23
cmp ebx, 0x1b
je 0x10004c23
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, 0x8080
jne 0x10004c23
push ecx
call 0x10004af8
js 0x20ebd307
pop ecx
jmp 0x10004afd
add ecx, 4
jmp 0x10004b04
push ecx
ret
push 1
pop eax
jmp 0x10004c2a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1000b7db
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x1000b7e9
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 8
push edi
not eax
mov edx, 0xff
jl 0x1000b8d3
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [ecx]
mov esi, eax
and esi, edx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x1000e338]
xor eax, ebx
inc ecx
mov esi, eax
movzx ebx, byte [ecx]
and esi, edx
xor esi, ebx
movzx ebx, byte [ecx + 1]
mov esi, dword [esi*4 + 0x1000e338]
shr eax, 8
xor esi, eax
inc ecx
mov eax, esi
and eax, edx
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1000e338]
shr esi, 8
xor eax, esi
inc ecx
mov esi, eax
and esi, edx
xor esi, ebx
movzx ebx, byte [ecx + 1]
mov esi, dword [esi*4 + 0x1000e338]
shr eax, 8
xor esi, eax
inc ecx
mov eax, esi
and eax, edx
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1000e338]
shr esi, 8
xor eax, esi
inc ecx
mov esi, eax
and esi, edx
xor esi, ebx
movzx ebx, byte [ecx + 1]
mov esi, dword [esi*4 + 0x1000e338]
shr eax, 8
xor esi, eax
inc ecx
mov eax, esi
and eax, edx
xor eax, ebx
movzx ebx, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1000e338]
shr esi, 8
xor eax, esi
inc ecx
mov esi, eax
and esi, edx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x1000e338]
xor eax, esi
inc ecx
dec edi
jne 0x1000b811
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1000b8f0
movzx ebx, byte [ecx]
mov edi, eax
and edi, edx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x1000e338]
xor eax, edi
inc ecx
dec esi
jne 0x1000b8d7
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1000c773
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e768
push 0x1000d6fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
push 1
pop edi
push edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000c7dd
mov dword [ebp - 0x20], esi
cmp word [esi], 0x5a4d
jne 0x1000c7dd
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x24], eax
cmp dword [eax], 0x4550
jne 0x1000c7dd
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], edi
jmp 0x1000c7e1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x53d07a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x4c
call fcn.00545490
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.00545490
aam 0x83
add byte [eax], al
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x712134
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.00545490
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0xa993fd
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0xc
call fcn.00545490
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 4
push ebx
push 0x1c
call fcn.00545490
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.00545490
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x48
call fcn.00545490
add esp, 4
pop ebx
mov dword [ebx], eax

Function at 0x53d108
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x4c
call fcn.00545490
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.00545490
aam 0x83
add byte [eax], al
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x712134
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.00545490
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0xa993fd
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0xc
call fcn.00545490
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 4
push ebx
push 0x1c
call fcn.00545490
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.00545490
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x48
call fcn.00545490
add esp, 4
pop ebx
mov dword [ebx], eax
Function at 0x544ee8
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10185ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004be9d8
mov ebp, dword [0x10197074]
mov dword [esp + 0x24], eax
add eax, 4
push eax
mov dword [esp + 0x24], 0x101975f4
mov dword [esp + 0x20], eax
call ebp
mov edi, dword [esp + 0x38]
xor ebx, ebx
or eax, 0xffffffff
cmp edi, eax
mov dword [esp + 0x30], ebx
jne 0x544f81
cmp byte [esi + 0x5800], bl
je 0x544f57
mov dword [esi + 0x5808], 2
jmp 0x544f61
mov dword [esi + 0x5808], 3
cmp dword [esi + 0x583c], eax
je 0x544ff2
call dword [0x10197084]
mov dword [esi + 0x5840], eax
mov dword [esi + 0x5854], ebx
jmp 0x544ff2
cmp byte [esi + 0x5800], bl
je 0x544f91
mov dword [esi + 0x5808], ebx
jmp 0x544f9b
mov dword [esi + 0x5808], 1
cmp dword [esi + 0x583c], eax
jne 0x544ff2
call dword [0x10197084]
mov ecx, dword [esi + 0x5840]
cmp eax, ecx
jb 0x544fb7
sub eax, ecx
jmp 0x544fbc
sub eax, ecx
sub eax, 1
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esi + 0x5690]
mov ecx, dword [esi + 0x568c]
shr edx, 6
add dword [esi + 0x5680], edx
cmp eax, ecx
mov dword [esi + 0x5840], ebx
ja 0x544fe6
mov eax, ecx
mov dword [esi + 0x568c], eax
mov dword [esi + 0x5690], ebx
mov bl, 0x64
mov dword [esi + 0x583c], edi
cmp byte [0x101c5039], bl
jbe 0x545008
mov byte [0x101c5039], bl
mov eax, dword [esi + 0x5808]
cmp eax, 3
ja 0x54519c
jmp dword [eax*4 + 0x100aa5d8]
mov edx, dword [esp + 0x1c]
push edx
call dword [0x10197078]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4

Function at 0x548308
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101860d6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
mov ax, word [edi]
mov word [esi], ax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
lea eax, [edi + 0x14]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0049c5f8
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x28], ebx
mov byte [ecx + 4], bl
call fcn.0049c5f8
push 0xffffffffffffffff
lea ecx, [esi + 0x4c]
lea eax, [edi + 0x4c]
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x28], 1
mov byte [ecx + 4], bl
call fcn.0049c5f8
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 4