joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bbd50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0046ada0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x46d1f9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00468210
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00468200
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0046c850
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x4bf57c]
push 0
lea ecx, [esp + 0x4c]
call fcn.004b2e8a
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0047be80
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0046a800
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x4bf06c]
mov ecx, ebx
call fcn.00468180
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x46d2c4
push edi
mov ecx, esi
call fcn.0046a910
push eax
push ebp
mov ecx, esi
call fcn.0046aad0
cmp eax, dword [esp + 0x40]
jg 0x46d2c0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x46d29e
mov eax, ebx
jmp 0x46d2ca
cmp edi, ebx
jl 0x46d2c8
mov eax, ebx
jmp 0x46d2ca
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x46d2db
mov dword [esp + 0x30], eax
jmp 0x46d2e6
cmp edi, ebx
jl 0x46d2e1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00468140
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x46d32d
push edi
mov ecx, esi
call fcn.0046a830
push eax
push ebx
mov ecx, esi
call fcn.0046ac00
cmp eax, dword [esp + 0x44]
jg 0x46d325
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x46d2ff
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x46d337
cmp edi, ebp
jl 0x46d331
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x46d337
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x46d340
mov ecx, eax
jmp 0x46d349
cmp edi, ebp
jl 0x46d346
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0046a820
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.004b2efc
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x473270
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bc208
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4732a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4733bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4732bd
mov eax, 0xffffffc7
jmp 0x4733be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4732ce
cmp dword [esi + 8], eax
jne 0x4732bd
cmp dword [esi + 8], eax
jne 0x4732e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4732e7
mov eax, 0xffffffc7
jmp 0x4733be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4732fb
push eax
mov ecx, ebx
call fcn.00472aa0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00440c10
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x47332c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00440c30
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00472210
test eax, eax
mov dword [esp + 0x38], eax
je 0x47335f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x532ee0
call fcn.00440e10
mov eax, dword [esp + 0x38]
jmp 0x4733be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004730d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4733a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004730f0
mov esi, eax
test esi, esi
jne 0x4733d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004730d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x473375
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x532ee0
call fcn.00440e10
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x532ee0
call fcn.00440e10
mov eax, esi
jmp 0x4733be
Function at 0x47c4e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bc838
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 [0x4bf57c]
push 0
lea ecx, [esp + 0x20]
call fcn.004b2e8a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0047be80
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.004b2db8
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.004af59c
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.004af59c
push 1
push 0
push 0
mov ecx, esi
call fcn.004af544
push 1
push 0
push 1
mov ecx, esi
call fcn.004af544
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b2efc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x47c660
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bc858
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.004b2e8a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0047be80
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.004b2db8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x4bf57c]
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 0x47c724
cmp dword [esp + 0x40], 1
jne 0x47c722
cmp ecx, eax
jge 0x47c724
mov eax, ecx
cmp eax, 0xc8
jge 0x47c730
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0047c4e0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4bf578]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b2efc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x47ceb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4bc8c3
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.004ad9bd
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x537d68
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], 0x5362d8
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 [0x4bf0c8]
push eax
mov ecx, edi
call fcn.004b3132
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004b46cd
test eax, eax
je 0x47cfcc
mov ecx, dword [esp + 0x3c]
call fcn.004b315f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4bf59c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x47cf90
push edi
mov ecx, esi
call fcn.004b071c
mov ecx, esi
call fcn.0047d130
cmp dword [esp + 0x38], 1
jne 0x47cfc5
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.004b0886
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 0x47fa00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x47fa33
push esi
call fcn.00482b10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47fa2c
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 0x47fab9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x47faa2
mov eax, dword [esi + 8]
test eax, eax
je 0x47fa57
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 0x47fa9e
cmp eax, 2
je 0x47faa2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47fa4a
cmp eax, 3
je 0x47fa7d
cmp eax, 1
jne 0x47fa4a
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 0x47fa4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47fa4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0047fae0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x47fac8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0047fae0
add esp, 4
pop esi
ret
Function at 0x4913f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd3b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00490fa0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00491020
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00491020
lea ecx, [esi + 0xc]
call fcn.004ac320
lea ecx, [esi + 0x10]
call fcn.004ac320
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004925b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004925b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004925b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004ac395
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ac395
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x326a674e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x92d044d
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d78
cmp byte [esi + ebx - 1], 0xa
je 0x401d4c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4040f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x401e60
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0xdac1deb
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x7e213377
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x300ef010
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.301374d4
mov eax, dword [0x3002450c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1ffe
lea eax, [ebp - 0x2002]
push ebx
push eax
mov word [ebp - 0x2004], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push 0x32
call fcn.300f2db4
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x300ef06f
push ebx
push 0x326b3964
call fcn.3010aa60
mov eax, dword [0x30274424]
cmp eax, 6
jb 0x300ef081
push 2
pop eax
jmp 0x300ef122
cmp byte [0x30274428], bl
je 0x300ef0d9
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [0x30274424]
mov ecx, dword [eax*4 + 0x30274434]
mov eax, dword [ecx]
sub esi, dword [0x3027442c]
call dword [eax + 0x14]
neg eax
sbb eax, eax
and eax, 0x4e20
add eax, 0x2710
cmp esi, eax
pop esi
jbe 0x300ef120
mov eax, dword [0x30274424]
imul eax, eax, 0x1c
push dword [eax + 0x300021d0]
push 0x30002308
call fcn.300f2d34
xor eax, eax
inc eax
jmp 0x300ef122
imul eax, eax, 0x1c
lea ecx, [ebp - 0x2004]
push ecx
push dword [eax + 0x300021bc]
mov byte [0x30274428], 1
call fcn.300f781e
test al, al
jne 0x300ef104
push ebx
push 0x32736270
call fcn.3010aa60
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x3027442c], eax
mov eax, dword [0x30274424]
mov ecx, dword [eax*4 + 0x30274434]
mov eax, dword [ecx]
call dword [eax + 0x18]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.30136bd1
leave
ret
Function at 0x300f2369
Capabilities:
Get memory capacity
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x3002450c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x88]
push eax
mov edi, ecx
mov dword [ebp - 0x38], 0x60000000
mov dword [ebp - 0x3c], 0x5f
mov dword [ebp - 0x88], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x300f23b5
push 0x300028ec
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 4
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
shrd eax, ecx, 0x14
push eax
push 0xf96
shr ecx, 0x14
call fcn.3010bae9
and dword [ebp - 0x8c], 0
push 0x2710
lea eax, [ebp - 0x12c]
push 1
push eax
call fcn.3010e699
add esp, 0xc
test eax, eax
je 0x300f2468
lea eax, [ebp - 0x12c]
push 0xb
push eax
call fcn.3012b560
test eax, eax
pop ecx
pop ecx
jne 0x300f2468
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x12c]
push 9
push eax
call fcn.3012b70e
add esp, 0xc
test eax, eax
jne 0x300f2428
push eax
push 0x346f7031
call fcn.3010aa60
jmp 0x300f2435
push 0x300028cc
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x12c]
push 0xa
push eax
call fcn.3012b70e
add esp, 0xc
test eax, eax
jne 0x300f245b
push eax
push 0x346f7032
call fcn.3010aa60
jmp 0x300f2468
push 0x300028a8
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 4
push 0xa
push dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
push 0xc
push eax
call fcn.30125aa1
push 0xa
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push 0xc
push eax
call fcn.30125aa1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x44], eax
push 3
lea eax, [ebp - 0x34]
push 0x3000287c
mov dword [ebp - 0x48], 0x3000286c
mov dword [ebp - 0x40], eax
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 8
xor eax, eax
push dword [ebp + eax*4 - 0x48]
push eax
push 0x30002858
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 0xc
inc eax
cmp eax, 3
jl 0x300f24ac
lea eax, [ebp - 0x48]
push eax
push 3
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x300f24de
push 0x30002848
jmp 0x300f2501
push 0x30002830
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 4
lea eax, [edi + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x300f2509
push 0x3000281c
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.30136bd1
leave
ret
Function at 0x300f2e4f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x3002450c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x206
lea eax, [ebp - 0x272]
push esi
push eax
mov word [ebp - 0x274], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x274]
push eax
push dword [ebp + 8]
call fcn.300f2dba
test al, al
jne 0x300f2eab
push esi
push 0x33666579
call fcn.3010aa60
xor al, al
jmp 0x300f2f3f
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x300f2ec1
test al, 0x10
je 0x300f2f1c
push edi
and word [ebp - 0x1c], 0
push 0x13
pop ecx
mov esi, 0x30002b08
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
push dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xb
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x278], 0x104
call fcn.30123cc6
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x274]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.msi.dll_MsiQueryProductStateW
test eax, eax
pop edi
jne 0x300f2ea4
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x300f2f38
push eax
push 0x3366657a
jmp 0x300f2e9f
mov dword [0x30276488], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.30136bd1
leave
ret 4