joyce8/EMBER2024-capa huggingface dataset:
Function at 0x20012930
Capabilities:
Get disk size

Disassembly:
sub esp, 0x490
or ecx, 0xffffffff
xor eax, eax
push esi
mov esi, dword [esp + 0x498]
push edi
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x20012aae
mov ecx, 0xff
lea edi, [esp + 0x99]
mov byte [esp + 0x98], al
mov dword [esp + 0xc], 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push 0x20021954
push 0x80000000
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x20012aae
lea ecx, [esp + 0xc]
lea edx, [esp + 0x98]
push ecx
push edx
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
lea edx, [esp + 0x98]
push edx
call dword [0x2001a240]
test eax, eax
je 0x20012aae
lea eax, [esp + 0x98]
push 0x200210c0
push eax
call dword [0x2001a32c]
add esp, 8
test eax, eax
je 0x20012aae
push esi
push eax
call dword [0x2001a23c]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4a0]
mov dword [esp + 0x54], 0x44
test eax, eax
mov dword [esp + 0x80], 1
mov word [esp + 0x84], ax
je 0x20012a70
mov ecx, dword [0x2002194c]
mov dl, byte [0x20021950]
mov dword [esp + 0x20], ecx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], dl
mov esi, dword [0x2001a24c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
push 0x20021944
push eax
call esi
lea ecx, [esp + 0x20]
push 0x2002193c
push ecx
call esi
lea edx, [esp + 0x20]
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0xb4]
push 0
push edx
push 0
call dword [0x2001a248]
test eax, eax
je 0x20012aae
mov eax, dword [esp + 0x14]
mov esi, dword [0x2001a21c]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
xor al, al
pop esi
add esp, 0x490
ret

Function at 0x20012ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
pushal
mov eax, dword fs:[0x30]
mov edx, dword [eax + 0xc]
add edx, 0x14
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x20012b01
mov esi, dword [edx + 0x28]
mov edi, dword [ebp + 8]
mov bx, word [esi]
mov bh, byte [edi]
cmp bl, 0x5a
jg 0x20012af5
cmp bl, 0x41
jl 0x20012af5
add bl, 0x20
cmp bl, bh
jne 0x20012ad4
inc esi
inc esi
inc edi
test bx, bx
jne 0x20012ae3
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x200133d0
Capabilities:
Enumerate devices by category

Disassembly:
push 0xffffffffffffffff
push 0x2001955b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
lea eax, [esp + 0x14]
push ebp
push eax
xor ebp, ebp
push 0x2001e258
push 1
push ebp
push 0x2001e2e8
mov byte [esp + 0x1b], 0
call dword [0x2001a5e8]
cmp eax, ebp
je 0x20013427
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 8]
push ebp
push edx
mov ecx, dword [eax]
push 0x2001e2d8
push eax
mov dword [esp + 0x844], ebp
call dword [ecx + 0xc]
cmp eax, ebp
je 0x2001347c
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebp
je 0x20013464
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
pop ebp
mov ecx, dword [esp + 0x828]
mov dword fs:[0], ecx
add esp, 0x834
ret
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jne 0x2001358f
push ebx
mov ebx, dword [0x2001a2b4]
push esi
mov esi, dword [esp + 0x844]
push edi
mov edi, dword [0x2001a240]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x2001ad20
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x20013564
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push 0
mov word [esp + 0x2c], 8
mov ecx, dword [eax]
push edx
push 0x20021314
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x2001355a
mov eax, dword [esp + 0x30]
push eax
call dword [0x2001a340]
add esp, 4
test eax, eax
jbe 0x2001355a
test esi, esi
je 0x20013556
mov edx, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x40]
push 0x800
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call ebx
lea eax, [esp + 0x38]
push 0x64
push eax
push esi
call dword [0x2001a33c]
add esp, 0xc
push esi
call edi
push esi
lea ebp, [eax + ebp + 1]
call edi
mov ecx, dword [esp + 0x30]
lea esi, [esi + eax + 1]
push ecx
call dword [0x2001a3dc]
inc byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je 0x200134ba
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x840]
test eax, eax
je 0x2001359c
mov dword [eax], ebp
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
test eax, eax
je 0x200135b5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x82c]
mov al, byte [esp + 7]
pop ebp
mov dword fs:[0], ecx
add esp, 0x834
ret
Function at 0x200135d0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
xor esi, esi
mov ebp, ecx
test ebx, ebx
jle 0x20013620
push edi
mov edi, ebx
sub edi, esi
cmp edi, 0x32
jbe 0x200135ee
mov edi, 0x32
mov eax, dword [ebp + 0xc0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push esi
push 0
push ecx
push edi
push edx
push esi
push 0
push eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringA]
push 5
call dword [0x2001a298]
add esi, edi
cmp esi, ebx
jl 0x200135e0
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x20016000
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2001ac30
push 0x200192a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], ebx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
test eax, eax
je 0x200160de
lea ecx, [ebp - 0x38]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x200160de
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov edi, eax
add edi, 0x10
mov dword [ebp - 0x2c], edi
push edi
push 8
call dword [0x2001a300]
push eax
call dword [0x2001a304]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x200160de
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0xffffffff
call fcn.2001611c
cmp dword [ebp - 0x24], ebx
jne 0x2001612b
cmp esi, ebx
je 0x20016102
push esi
push ebx
call dword [0x2001a300]
push eax
call dword [0x2001a2fc]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
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
pop eax
nop
nop
nop
nop
nop
mov esi, 0x521638f9
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x11566845
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x30a026db
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x13a15814
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402fb4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x49f008], 0x8088405
inc edx
mov dword [ebx + 0x49f008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d584
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41d58a
ret

Function at 0x42a114
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42a2c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404ab0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42a2dc
call fcn.0040470c
mov eax, ebx
call fcn.0041b4c0
mov edi, eax
dec edi
test edi, edi
jl 0x42a1cc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b494
mov edx, dword [0x44b6d0]
call fcn.00403788
test al, al
je 0x42a1c8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b494
lea edx, [ebp - 0x14]
call fcn.00457698
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404ab0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404780
inc esi
dec edi
jne 0x42a17a
mov al, byte [0x42a2e0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42a2ec
mov eax, dword [ebp - 0xc]
call fcn.0040d3a8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404498
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00457698
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42a2dc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00457698
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42a2dc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42a2dc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42a2f8
call fcn.00409308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a2cc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404424
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404424
lea eax, [ebp - 0x14]
call fcn.00404400
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404424
ret
Function at 0x48a0a4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4a0298]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x48a0e0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x48a0f8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48a0f1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402f94
xor edx, edx
mov eax, 0x4a0498
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x48a162
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x48a116
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x48a3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x48a3b9
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x48a3b2
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x48a3cb
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48a3c4
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00489f94
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x48a3e5
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0048a0a4
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x48a46a
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x48a487
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0048a024
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x48a4b0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48a4c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x48a4e1
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48a4da
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x48a4f5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00489e8c
test bl, bl
jne 0x48a5c8
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4a340c
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48a52c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x48a540
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048a3a0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x48a572
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x48a521
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x48a595
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x48a5a6
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x48a5ba
jmp 0x48a683
cmp bl, 1
jne 0x48a683
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4a3466
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x48a5e8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x48a5fc
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0048a3a0
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x48a62e
sub ebx, 6
inc dword [ebp - 8]
jne 0x48a5dd
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x48a655
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x48a666
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x48a67a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00489f10
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x49b480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x49b488
push ebx
push esi
mov ebx, eax
mov esi, dword [0x4a0954]
xor eax, eax
push ebp
push 0x49b61f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [esi + 0x24]
call fcn.00408598
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x5ec]
call fcn.004576c8
lea edx, [ebp - 8]
mov eax, dword [esi + 0x28]
call fcn.00408598
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x5b8]
call fcn.004576c8
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x2c]
call fcn.00408598
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x5bc]
call fcn.004576c8
lea edx, [ebp - 0x10]
mov eax, dword [esi + 0x30]
call fcn.00408598
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x5c0]
call fcn.004576c8
lea edx, [ebp - 0x14]
mov eax, dword [esi + 0x34]
call fcn.00408598
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x5c4]
call fcn.004576c8
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.00408598
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x7a4]
call fcn.004576c8
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 4]
call fcn.00408598
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x7ac]
call fcn.004576c8
lea edx, [ebp - 0x20]
mov eax, dword [esi + 8]
call fcn.00408598
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x7b4]
call fcn.004576c8
lea edx, [ebp - 0x24]
mov eax, dword [esi + 0xc]
call fcn.00408598
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x5cc]
call fcn.004576c8
lea edx, [ebp - 0x28]
mov eax, dword [esi + 0x10]
call fcn.00408598
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x5e4]
call fcn.004576c8
lea edx, [ebp - 0x2c]
mov eax, dword [esi + 0x14]
call fcn.00408598
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x5e8]
call fcn.004576c8
lea edx, [ebp - 0x30]
mov eax, dword [esi + 0x18]
call fcn.00408598
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x6dc]
call fcn.004576c8
lea edx, [ebp - 0x34]
mov eax, dword [esi + 0x1c]
call fcn.00408598
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x6e0]
call fcn.004576c8
lea edx, [ebp - 0x38]
mov eax, dword [esi + 0x20]
call fcn.00408598
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x6e4]
call fcn.004576c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b626
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.00404424
ret
Function at 0x40f7c6
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x40f841
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x40f976
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x40f81d
push str.CreateThread_failed
push 0x43cbd8
call fcn.00406b2c
pop ecx
pop ecx
mov ecx, 0x43cbd8
call fcn.00406c5c
push 2
mov ecx, 0x43cbd8
call fcn.00406b27
mov dword [edi], ebp
inc dword [esi + 0x84]
mov eax, dword [0x441e60]
test eax, eax
je 0x40f837
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x40f7d6
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x4126e0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x412733
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41272e
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x412718
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x412720
cmp edx, ebx
jne 0x41286e
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4126ef
add eax, dword [eax + 4]
jmp 0x4126dc
mov dword [ebp + 0xc], ebx
jmp 0x41273e
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x412756
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x412774
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4127d2
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4127b9
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4127c2
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4127cc
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4127ae
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x412738
mov dword [ebp + 8], esi
xor edi, edi