joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x401020
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401054
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40104c
lea ecx, [ecx]
cmp al, 0x22
je 0x401051
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401040
cmp byte [esi], 0x22
jne 0x40105e
inc esi
jmp 0x40105e
cmp al, 0x20
jbe 0x40105e
inc esi
cmp byte [esi], 0x20
ja 0x401058
mov al, byte [esi]
test al, al
je 0x401070
cmp al, 0x20
ja 0x401070
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401064
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
movzx eax, word [ebp - 0x14]
jne 0x401090
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x631e658a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x77401d0a
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x19a17669
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
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
mov esi, 0xbf2365c
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40cfda
Capabilities:
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, 0x811c9dc5
jmp 0x40cffb
mov ecx, dword [ebp + 8]
imul eax, eax, 0x1000193
add dword [ebp + 8], 2
movzx ecx, word [ecx]
xor eax, ecx
cmp dword [ebp + 8], edx
jne 0x40cfe9
pop ebp
ret 8

Function at 0x40ef61
Capabilities:
Terminate process

Disassembly:
add eax, 0
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0x489f59d1
mov dword [ebp - 8], 5
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [ebp - 4], eax
cmp eax, 0
je 0x40ee31
jmp 0x40ee62
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040eb0a
lea ecx, [ebp + 8]
push ecx
call fcn.0040e6a3
jmp 0x40ee86
push dword [ebp - 8]
jmp 0x40ee0c
add esp, 4
mov esp, ebp
pop ebp
ret 0x10
call fcn.004101f0
jmp 0x40edbb

Function at 0x40efee
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x20], pe_nt_image_headers32
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x28], 0x489f59d1
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x14], 4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
jne 0x40f037
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
jmp 0x40f153
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx]
mov dword [ebp - 0x1c], 0x2db59e81
cmp edx, 0x5a4d
je 0x40f05b
mov dword [ebp - 0x1c], 0x9db38964
mov eax, dword [ebp - 0x18]
jmp 0x40f153
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], 0x4550
je 0x40f07d
mov eax, dword [ebp - 0x18]
jmp 0x40f153
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0x6e9530b5
mov dword [ebp - 0x2c], ecx
jmp 0x40f121
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], 0
je 0x40f0bf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x40f0f2
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], 0xf0092b1b
mov edx, dword [ebp - 0x10]
jmp 0x40f0f0
mov dword [ecx], edx
cmp dword [ebp + 0x14], 0
je 0x40f150
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
jmp 0x40f14d
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
jmp 0x40f0a8
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x401d70
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
push esi
bswap eax
bswap ecx
xor edx, edx
mov dword [ebp - 4], 0x20
push edi
lea esp, [esp]
mov edi, dword [ebp + 0xc]
mov esi, edx
and esi, 3
mov esi, dword [edi + esi*4]
bswap esi
add esi, edx
mov edi, ecx
shr edi, 5
mov ebx, ecx
shl ebx, 4
xor edi, ebx
add edi, ecx
xor esi, edi
mov edi, dword [ebp + 0xc]
add eax, esi
sub edx, 0x61c88647
mov esi, edx
shr esi, 0xb
and esi, 3
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 5
mov ebx, eax
shl ebx, 4
bswap esi
xor edi, ebx
add esi, edx
add edi, eax
xor esi, edi
add ecx, esi
dec dword [ebp - 4]
jne 0x401d90
mov edx, dword [ebp + 8]
pop edi
bswap eax
bswap ecx
pop esi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x401e00
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
add edx, 7
shr edx, 3
dec edx
mov dword [ebp - 0xc], edx
js 0x401ec5
push ebx
push esi
push edi
jmp 0x401e23
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*8 - 8]
test edx, edx
jne 0x401e2e
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
bswap ecx
bswap eax
mov edx, 0xc6ef3720
mov dword [ebp - 4], 0x20
mov edi, dword [ebp + 0x10]
mov esi, edx
shr esi, 0xb
and esi, 3
mov esi, dword [edi + esi*4]
bswap esi
add esi, edx
mov edi, ecx
shr edi, 5
mov ebx, ecx
shl ebx, 4
xor edi, ebx
add edi, ecx
xor esi, edi
mov edi, dword [ebp + 0x10]
sub eax, esi
add edx, 0x61c88647
mov esi, edx
and esi, 3
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 5
mov ebx, eax
shl ebx, 4
bswap esi
xor edi, ebx
add esi, edx
add edi, eax
xor esi, edi
sub ecx, esi
dec dword [ebp - 4]
jne 0x401e48
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
bswap ecx
mov dword [esi + edx*8], ecx
lea ecx, [esi + edx*8 + 4]
bswap eax
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov edi, dword [eax]
xor dword [esi + edx*8], edi
mov eax, dword [eax + 4]
xor dword [ecx], eax
dec edx
mov dword [ebp - 0xc], edx
jns 0x401e20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x31965c9f
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x64f9474e
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4063f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4147fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4043c4
call fcn.00407111
push 4
mov dword [esp + 0x18], 0
call fcn.00407cfe
mov edi, eax
add esp, 4
test edi, edi
je 0x406464
push ebx
call fcn.00406fe9
mov dword [edi], eax
call fcn.00406da8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004070d2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406458
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004070fa
pop ebx
jmp 0x406466
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408771
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4173c8]
jne 0x40877b
repz ret
jmp fcn.0040c5ec
Function at 0x410e62
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4173c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040be38
and dword [ebp - 0x14], 0
cmp dword [0x42efc0], 0
mov dword [ebp - 0x18], eax
jne 0x410f15
push 0x403e78
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410fbd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e6c
push ebx
call edi
test eax, eax
je 0x410fbd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e5c
push ebx
mov dword [0x42efc0], eax
call edi
push eax
call esi
push 0x403e48
push ebx
mov dword [0x42efc4], eax
call edi
push eax
call esi
push 0x403e2c
push ebx
mov dword [0x42efc8], eax
call edi
push eax
call esi
mov dword [0x42efd0], eax
test eax, eax
je 0x410f15
push 0x403e14
push ebx
call edi
push eax
call esi
mov dword [0x42efcc], eax
mov eax, dword [0x42efcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410f6e
cmp dword [0x42efd0], ecx
je 0x410f6e
push eax
call esi
push dword [0x42efd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410f6e
test ebx, ebx
je 0x410f6e
call edi
test eax, eax
je 0x410f65
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410f65
test byte [ebp - 8], 1
jne 0x410f6e
or dword [ebp + 0x10], 0x200000
jmp 0x410fa1
mov eax, dword [0x42efc4]
cmp eax, dword [ebp - 0x18]
je 0x410fa1
push eax
call esi
test eax, eax
je 0x410fa1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410fa1
mov eax, dword [0x42efc8]
cmp eax, dword [ebp - 0x18]
je 0x410fa1
push eax
call esi
test eax, eax
je 0x410fa1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42efc0]
call esi
test eax, eax
je 0x410fbd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410fbf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408771
leave
ret
Function at 0x4135b0
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1b08
call fcn.004118c0
cmp dword [0x8d9414], 0x37
push esi
jne 0x4136aa
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
lea ecx, [esp + 0x30c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
call esi
push 0x403f04
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
lea eax, [esp + 0xb0c]
push eax
push 0x403f58
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0x130c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0xe8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call esi
push 0x403fa0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x28], 0
call fcn.0040e880
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov edx, dword [0x8dbb78]
mov dword [esp + 8], edx
mov eax, 0x5d1
add dword [esp + 8], eax
mov eax, dword [esp + 8]
mov cl, byte [eax + edi]
mov edx, dword [0x8d7c0c]
mov byte [edx + edi], cl
pop esi
add esp, 0x1b08
ret
Function at 0x4034b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [0x41c078]
mov dword [ebp - 4], esi
call fcn.0040a849
cmp ax, 0x500
jb 0x4034e9
mov ecx, dword [0x41c078]
call fcn.0040a8aa
test al, al
je 0x4034e9
mov byte [ebp - 5], 1
jmp 0x4034ed
and byte [ebp - 5], 0
mov eax, dword [0x41d878]
push ebx
mov dword [ebp - 0xc], eax
inc dword [eax]
cmp byte [ebp - 5], 0
je 0x40352b
push 0x42e82c
lea ecx, [ebp - 0xc]
call fcn.004010ce
mov eax, dword [0x41d878]
lea ecx, [ebp - 0x14]
push 1
mov dword [ebp - 0x14], eax
inc dword [eax]
pop ebx
push ebx
push 0x178c
call fcn.0040b8be
lea eax, [ebp - 0x14]
jmp 0x40354a
push 1
mov dword [ebp - 0x10], eax
inc dword [eax]
push 0x178c
lea ecx, [ebp - 0x10]
call fcn.0040b8be
lea ecx, [ebp - 0x10]
push 2
pop ebx
call fcn.0040ba4e
mov eax, dword [eax]
mov ecx, dword [eax + 4]
add eax, 0xc
dec ecx
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0040c7b2
test bl, 2
je 0x40356d
lea ecx, [ebp - 0x10]
and ebx, 0xfffffffd
call fcn.0040c728
test bl, 1
pop ebx
je 0x40357b
lea ecx, [ebp - 0x14]
call fcn.0040c728
cmp byte [ebp - 5], 0
je 0x403588
push 0x42ebcc
jmp 0x40358d
push 0x42ebc8
lea ecx, [ebp - 0xc]
call fcn.004017c3
lea ecx, [ebp - 0xc]
push edi
call fcn.004017c3
mov ecx, dword [0x41c078]
call fcn.0040a8aa
test al, al
je 0x4035f0
lea eax, [ebp - 0x68]
push eax
call dword [0x432100]
lea ecx, [ebp - 0xc]
call fcn.0040c933
cmp eax, esi
je 0x40363a
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push esi
push esi
push 0x20
push esi
push esi
push esi
push eax
push esi
call dword [0x4320e8]
test eax, eax
je 0x40363a
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
jmp 0x40363a
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea ecx, [ebp - 0xc]
call fcn.0040c939
mov edi, eax
cmp edi, esi
je 0x40363a
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push 0x20
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403633
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
push edi
call fcn.0040b41d
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0040c728
pop edi
pop esi
leave
ret
Function at 0x4047d6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push esi
mov esi, ecx
mov ecx, dword [0x41c078]
call fcn.0040a849
cmp ax, 0x500
jb 0x4048d6
mov ecx, dword [esi + 0x194]
call fcn.00415777
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.00412fb8
push dword [esi + 0x1d8]
mov ecx, esi
call fcn.0040479e
push 0xffffffffffffffff
push 0x42ee78
lea ecx, [ebp - 4]
mov esi, eax
call fcn.0040c6b0
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.0040c568
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.004017c3
push 0x42ee70
lea ecx, [ebp - 4]
call fcn.004017c3
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x2c]
mov edx, dword [eax + 4]
inc edx
call fcn.0040c5ca
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.004017c3
push 0x42ee68
lea ecx, [ebp - 4]
call fcn.004017c3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
mov eax, dword [eax]
add eax, 0xc
push eax
call fcn.004017c3
push 0x42e82c
lea ecx, [ebp - 4]
call fcn.004017c3
lea ecx, [ebp - 0x234]
call fcn.0040bc42
mov eax, dword [ebp - 4]
xor esi, esi
push 1
add eax, 0xc
push esi
push eax
lea eax, [ebp - 0x234]
push eax
push str.runas
push esi
call dword [0x43219c]
cmp eax, 0x20
jle 0x4048ce
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 4]
call fcn.0040c728
pop esi
leave
ret 4
Function at 0x406d61
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetACP]
mov eax, dword [esi + 0x1d8]
cmp eax, 0xffffffff
jne 0x406d83
call edi
jmp 0x406d8b
push eax
mov ecx, esi
call fcn.0040479e
test eax, eax
jne 0x406d91
call edi
push dword [esi + 0x1dc]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040f6e0
mov eax, dword [esi + 0x1d4]
lea edi, [esi + 0x1d4]
add eax, 0xc
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040f75b
test al, al
jne 0x406e2e
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str._n_nError_
mov edx, edi
lea ecx, [ebp - 4]
mov ebx, eax
call fcn.00401795
mov edx, ebx
lea ecx, [ebp - 0x3c]
call fcn.0040c5ca
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], eax
call fcn.004017c3
mov eax, dword [ebp - 4]
push 3
lea ecx, [ebp - 0x23c]
lea edi, [eax + 0xc]
call fcn.0040ca60
mov esi, dword [esi + 4]
mov ebx, eax
test esi, esi
mov eax, esi
jne 0x406e0e
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0
push ebx
push edi
push eax
call dword [0x432090]
lea ecx, [ebp - 4]
call fcn.0040c728
lea ecx, [ebp - 0x1c]
call fcn.0040f702
xor al, al
pop ebx
jmp 0x406e81
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x130]
push eax
call fcn.00419db3
lea ecx, [ebp - 0x1c]
call fcn.0040f702
mov ecx, esi
call fcn.00406103
push edi
lea ecx, [esi + 0x24]
call fcn.00402d5f
test al, al
je 0x406e69
push 0x8000
push 0x406645
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [edi]
add ecx, 0xc
call fcn.0040bc75
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1d0], edx
mov al, 1
pop edi
pop esi
leave
ret