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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10004f51
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.10019e30
add esp, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10004e9e
push ebx
call fcn.100189cb
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x10004f44
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x184
call fcn.10019880
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10004edb
push ebx
call fcn.100189cb
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10004f44
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
nop
nop
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10004f3f
push eax
mov ebx, eax
call fcn.10002bed
inc eax
push eax
call fcn.100189c5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10004f5b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
nop
nop
nop
mov eax, 0x1001e234
jmp 0x10004f5b
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10004f6c
push ebx
call fcn.100189cb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7fa390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x7fa3f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x7fa3e7
mov edx, dword [0x8689c0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x7fa3db
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x7fa3c0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x7fa3e9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x800a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x800a6c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x800ab3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0082aa98
add esp, 8
test eax, eax
jne 0x800ab1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x800ab5
jmp 0x800a63
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x80dd70
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
mov eax, dword [0x85a2e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00809280
add esp, 4
movzx edx, al
test edx, edx
je 0x80de01
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0081f940
add esp, 0xc
mov dword [ebp - 0x2d8], 0x10001
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x80ddff
mov edx, dword [ebp - 0x220]
cmp edx, dword [ebp + 0xc]
jne 0x80ddff
jmp 0x80de01
jmp 0x80dd83
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00820095
mov esp, ebp
pop ebp
ret
Function at 0x810cb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x834d07
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x85a2e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0080f410
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0080f410
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0080f410
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.008106b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.008106b0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.008106b0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x810ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x834db7
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x85a2e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.0080f2d0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0080f2d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.0080f2d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x44
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.008106d0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.008106d0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x104
call fcn.008106d0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x30]
mov word [edx + 0x30], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x32]
mov word [edx + 0x32], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x81aede
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x81af63
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.0081f9c0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x81af26
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x81af48
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x81afbe
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.0081acac
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0x81afaa
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x81afbe
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x81aee7
pop esi
pop ebx
leave
ret
Function at 0x820095
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x85a2e0]
jne 0x82009f
repz ret
jmp fcn.008266c1

Function at 0x826fd8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x85a5e0]
je 0x826ff3
inc edi
cmp edi, 0x17
jb 0x826fe4
cmp edi, 0x17
jae 0x827173
push ebp
push 3
call fcn.0082d494
cmp eax, 1
pop ecx
je 0x82713f
push 3
call fcn.0082d494
test eax, eax
pop ecx
jne 0x827027
cmp dword [0x85a420], 1
je 0x82713f
cmp ebx, 0xfc
je 0x827172
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x869fe0
push ebp
call fcn.00826e6c
add esp, 0xc
test eax, eax
je 0x82705d
push esi
push esi
push esi
push esi
push esi
call fcn.008222bb
add esp, 0x14
push 0x104
mov esi, 0x869ff9
push esi
push 0
mov byte [0x86a0fd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x8270a1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00826e6c
add esp, 0xc
test eax, eax
je 0x8270a1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.008222bb
add esp, 0x14
push esi
call fcn.00821d90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x8270e6
push esi
call fcn.00821d90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x86a2f4
push 0x861190
sub ecx, eax
push ecx
push eax
call fcn.0082bfe8
add esp, 0x14
test eax, eax
je 0x8270e6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.008222bb
add esp, 0x14
jmp 0x8270e8
xor esi, esi
push 0x85ba58
push ebx
push ebp
call fcn.0082bf77
add esp, 0xc
test eax, eax
je 0x827108
push esi
push esi
push esi
push esi
push esi
call fcn.008222bb
add esp, 0x14
push dword [edi*8 + 0x85a5e4]
push ebx
push ebp
call fcn.0082bf77
add esp, 0xc
test eax, eax
je 0x82712a
push esi
push esi
push esi
push esi
push esi
call fcn.008222bb
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0082d2d7
add esp, 0xc
jmp 0x827172
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x827172
cmp ebp, 0xffffffff
je 0x827172
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x85a5e4]
push dword [esi]
call fcn.00821d90
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x82d2d7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0082689f
xor ebx, ebx
cmp dword [0x86a6c0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x82d3ad
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x82d48d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x8622b0
push edi
call esi
cmp eax, ebx
je 0x82d48d
push eax
call fcn.00826831
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x86a6c0], eax
call esi
push eax
call fcn.00826831
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x86a6c4], eax
call esi
push eax
call fcn.00826831
mov dword [0x86a6c8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.008225f0
test eax, eax
pop ecx
pop ecx
je 0x82d37b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.008222bb
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x82d3ad
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00826831
cmp eax, ebx
pop ecx
mov dword [0x86a6d0], eax
je 0x82d3ad
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00826831
pop ecx
mov dword [0x86a6cc], eax
mov eax, dword [0x86a6cc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x82d432
cmp dword [0x86a6d0], ecx
je 0x82d432
push eax
call fcn.008268a8
push dword [0x86a6d0]
mov esi, eax
call fcn.008268a8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x82d432
cmp edi, ebx
je 0x82d432
call esi
cmp eax, ebx
je 0x82d3ff
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x82d3ff
test byte [ebp - 0x18], 1
jne 0x82d432
lea eax, [ebp - 0x10]
push eax
call fcn.00822627
test eax, eax
pop ecx
je 0x82d41a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.008222bb
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x82d429
or dword [ebp + 0x10], 0x200000
jmp 0x82d46d
or dword [ebp + 0x10], 0x40000
jmp 0x82d46d
mov eax, dword [0x86a6c4]
cmp eax, dword [ebp - 8]
je 0x82d46d
push eax
call fcn.008268a8
cmp eax, ebx
pop ecx
je 0x82d46d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x82d46d
mov eax, dword [0x86a6c8]
cmp eax, dword [ebp - 8]
je 0x82d46d
push eax
call fcn.008268a8
cmp eax, ebx
pop ecx
je 0x82d46d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x86a6c0]
call fcn.008268a8
cmp eax, ebx
pop ecx
je 0x82d48d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x82d48f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4070d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4070b9
movzx ecx, word [edx + 0x26]
jmp 0x4070c8
mov esi, dword [edx + 0x28]
xor edi, edi
nop
xor eax, eax
lodsb al, byte [esi]
nop
jmp 0x4070e1
cmp al, 0x61
nop
jl 0x407103
nop
jmp 0x4070f2
sub al, 0x20
nop
jmp 0x407103
jmp 0x407114
ror edi, 0xd
nop
add edi, eax
nop
dec ecx
jne 0x4070cd
nop
push edx
jmp 0x407131
push edi
nop
mov edx, dword [edx + 0x10]
jmp 0x407144
mov eax, dword [edx + 0x3c]
jmp 0x407158
add eax, edx
nop
jmp 0x407167
mov eax, dword [eax + 0x78]
nop
test eax, eax
jmp 0x40717a
invalid
je 0x407338
jmp 0x407190
add eax, edx
nop
jmp 0x40719f
mov ecx, dword [eax + 0x18]
push eax
nop
jmp 0x4071b3
mov ebx, dword [eax + 0x20]
nop
jmp 0x4071c6
add ebx, edx
nop
test ecx, ecx
nop
je 0x407324
nop
nop
dec ecx
nop
xor edi, edi
nop
mov esi, dword [ebx + ecx*4]
add esi, edx
nop
jmp 0x4071ee
xor eax, eax
ror edi, 0xd
nop
lodsb al, byte [esi]
add edi, eax
jmp 0x407207
cmp al, ah
nop
jmp 0x407219
jne 0x4071df
nop
jmp 0x40722c
add edi, dword [ebp - 8]
nop
jmp 0x407241
cmp edi, dword [ebp + 0x24]
nop
jmp 0x407255
jne 0x4071c8
nop
pop eax
jmp 0x40726a
mov ebx, dword [eax + 0x24]
nop
add ebx, edx
nop
mov cx, word [ebx + ecx*2]
nop
jmp 0x407285
mov ebx, dword [eax + 0x1c]
nop
jmp 0x40729c
add ebx, edx
mov eax, dword [ebx + ecx*4]
jmp 0x4072b4
add eax, edx
mov dword [esp + 0x24], eax
jmp 0x4072c7
pop ebx
nop
jmp 0x4072dd
pop ebx
jmp 0x4072ee
popal
pop ecx
jmp 0x4072fd
pop edx
nop
jmp 0x407312
push ecx
jmp eax
nop
pop eax
jmp 0x407338
nop
pop edi
nop
jmp 0x40734a
pop edx
nop
mov edx, dword [edx]
nop
jmp 0x407360
jmp 0x4070ac

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xf8392e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x5ee90426
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1004176
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push 0x10
mov esi, ecx
call fcn.0100942f
xor ebx, ebx
cmp eax, ebx
pop ecx
mov dword [esi + 4], eax
je 0x10041ec
mov dword [eax + 8], ebx
mov eax, dword [esi + 4]
mov dword [eax], ebx
mov eax, dword [esi + 4]
mov word [eax + 4], bx
mov eax, dword [esi + 4]
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [esi + 8], eax
mov word [esi + 2], bx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.0100942f
cmp eax, ebx
pop ecx
mov dword [esi + 0xc], eax
je 0x10041eb
call edi
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.01003c52
cmp ax, bx
mov word [esi], ax
je 0x10041eb
mov ecx, esi
call fcn.01003ff4
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x100425f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
lea eax, [ebp - 0x1c]
push eax
mov esi, ecx
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10042f1
mov eax, dword [ebp - 0xc]
xor ecx, ecx
sub eax, ecx
je 0x10042f1
dec eax
je 0x10042d2
dec eax
jne 0x10042f1
cmp dword [ebp - 0x18], 4
jne 0x10042a3
mov dword [esi + 0x114], 2
jmp 0x10042fb
cmp dword [ebp - 0x18], 5
jne 0x10042fb
cmp word [ebp - 0x10], 0x893
jne 0x10042bd
mov dword [esi + 0x114], 3
jmp 0x10042fb
cmp word [ebp - 0x10], 0x894
sbb eax, eax
neg eax
add eax, 4
mov dword [esi + 0x114], eax
jmp 0x10042fb
cmp dword [ebp - 0x14], ecx
jne 0x10042df
mov dword [esi + 0x114], ecx
jmp 0x10042fb
cmp dword [ebp - 0x14], 0xa
jne 0x10042fb
mov dword [esi + 0x114], 1
jmp 0x10042fb
mov dword [esi + 0x114], 5
pop esi
add ebp, 0x78
leave
ret