joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4005c165
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4005c1af
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4005c156
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4005c165
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40461e08
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4005c1b6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.4004302c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4005c255
add edi, 4
add eax, 2
dec ecx
jne 0x4005c19b
call 0x4005c202
loope 0x4005c1f8
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4005c252
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4005c263
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4005c216
cmp eax, ecx
ja 0x4005c216
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4005c2a0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4005c296
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4004350b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x18a90101
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1ef44928
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x408e15
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40e8e0
cmp edx, dword [eax]
je 0x408e37
add eax, 8
inc ecx
cmp eax, 0x40e970
jl 0x408e28
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40e8e0]
jne 0x408f65
mov eax, dword [0xf0d7c4]
cmp eax, 1
je 0x408f3f
test eax, eax
jne 0x408e68
cmp dword [0x40e208], 1
je 0x408f3f
cmp edx, 0xfc
je 0x408f65
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408e9f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405c00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405d50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408ee2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405d50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d48c
push edi
call fcn.004068a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405c00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405c10
lea eax, [ebp - 0xa0]
push 0x40d46c
push eax
call fcn.00405c10
push dword [esi + 0x40e8e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405c10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040afe1
add esp, 0x2c
pop edi
jmp 0x408f65
lea eax, [ebp + 8]
lea esi, [esi + 0x40e8e4]
push 0
push eax
push dword [esi]
call fcn.00405d50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x65563db4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rsrc
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x78836bf
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
push ebx
pop edx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
sub eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
mov esi, eax
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
or eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
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, 0x715f2662
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x13fc73a9
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x405f42
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436598]
jne 0x405f4c
repz ret
jmp fcn.004087da

Function at 0x407802
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436598]
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.00404c4e
and dword [ebp - 0x14], 0
cmp dword [0x43a538], 0
mov dword [ebp - 0x18], eax
jne 0x4078b5
push 0x402240
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40795d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402234
push ebx
call edi
test eax, eax
je 0x40795d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402224
push ebx
mov dword [0x43a538], eax
call edi
push eax
call esi
push 0x402210
push ebx
mov dword [0x43a53c], eax
call edi
push eax
call esi
push 0x4021f4
push ebx
mov dword [0x43a540], eax
call edi
push eax
call esi
mov dword [0x43a548], eax
test eax, eax
je 0x4078b5
push 0x4021dc
push ebx
call edi
push eax
call esi
mov dword [0x43a544], eax
mov eax, dword [0x43a544]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40790e
cmp dword [0x43a548], ecx
je 0x40790e
push eax
call esi
push dword [0x43a548]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40790e
test ebx, ebx
je 0x40790e
call edi
test eax, eax
je 0x407905
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407905
test byte [ebp - 8], 1
jne 0x40790e
or dword [ebp + 0x10], 0x200000
jmp 0x407941
mov eax, dword [0x43a53c]
cmp eax, dword [ebp - 0x18]
je 0x407941
push eax
call esi
test eax, eax
je 0x407941
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407941
mov eax, dword [0x43a540]
cmp eax, dword [ebp - 0x18]
je 0x407941
push eax
call esi
test eax, eax
je 0x407941
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43a538]
call esi
test eax, eax
je 0x40795d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40795f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405f42
leave
ret
Function at 0x41b090
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1c24
call fcn.00408ef0
cmp dword [0x22734b0], 0x37
jne 0x41b187
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x402ad8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push 0
lea ecx, [esp + 0x28]
push ecx
push 0x402b14
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea edx, [esp + 0x828]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 8]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea edx, [esp + 0xc]
push edx
push 0x402b58
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x1028]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
lea ecx, [esp + 0x1424]
push ecx
push 0
push 0x402bd0
push 0x402c94
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x402c9c
push 0x402ca8
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edx, dword [0x22734b4]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x43f614]
mov byte [edx + esi], cl
add esp, 0x1c24
ret
Function at 0x41b1b0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x1a8
mov ecx, dword [esp + 0x1ac]
mov eax, dword [ecx]
mov edx, dword [0x436db4]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x436db0]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x436db8]
mov dword [esp + 0x1c], edx
mov edx, dword [0x436dbc]
push edi
mov dword [esp + 0x18], eax
mov edi, 0xc6ef3720
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov ebp, 0x20
jmp 0x41b204
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 5
add ecx, dword [esp + 0x24]
mov edx, eax
shl edx, 4
add edx, dword [esp + 0x28]
add eax, edi
xor ecx, edx
xor ecx, eax
sub esi, ecx
mov ecx, esi
shl ecx, 4
mov dword [0x2272434], 0
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], eax
cmp dword [0x22734b0], 0x1be
lea ebx, [edi + esi]
jne 0x41b259
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x20]
mov dword [0x2272438], 0xff6b3619
xor eax, ebx
xor dword [esp + 0x14], eax
mov dword [0x227243c], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
add edi, 0x61c88647
dec ebp
jne 0x41b200
cmp dword [0x22734b0], 0x8d4
jne 0x41b2a8
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x1bc]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
cmp dword [0x22734b0], 0x17
jne 0x41b2d6
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret 4
Function at 0x401280
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor ebx, ebx
cmp dword [0x848528], 0x594
mov dword [ebp - 8], eax
jne 0x4012b3
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x429158]
mov edx, dword [0x42915c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
call fcn.00401270
mov eax, dword [0x429160]
mov ecx, dword [0x429164]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], 0x20
nop
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x848528]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401344
push ebx
lea edx, [ebp - 0x834]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x848528]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40135e
mov dword [0x847ac4], 0xedeb2e40
jmp 0x40136c
cmp ecx, 0x3eb
jne 0x40136c
mov dword [0x847474], ebx
mov ecx, dword [ebp - 0x18]
add ecx, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
mov dword [0x847ac0], 0xf4ea3dee
add esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x848528], 0x9e6
jne 0x4013a2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x28]
cmp dword [0x848528], 0x121
jne 0x401401
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
mov dword [ebp - 4], eax
sub edi, eax
lea eax, [ebp - 0x18]
call fcn.00401260
sub dword [ebp - 0x1c], 1
jne 0x4012f0
cmp dword [0x848528], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401449
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401460
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x848528]
mov ecx, dword [0x847478]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x4014f4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x848528], 0x959
jne 0x4014de
push 0
push 0
call esi
push str.siwimisasiberimefuzatoguhutegiwosebihimobezogoviwudurutuvuxejivohovabigoziburudaz
push 0
push 0
call edi
push 0
push 0
push str.kihubatigu
push str.lejigowuxoyojagijaxujocihipubav
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401280
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401493
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x848528], 0x400
push esi
push edi
jne 0x40189f
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea esi, [ebp - 0x24]
call fcn.00401990
mov ecx, esi
call fcn.004019b0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
jmp 0x4018b0
cmp esi, 0xa50
jge 0x4018c3
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018d9
cmp edi, 0x78d9a205
jne 0x4018e2
inc esi
cmp esi, 0x1c5d
jl 0x4018b0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40190d
inc esi
cmp esi, 0x4f6a4
jl 0x4018f0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40192c
cmp ebx, 0x785074d5
jne 0x401935
inc esi
cmp esi, 0x11915
jl 0x401918
mov edx, dword [0x42939c]
mov dword [0x848528], edx
call fcn.004015f0
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
cmp dword [0x848528], 0x51f
jne 0x40196e
push 0
lea eax, [ebp - 0x424]
push eax
push str.mucaxokacahocehasupa
call esi
sub edi, 1
jne 0x401952
mov eax, dword [0x847478]
mov dword [0x847abc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40446b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428218]
jne 0x404475
repz ret
jmp fcn.0040906c
Function at 0x40a7df
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004057b5
and dword [ebp - 4], 0
cmp dword [0x42a1e8], 0
mov ebx, eax
jne 0x40a890
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a941
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a941
push eax
call fcn.00405743
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a1e8], eax
call esi
push eax
call fcn.00405743
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a1ec], eax
call esi
push eax
call fcn.00405743
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a1f0], eax
call esi
push eax
call fcn.00405743
pop ecx
mov dword [0x42a1f8], eax
test eax, eax
je 0x40a890
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405743
pop ecx
mov dword [0x42a1f4], eax
mov eax, dword [0x42a1f4]
cmp eax, ebx
je 0x40a8e8
cmp dword [0x42a1f8], ebx
je 0x40a8e8
push eax
call fcn.004057be
push dword [0x42a1f8]
mov esi, eax
call fcn.004057be
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a8e8
test edi, edi
je 0x40a8e8
call esi
test eax, eax
je 0x40a8df
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a8df
test byte [ebp - 0xc], 1
jne 0x40a8e8
or dword [ebp + 0x10], 0x200000
jmp 0x40a921
mov eax, dword [0x42a1ec]
cmp eax, ebx
je 0x40a921
push eax
call fcn.004057be
pop ecx
test eax, eax
je 0x40a921
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a921
mov eax, dword [0x42a1f0]
cmp eax, ebx
je 0x40a921
push eax
call fcn.004057be
pop ecx
test eax, eax
je 0x40a921
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a1e8]
call fcn.004057be
pop ecx
test eax, eax
je 0x40a941
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a943
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7cd94369
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2f067e43
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219