joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461690
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4ab66c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ebx, [esi + 4]
mov dword [ebx], method.CDHtmlEventSink.virtual_28
mov dword [esp + 0x20], 0
mov dword [esi], 0x4b6258
mov dword [ebx], 0x4b6254
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
lea edi, [esi + 0x14]
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.00461540
lea ecx, [esi + 0x54]
mov byte [esp + 0x20], 2
call fcn.0040a720
mov byte [esp + 0x20], 3
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x74], eax
xor eax, eax
lea ebp, [esi + 0x78]
mov ecx, ebp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, edi
mov byte [esp + 0x20], 4
mov dword [edi + 0x3c], 0x14
call fcn.00460df0
lea eax, [edi + 0x24]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x10]
push edx
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x28]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.00402060
mov edi, dword [edi]
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov edx, dword [ecx]
mov dword [ebp], edx
mov edx, dword [ecx + 4]
mov dword [ebp + 4], edx
mov edx, dword [ecx + 8]
mov dword [ebp + 8], edx
mov ecx, dword [ecx + 0xc]
push eax
lea edx, [esp + 0x30]
push edx
mov dword [ebp + 0xc], ecx
call fcn.0042e730
add esp, 8
push eax
lea ecx, [esi + 0x74]
mov byte [esp + 0x24], 5
call fcn.00402060
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x20], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4617cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047f3e1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46180e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x462110
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
jne 0x46213a
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462135
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
ret 8
push esi
push edi
mov edi, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x462174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
ret 8

Function at 0x462410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push edi
mov dword [esp + 0x28], 1
call fcn.004015e0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x30]
add esi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov ebx, esp
push esi
mov byte [esp + 0x2c], 2
call fcn.004015e0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x28], 1
call fcn.00435e90
xor ebx, ebx
test eax, eax
setne bl
mov byte [esp + 0x1c], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4624a1
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4624c0
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0xc
Function at 0x462580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ab8c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x28]
lea ecx, [esi + 0x368]
push eax
mov dword [esp + 0x24], 2
call fcn.00402060
lea edx, [esp + 0x2c]
lea ecx, [esi + 0x360]
push edx
call fcn.00402060
lea eax, [esp + 0x30]
lea ecx, [esi + 0x364]
push eax
call fcn.00402060
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
push eax
push ecx
push ebx
lea edx, [esp + 0x1c]
push 0x4b6284
push edx
mov byte [esp + 0x34], 3
call fcn.004022f0
mov edi, dword [esp + 0x24]
add esp, 0x10
add edi, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebp, esp
push edi
call fcn.004015e0
add eax, 0x10
mov dword [ebp], eax
mov ecx, dword [esi + 0x1c]
add esp, 4
call fcn.00418440
mov byte [esp + 0x20], 2
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46264f
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46266e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4626b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0xc
Function at 0x467100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4abeb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov dword [esp + 0xc], ecx
push edi
lea ecx, [esp + 0x14]
call fcn.0046f2b0
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x30], edi
mov ebx, 1
jbe 0x46719d
push ebp
mov ebp, dword [esp + 0x48]
mov ecx, dword [ebp + edi*4]
test ecx, ecx
je 0x46718d
test ebx, ebx
je 0x46718f
mov eax, dword [esp + 0x40]
push eax
lea edx, [esp + 0x14]
push edx
call fcn.004678a0
mov esi, eax
test esi, esi
je 0x46717b
mov eax, dword [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0046eee0
push esi
call fcn.004955bc
add esp, 4
jmp 0x46717d
xor ebx, ebx
mov ecx, dword [ebp + edi*4]
test ecx, ecx
je 0x46718f
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x46718f
xor ebx, ebx
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
jb 0x467140
test ebx, ebx
pop ebp
je 0x4671e7
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.0046eeb0
mov ecx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00467020
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.0046f380
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0046f380
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x468680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4abfa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x4b696c
mov dword [esp + 8], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
call fcn.0046ee70
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 1
call fcn.0046e6b0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 2
call fcn.0046f2b0
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov byte [esi + 0x26], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x14], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46a250
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x14], esp
add ebx, 0xfffffff0
mov esi, esp
push ebx
mov dword [esp + 0x24], 0
call fcn.004015e0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x30]
add esp, 4
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00469a40
add esp, 0xc
mov eax, dword [0x4cf91c]
dec eax
mov byte [esp + 0x1c], 1
js 0x46a2d4
mov esi, eax
imul esi, esi, 0x64
add esi, 0x4cf1e2
lea edi, [eax + 1]
jmp 0x46a2c0
lea edx, [esi - 0x32]
push edx
push esi
lea ecx, [esp + 0x18]
call fcn.00406d70
sub esi, 0x64
dec edi
jne 0x46a2c0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
push eax
push ecx
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov ebp, esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x46a30f
cmp eax, dword [esi]
jne 0x46a30f
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x46a344
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x46a324
jmp fcn.004012c0
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebp], eax
call fcn.004071c0
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x1c], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46a396
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
Function at 0x46a780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ac1b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea esi, [edi + 0x38]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x28], 1
call fcn.00466f00
mov eax, dword [esi + 4]
push eax
call fcn.004955bc
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x30]
mov ecx, dword [eax]
add esp, 4
lea esi, [edi + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.00466f00
mov edx, dword [esi + 4]
push edx
call fcn.004955bc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x24]
add esp, 4
cmp eax, 0x10
jb 0x46a813
mov eax, dword [edi + 0x10]
push eax
call fcn.004955bc
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], 0xf
mov byte [edi + 0x10], bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46b4d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
mov eax, dword [0x4d1788]
push ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x64], eax
cmp dword [ebx + 0xc], 0x40
jbe 0x46b4ec
jmp 0x481a8d
mov eax, dword [esp + 0x6c]
push esi
push edi
push eax
call dword [ebx + 0x10]
mov ecx, dword [esp + 0x7c]
push ecx
call dword [ebx + 0x10]
mov esi, dword [esp + 0x8c]
mov eax, dword [ebx + 0xc]
add esp, 8
cmp esi, eax
jbe 0x46b54d
cmp dword [ebx + 8], 0x20
jbe 0x46b51a
jmp 0x481a8d
mov edi, dword [esp + 0x7c]
push edi
call dword [ebx + 0x10]
mov edx, dword [esp + 0x8c]
push edx
push esi
push edi
call dword [ebx + 0x14]
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x5c]
push eax
push ecx
push edi
call dword [ebx + 0x18]
mov esi, dword [ebx + 8]
lea edx, [esp + 0x68]
add esp, 0x1c
mov dword [esp + 0x88], edx
push ebp
mov ebp, dword [ebx + 0xc]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov eax, 0x5c5c5c5c
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
test esi, esi
jbe 0x46b58e
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x10]
sub ecx, eax
lea ecx, [ecx]
lea eax, [esp + edi + 0x10]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, esi
jb 0x46b580
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x10]
push eax
push ebp
push ecx
call dword [ebx + 0x14]
mov ebp, dword [ebx + 0xc]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov eax, 0x36363636
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 0xc
xor edi, edi
test esi, esi
jbe 0x46b5de
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x10]
sub ecx, eax
mov edi, edi
lea eax, [esp + edi + 0x10]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc edi
cmp edi, esi
jb 0x46b5d0
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x10]
push eax
push ebp
push esi
call dword [ebx + 0x14]
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x8c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov ecx, edx
and ecx, 3
pop ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
call fcn.0047e6cd
add esp, 0x64
ret
Function at 0x46d170
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4ac348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [esp + 0x30]
push 0
mov ecx, esi
call fcn.0046eec0
xor ebx, ebx
push 1
mov ecx, esi
mov bh, al
call fcn.0046eec0
mov bl, al
push 2
mov ecx, esi
shl ebx, 8
call fcn.0046eec0
movzx eax, al
or ebx, eax
push 3
mov ecx, esi
shl ebx, 8
call fcn.0046eec0
movzx ecx, al
or ebx, ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], ebx
call fcn.0046f490
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x2c], 0
call fcn.00471b30
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00471240
push 4
mov ecx, esi
call fcn.0046ee90
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x477334
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x477387
call fcn.0049f967
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x477387
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x47737d
xor eax, eax
jmp 0x4774a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x4773b7
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x4773b7
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x47749d
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x4773e4
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.004745df
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x47749d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x47742d
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x47742d
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x477427
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.004745df
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x47748d
and dword [ebp + 0xc], 0
jmp 0x47748d
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x47748d
push 0xc
call fcn.00495591
mov esi, eax
test esi, esi
pop ecx
je 0x47746f
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x477471
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x477488
push dword [ebp - 8]
call fcn.004948c5
jmp 0x47748d
call fcn.0049489c
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x4773f2
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47e4c8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4bb748
call fcn.00481f70
mov edi, 0x94
mov eax, edi
call fcn.0047f340
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4d5954], ecx
mov eax, dword [esi + 4]
mov dword [0x4d5960], eax
mov edx, dword [esi + 8]
mov dword [0x4d5964], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4d5958], esi
cmp ecx, 2
je 0x47e528
or esi, 0x8000
mov dword [0x4d5958], esi
shl eax, 8
add eax, edx
mov dword [0x4d595c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x47e563
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47e563
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x47e57b
cmp eax, 0x20b
je 0x47e568
mov dword [ebp - 0x1c], esi
jmp 0x47e58f
cmp dword [ecx + 0x84], 0xe
jbe 0x47e563
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x47e589
cmp dword [ecx + 0x74], 0xe
jbe 0x47e563
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00483505
pop ecx
test eax, eax
jne 0x47e5a3
push 0x1c
call fcn.0047e4a4
pop ecx
call fcn.004833fc
test eax, eax
jne 0x47e5b4
push 0x10
call fcn.0047e4a4
pop ecx
call fcn.00483154
mov dword [ebp - 4], esi
call fcn.00482f56
test eax, eax
jge 0x47e5cd
push 0x1b
call fcn.0047e47f
pop ecx
call fcn.00482eb7
mov dword [0x4d75d0], eax
call fcn.00482d4d
mov dword [0x4d58ac], eax
call fcn.00482cb7
test eax, eax
jge 0x47e5f2
push 8
call fcn.0047e47f
pop ecx
call fcn.00482a84
test eax, eax
jge 0x47e603
push 9
call fcn.0047e47f
pop ecx
push 1
call fcn.00481580
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x47e619
push eax
call fcn.0047e47f
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.00482a3e
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x47e63a
movzx eax, word [ebp - 0x40]
jmp 0x47e63d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004930ea
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x47e65b
push edi
call fcn.004816ad
call fcn.004816cf
jmp 0x47e68d
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00481fab
ret
Function at 0x47fcb6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x47fcd3
call fcn.004825ea
mov dword [eax], 0x16
xor eax, eax
jmp 0x47fd3d
push esi
push 0x8c
push 1
call fcn.0048266f
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x47fd28
push esi
call fcn.00483202
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x47fd06
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x47fc21
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x47fd3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.004800d1
test ebx, ebx
pop ecx
je 0x47fd3a
push ebx
call fcn.004825fc
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4815ea
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4bb938
call fcn.00481f70
push 8
call fcn.00485c8b
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4d5994], esi
jne 0x48161e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4d5990], esi
mov al, byte [ebp + 0x10]
mov byte [0x4d598c], al
cmp dword [ebp + 0xc], edi
jne 0x481668
cmp dword [0x4d75c8], edi
je 0x481658
mov eax, dword [0x4d75c4]
sub eax, 4
mov dword [0x4d75c4], eax
cmp eax, dword [0x4d75c8]
jb 0x481658
mov eax, dword [eax]
cmp eax, edi
je 0x481639
call eax
jmp 0x481639
push 0x4cf120
mov eax, 0x4cf118
call fcn.00481568
pop ecx
push 0x4cf12c
mov eax, 0x4cf124
call fcn.00481568
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x481699
cmp dword [ebp + 0x10], edi
jne 0x4816a7
mov dword [0x4d5994], esi
push dword [ebp + 8]
call fcn.00481526
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4816a6
push 8
call fcn.00485bd6
pop ecx
ret
call fcn.00481fab
ret
Function at 0x481fbc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0047f340
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x482057
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4d5954]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x482057
cmp eax, 1
je 0x482078
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x482057
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x482024
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x482053
xor eax, eax
inc eax
jmp 0x482097
cmp edi, eax
jae 0x48205b
xor eax, eax
jmp 0x482097
cmp eax, esi
jae 0x482062
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4d5954]
jmp 0x48207b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret