joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021db0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10021df9
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10021de8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
jmp 0x10021df4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x10021f48
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10021e42
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10021f48
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x10021f17
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10021eb4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10021eb4
mov dword [ebp - 0x14], 1
jmp 0x10021eb8
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
cmp ecx, 0x44d0289a
jle 0x10021ed1
mov dword [ebp - 0x18], 1
jmp 0x10021ed5
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jne 0x10021eec
xor eax, eax
je 0x10021eec
mov dword [ebp - 0xc], 1
jmp 0x10021ef0
and dword [ebp - 0xc], 0
push 3
mov ecx, dword [ebp - 0x5c]
call fcn.1002273f
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0
je 0x10021f17
mov eax, 0x9c710427
test eax, eax
je 0x10021f17
mov dword [ebp - 0x1c], 1
jmp 0x10021f1b
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x2c6e
jle 0x10021f2d
mov dword [ebp - 0x10], 1
jmp 0x10021f31
and dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 0x60]
call fcn.1002273f
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002a9cf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002a9f1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 1
call fcn.1002aa50
pop ecx
pop ecx
jmp 0x1002aa4c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002aa21
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002aa1f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x1002aa4c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x1002b64a
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002b68a
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 1
push 0x7cd7
push 0x69e4
push 0x752b
push 0x3ee9
push dword [ebp - 8]
call fcn.1002b6ae
add esp, 0x1c
jmp 0x1002b6aa
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002b6a2
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1002b6aa
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x100310e2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10031168
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003111b
push 0xfef
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x10031166
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10031149
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10031166
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002273f
mov dword [eax], 1
jmp 0x1003113e
jmp 0x10031194
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x4f2
push 1
push 0x436b
push 0x7614
push 0x57b9
push 0x365c
call fcn.10027174
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x10033f6a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10033fff
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10033fe5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x10033fb4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x10033fe3
push 0x4fde
push 0x3eca
push 0
push 0x10fa
push 0x148c
push 1
push 0x4b66
call fcn.100334a7
add esp, 0x1c
jmp 0x10033fa9
jmp 0x10033ffd
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10033ffd
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x10034007
push 0
call fcn.10038fce
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10039513
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10039590
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10039563
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10039561
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x1003958e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.1002273f
mov dword [eax], 0xf14c90d2
jmp 0x100395b6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
push 0x3b90
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0x5318
push 0
call fcn.1002cdb9
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10043b9f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x10043c93
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10043c37
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x3c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x10043c8e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ecx]
jne 0x10043c5b
and dword [ebp - 0xc], 0
jmp 0x10043c7c
call fcn.1005bf05
mov esi, eax
call fcn.1005bf05
imul esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edi, dword [eax]
sub edi, dword [ecx]
mov eax, esi
cdq
idiv edi
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
jmp 0x10043d13
jmp 0x10043d13
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10043ce7
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
push 0xf
push 5
call fcn.100420f0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
mov dword [ecx + 4], eax
jmp 0x10043d13
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x10043d13
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1004c298
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004c316
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004c2cc
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x1004c314
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004c2fa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1004c314
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002273f
and dword [eax], 0
jmp 0x1004c2ef
jmp 0x1004c34d
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
push 0x70a
push 0
mov eax, dword [ebp - 0x20]
push dword [eax]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push dword [eax]
push dword [ebp - 0x2c]
call fcn.1004fdce
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x1004c8c6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1004c959
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004c941
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004c922
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1004c93f
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1002273f
mov dword [eax], 1
jmp 0x1004c917
jmp 0x1004c957
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1004c991
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
push 0x5188
push dword [ebp - 0x20]
push 1
push 0x4e4
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.1004c71d
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x1005133b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100513a6
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1005138b
mov byte [ebp - 1], 0
push 0x26ce
push 1
push 1
push 1
lea eax, [ebp - 1]
push eax
push 0x14f8
push 0x52c9
push 0x475e
push 0x7ffe
call fcn.1005073f
add esp, 0x24
jmp 0x100513a1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10051501
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x100514f1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x100513f4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jg 0x100514ef
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002273f
cmp dword [eax], 0
jne 0x100514bb
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002273f
cmp dword [eax], 0xc857
jne 0x10051434
mov dword [ebp - 0x10], 1
jmp 0x10051438
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002273f
push 5
pop esi
sub esi, dword [eax]
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002273f
cmp esi, dword [eax]
jne 0x10051469
mov dword [ebp - 0x14], 1
jmp 0x1005146d
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x3e1b
jg 0x1005147f
mov dword [ebp - 0x18], 1
jmp 0x10051483
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 0xc]
call fcn.1002273f
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jge 0x1005149d
mov dword [ebp - 0x1c], 1
jmp 0x100514a1
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002273f
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
jne 0x100514bb
and dword [ebp - 0x20], 0
jmp 0x100514c2
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 0x8d5f
jge 0x100514d4
mov dword [ebp - 0x24], 1
jmp 0x100514d8
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.1002273f
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x100513e9
jmp 0x10051501
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_ExtCreatePen]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006cdf5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10076748]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005f428
mov dword [ebp - 0x14], eax
cmp dword [0x10619f3c], esi
jne 0x1006cee8
push 0x800
push esi
push 0x10007534
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1006ce75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006cfc8
push esi
push esi
push 0x10007534
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006cfc8
push 0x1000754c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006cfc8
push eax
call ebx
push 0x10007558
push edi
mov dword [0x10619f3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007568
push edi
mov dword [0x10619f40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000757c
push edi
mov dword [0x10619f44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10619f4c], eax
test eax, eax
je 0x1006cee5
push 0x10007598
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10619f48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006cf0d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1006cf00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1006cf22
push 4
pop eax
jmp 0x1006cfca
cmp dword [ebp - 0x14], esi
je 0x1006cf22
push dword [0x10619f3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1006cf07
mov eax, dword [0x10619f48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006cf80
cmp dword [0x10619f4c], edi
je 0x1006cf80
push eax
call ebx
push dword [0x10619f4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006cf80
test eax, eax
je 0x1006cf80
call ecx
test eax, eax
je 0x1006cf75
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1006cf75
test byte [ebp - 8], 1
jne 0x1006cf80
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006cfb0
mov eax, dword [0x10619f40]
cmp eax, edi
je 0x1006cfad
push eax
call ebx
test eax, eax
je 0x1006cfad
call eax
mov esi, eax
test esi, esi
je 0x1006cfad
mov eax, dword [0x10619f44]
cmp eax, edi
je 0x1006cfad
push eax
call ebx
test eax, eax
je 0x1006cfad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10619f3c]
call ebx
test eax, eax
je 0x1006cfc8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006cfca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005c78e
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x404704f7
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x18972ab0
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40941c
Capabilities:
Encode data using xor

Disassembly:
push 0x7f
sub esp, dword [edi + 0x3f]
popal
adc eax, 0x8db6ad0e
add bl, byte [ecx + 0x61]
fnstsw word [ebp + 0x1e]
push esi
mov gs, word [ebx]
rcr dword [esi - 0x6242f178], 0xd2
sbb bl, bl
pop ebp
bts dword [ecx + 0x166afe01], 0xd8
outsd dx, dword [esi]
pop ss
call 0x2e0e9b10
xor dh, byte [edi + 0x1551d2d]
mov cl, 0xdb
push 0xdea91288
movsb byte es:[edi], byte [esi]
mov dword [0x1aaf8cf], eax
xlatb
sahf
js 0x4094d1
jb 0x40940a
stosb byte es:[edi], al
dec edi
push edx
sbb byte [ebx + 0x5b], bh
mov ecx, dword [ebx - 0x43f75ab]
sub ah, byte [ebx - 0x1a999196]
not dword [eax]
sbb byte [esi], dl
fnstsw word [edx - 0x2b]
pop gs
mov ecx, 0xaa103f62
in al, dx
sub bl, bh
mov byte [0xcc8130a4], al
in eax, dx
imul byte [ecx + ebx*2]
pop ecx
mov dh, 0x6a
add byte [ebp + 0x30], cl
test al, 0x9f
aaa
xor ebp, dword [eax + ebx*8 - 0x17]
push ecx
wait
push es
out dx, eax
mul byte [ecx - 0x659ce4b5]
cmovnp eax, dword [edx - 0x2a]
sub al, 0x7f
mov esi, 0x2ac8ce42
loopne 0x40945e
invalid
loop 0x40948a
sti
mov eax, 0xadb1fea1
add al, 0x6b
adc eax, 0x83c584b
test dword [ebp + 0x4fe9c40f], 0x16c4668c
or al, 0xe6
aas
les esi, [si]
cdq
dec esp
stc
movsd dword es:[edi], dword [esi]
call 0xf3d62e51
mov eax, dword [0x9d782fcd]
imul eax, eax, 0xffffffa7
sub dword [edx + 0x68], ecx
shl edx, 1
mov byte [eax + 0x664d1018], 0xe1
retf

Function at 0x42791c
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
xor eax, esp
mov edx, dword [ebx]
hlt
les ecx, [ebx + 0x3217f413]
mov edi, ebx
inc edi
cli
xor byte [edi - 0x7c], ch
xchg esp, esp
and ch, bl
jle 0x4278e6
sub eax, 0xabaeda76
js 0x427971
xchg esp, eax
xor eax, 0xda4349cc
jnp 0x427966
outsd dx, dword [esi]
adc dl, byte [edx - 0x6936e63a]
arpl word [edi - 0x40], ax
imul esi, dword [esi + 0x6a], 0x2005d3c2
inc edi
leave
push gs
mov dh, 0xb1
sub esp, dword [ecx - 0x667adb2f]
lcall 0x1be, 0x8bd292ba
cmc
xor al, 0x27
popal
xor cl, al
sbb byte [edi], ah
sahf
sub dl, dl
mov gs, word [edx + 0x4a]
cmpsb byte [esi], byte es:[edi]
out 0x3c, eax
unpckhps xmm7, xmmword [esi - 0x716b3e12]
jo 0x42792f
xchg esp, eax
invalid
jl 0x4278fb
enter 0x22e8, 0x79
dec esi
dec eax
jp 0x4278e8
invalid
ljmp 0xeae7:0xa96332fe
sub bl, bl
rcl byte [edi + 0x4a], 0x8f
lahf
leave
xchg ecx, eax
inc edi
sbb dword [edi + 0x52], 0xffffffd0
jl 0x427945
pop es
invalid

Function at 0x46f07c
Capabilities:
Encode data using xor

Disassembly:
and eax, 0xe8150b34
xchg edx, eax
lea eax, [ebx]
sbb dword [edx], 0xd
in al, 0x78
jne 0x46f0e3
call 0x4b52fa33
pop ss