joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468670
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4af6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004a6957
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00468010
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004a6885
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a306f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a306f
push 1
push 0
push 0
mov ecx, esi
call fcn.004a3017
push 1
push 0
push 1
mov ecx, esi
call fcn.004a3017
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a69c9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4687f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4af6e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004a6957
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00468010
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004a6885
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4688b4
cmp dword [esp + 0x40], 1
jne 0x4688b2
cmp ecx, eax
jge 0x4688b4
mov eax, ecx
cmp eax, 0xc8
jge 0x4688c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00468670
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a69c9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x469030
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4af753
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004a148c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004a6bff
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a8157
test eax, eax
je 0x46914c
mov ecx, dword [esp + 0x3c]
call fcn.004a6c2c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x469110
push edi
mov ecx, esi
call fcn.004a41ea
mov ecx, esi
call fcn.004692b0
cmp dword [esp + 0x38], 1
jne 0x469145
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a4354
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x46bb70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46bba3
push esi
call fcn.0046ec80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46bb9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x46bc29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46bc12
mov eax, dword [esi + 8]
test eax, eax
je 0x46bbc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46bc0e
cmp eax, 2
je 0x46bc12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46bbba
cmp eax, 3
je 0x46bbed
cmp eax, 1
jne 0x46bbba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46bbba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46bbba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046bc50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46bc38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046bc50
add esp, 4
pop esi
ret
Function at 0x47f630
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x47f67c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x47f67c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x47f666
push eax
call ebp
test ax, ax
jl 0x47f674
inc esi
add edi, 4
cmp esi, 6
jb 0x47f658
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0047f330
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x483390
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4833f0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4833f0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4833f0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4833f0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x483400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4852e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x485383
test eax, eax
jbe 0x485383
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x485383
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x48532e
xor esi, esi
jmp 0x485334
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x48535f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00435540
add esi, eax
push esi
mov ebx, esi
call fcn.00435540
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x485340
pop ebp
test edi, edi
pop edi
jne 0x485383
test ebx, ebx
je 0x485383
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00490bc0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4854c5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4855dd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4855dd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a18de
mov esi, eax
test esi, esi
je 0x4855dd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4855dd
mov ecx, esi
call fcn.00485430
cmp edi, eax
jge 0x4855dd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x485563
mov dword [esp + 0x34], 1
jmp 0x4855be
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4855dd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004849e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4a2282
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a22ba
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.004a0339
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a0311
jmp 0x4a22c6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a3973
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 0x4a39b5
call fcn.004a97e9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a39b5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a39ac
xor eax, eax
jmp 0x4a39bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a39c3
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a9d19
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 0x4a9d47
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a9d65
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a9c7f
jmp 0x4a9d65
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a9d65
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a9c7f
test edi, edi
mov eax, edi
jne 0x4a9d4f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x409e30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9193
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x18]
call fcn.00402080
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
call fcn.00408f90
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x409e7a
mov ecx, dword [ebp - 0x2c]
call fcn.00408fd0
test eax, eax
jge 0x409e8e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004020c0
jmp 0x409fd6
mov ecx, dword [ebp - 0x2c]
call fcn.00409630
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
call dword [edx + 0x14]
test eax, eax
jg 0x409ebc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004020c0
jmp 0x409fd6
call fcn.0040c350
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.0040b8d0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
call dword [edx + 0x14c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x409eec
cmp dword [ebp - 0x20], 2
jne 0x409eee
jmp 0x409f02
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004020c0
jmp 0x409fd6
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00409850
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00429470
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040b160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00403590
movzx edx, al
test edx, edx
je 0x409f97
mov ecx, dword [ebp - 0x2c]
call fcn.00408f70
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0040b090
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004020e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004020c0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x4b0ec0
lea edx, [ebp - 0x18]
push edx
call fcn.00406c90
add esp, 0x10
jmp 0x409fa3
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004020e0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004098f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004020c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004020c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004020c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40bcd0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4d3804]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x20], 0x55
mov byte [ebp - 0x1f], 0x50
mov byte [ebp - 0x1e], 0x45
mov byte [ebp - 0x1d], 0x4b
mov byte [ebp - 0x1c], 0x59
mov byte [ebp - 0x1b], 0x4a
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x53
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x4d
mov byte [ebp - 0x16], 0x51
mov byte [ebp - 0x15], 0x56
mov byte [ebp - 0x14], 0x42
mov byte [ebp - 0x13], 0x48
mov byte [ebp - 0x12], 0x5a
mov byte [ebp - 0x11], 0x57
lea ecx, [ebp + 8]
call fcn.00402160
cmp eax, 0x28
jne 0x40bd50
cmp dword [ebp + 0xc], 0
jne 0x40bd64
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004020c0
jmp 0x40be4e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x24], 0
jmp 0x40bda7
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 5
jge 0x40be3f
mov dword [ebp - 0x28], 0
jmp 0x40bdc3
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 8
jge 0x40be3a
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx*8]
push eax
lea ecx, [ebp + 8]
call fcn.0040bfb0
mov byte [ebp - 0x29], al
mov dword [ebp - 0x30], 0
jmp 0x40bdf0
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x10
jae 0x40be38
movsx edx, byte [ebp - 0x29]
mov eax, dword [ebp - 0x30]
movsx ecx, byte [ebp + eax - 0x20]
cmp edx, ecx
jne 0x40be36
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x28]
shl eax, 2
mov ecx, 0x1c
sub ecx, eax
mov edx, dword [ebp - 0x34]
shl edx, cl
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
or edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + eax*4], edx
jmp 0x40bde7
jmp 0x40bdba
jmp 0x40bd9e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004020c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0047bda9
mov esp, ebp
pop ebp
ret 8
Function at 0x417150
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9a5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [0x4d3804]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x10]
call fcn.00402080
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
push 1
mov ecx, dword [ebp - 0x58]
call fcn.0048f5aa
mov ecx, dword [ebp - 0x58]
add ecx, 0x220
call fcn.00402160
cmp eax, 3
jl 0x41723d
push 0
mov ecx, dword [ebp - 0x58]
add ecx, 0x220
call fcn.0040bfb0
movsx eax, al
cmp eax, 0x5c
jne 0x417202
push 1
mov ecx, dword [ebp - 0x58]
add ecx, 0x220
call fcn.0040bfb0
movsx ecx, al
cmp ecx, 0x5c
jne 0x417202
mov edx, dword [ebp - 0x58]
add edx, 0x220
push edx
lea ecx, [ebp - 0x10]
call fcn.004020e0
jmp 0x41723d
push 3
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x220
call fcn.00417520
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x10]
call fcn.004020e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.004020c0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x58]
add edx, 0x230
push edx
lea ecx, [ebp - 0x10]
call fcn.00429470
push eax
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x417329
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x1c], 0x200
lea ecx, [ebp - 0x50]
call fcn.00401c40
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x234]
push edx
mov eax, dword [ecx + 0x230]
push eax
call fcn.004349a0
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.00401c90
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x224
call fcn.00403700
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x240]
imul edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x18]
xor eax, eax
mov ecx, dword [ebp - 0x58]
add edx, dword [ecx + 0x238]
mov ecx, dword [ecx + 0x23c]
adc ecx, eax
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x248], edx
mov dword [eax + 0x24c], ecx
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x24c]
push eax
mov ecx, dword [edx + 0x248]
push ecx
call fcn.004349a0
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.00401c90
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x228
call fcn.00403700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00401c70
jmp 0x41737d
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x230], 0
mov dword [edx + 0x234], 0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x248], 0
mov dword [eax + 0x24c], 0
push 0x4b1fcb
mov ecx, dword [ebp - 0x58]
add ecx, 0x224
call fcn.00403700
push 0x4b1fcc
mov ecx, dword [ebp - 0x58]
add ecx, 0x228
call fcn.00403700
push 0
mov ecx, dword [ebp - 0x58]
call fcn.0048f5aa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004020c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x34]
call fcn.0047bda9
mov esp, ebp
pop ebp
ret
Function at 0x42bcf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004020a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00408320
mov edx, dword [ebp + 8]
add edx, 0x20
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
mov dword [eax + 0x34], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x434ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d3804]
mov dword [ebp - 4], eax
mov byte [ebp - 0xc], 0x4e
mov byte [ebp - 0xb], 0x54
mov byte [ebp - 0xa], 0x46
mov byte [ebp - 9], 0x53
mov byte [ebp - 8], 0x20
mov byte [ebp - 7], 0x20
mov byte [ebp - 6], 0x20
mov byte [ebp - 5], 0x20
mov byte [ebp - 0x24], 0x46
mov byte [ebp - 0x23], 0x41
mov byte [ebp - 0x22], 0x54
mov byte [ebp - 0x21], 0x31
mov byte [ebp - 0x20], 0x32
mov byte [ebp - 0x1f], 0x20
mov byte [ebp - 0x1e], 0x20
mov byte [ebp - 0x1d], 0x20
mov byte [ebp - 0x14], 0x46
mov byte [ebp - 0x13], 0x41
mov byte [ebp - 0x12], 0x54
mov byte [ebp - 0x11], 0x31
mov byte [ebp - 0x10], 0x36
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x20
mov byte [ebp - 0xd], 0x20
mov byte [ebp - 0x1c], 0x46
mov byte [ebp - 0x1b], 0x41
mov byte [ebp - 0x1a], 0x54
mov byte [ebp - 0x19], 0x33
mov byte [ebp - 0x18], 0x32
mov byte [ebp - 0x17], 0x20
mov byte [ebp - 0x16], 0x20
mov byte [ebp - 0x15], 0x20
push 8
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x36
push ecx
call fcn.0047cf90
add esp, 0xc
test eax, eax
jne 0x434f7e
mov eax, 1
jmp 0x434fe1
push 8
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
add eax, 0x36
push eax
call fcn.0047cf90
add esp, 0xc
test eax, eax
jne 0x434f9e
mov eax, 6
jmp 0x434fe1
push 8
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x52
push edx
call fcn.0047cf90
add esp, 0xc
test eax, eax
jne 0x434fbe
mov eax, 0xb
jmp 0x434fe1
push 8
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 3
push ecx
call fcn.0047cf90
add esp, 0xc
test eax, eax
jne 0x434fde
mov eax, 7
jmp 0x434fe1
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
call fcn.0047bda9
mov esp, ebp
pop ebp
ret