joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4053a0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
call fcn.00404724
test eax, eax
je 0x4053c6
test ebx, ebx
je 0x4053c6
cmp word [ebx], 0
je 0x4053c6
push 0
push ebx
call sub.KERNEL32.DLL_CreateDirectoryW
jmp 0x4053ce
push 0
push esi
call sub.KERNEL32.DLL_CreateDirectoryA
test eax, eax
je 0x4053e1
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.0040558c
xor eax, eax
jmp 0x4053fc
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x4053f0
cmp eax, 3
jne 0x4053f7
mov eax, 2
jmp 0x4053fc
mov eax, 1
pop edi
pop esi
pop ebx
ret

Function at 0x40552c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
call fcn.00404724
test eax, eax
je 0x405557
test ebx, ebx
je 0x405557
cmp word [ebx], 0
je 0x405557
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret
push esi
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
setne al
and eax, 1
pop esi
pop ebx
ret

Function at 0x40558c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
call fcn.00404724
test eax, eax
je 0x4055b9
test ebx, ebx
je 0x4055b9
cmp word [ebx], 0
je 0x4055b9
push esi
push ebx
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
setne al
and eax, 1
jmp 0x4055c8
push esi
push edi
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
setne al
and eax, 1
pop edi
pop esi
pop ebx
ret

Function at 0x406c58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, 0x4137f4
push edi
push ebp
mov ebp, edx
cmp dword [esi + 4], 0
mov edi, ecx
mov ebx, eax
jne 0x406c72
call fcn.00406c20
mov eax, ebp
cmp edi, 8
jb 0x406cfd
xor ebx, dword [eax]
xor edx, edx
mov dl, bl
sub edi, 8
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
xor ebx, dword [eax + 4]
add eax, 8
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
cmp edi, 8
mov ebx, ecx
jae 0x406c7d
xor edx, edx
jmp 0x406d17
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [esi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp edi, edx
ja 0x406d01
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4089bc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
push esi
push edi
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebx + 0xc18], eax
mov edi, ecx
cmp byte [ebp + 8], 0
mov esi, 0x80000000
je 0x4089e5
or esi, 0x40000000
mov dword [ebp - 8], 1
cmp byte [ebx + 0x12], 0
jne 0x4089f8
cmp byte [ebp + 0xc], 0
je 0x4089fc
or dword [ebp - 8], 2
call fcn.00404724
test eax, eax
je 0x408a28
test edi, edi
je 0x408a28
cmp word [edi], 0
je 0x408a28
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push esi
push edi
call sub.KERNEL32.DLL_CreateFileW
mov esi, eax
jmp 0x408a41
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push esi
push dword [ebp - 4]
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x408a5a
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x408a5a
mov dword [ebx + 0xc18], 1
xor eax, eax
cmp esi, 0xffffffff
mov byte [ebx + 0x13], 0
setne dl
mov dword [ebx + 0xc], eax
and edx, 1
mov byte [ebx + 0x10], 0
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x408a98
mov dword [ebx + 4], esi
test edi, edi
je 0x408a8d
lea eax, [ebx + 0x416]
mov edx, edi
call fcn.0040d31c
lea eax, [ebx + 0x15]
mov edx, dword [ebp - 4]
call fcn.0040c44c
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x408c04
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0xc], 0
jne 0x408c13
cmp byte [ebx + 0x14], 0
jne 0x408c17
xor eax, eax
pop ebx
ret
cmp dword [ebx + 4], 0xffffffff
je 0x408c24
mov eax, ebx
call fcn.00408b98
call fcn.00404724
test eax, eax
je 0x408c4d
cmp word [ebx + 0x416], 0
je 0x408c4d
add ebx, 0x416
push ebx
call sub.KERNEL32.DLL_DeleteFileW
test eax, eax
setne al
and eax, 1
jmp 0x408c5e
add ebx, 0x15
push ebx
call sub.KERNEL32.DLL_DeleteFileA
test eax, eax
setne al
and eax, 1
pop ebx
ret
Function at 0x408c60
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, ecx
test esi, esi
mov edi, eax
mov dword [esp], edx
je 0x408d41
mov eax, dword [edi + 0xc]
test eax, eax
je 0x408c9b
dec eax
je 0x408c85
dec eax
je 0x408c91
jmp 0x408c9b
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
jmp 0x408c9b
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
cmp dword [edi + 0xc], 0
je 0x408ced
xor ebp, ebp
cmp esi, ebp
jle 0x408d09
push 0
lea eax, [esp + 8]
push eax
mov edx, esi
sub edx, ebp
cmp edx, 0x4000
jge 0x408cc0
mov ecx, esi
sub ecx, ebp
jmp 0x408cc5
mov ecx, 0x4000
push ecx
mov eax, dword [esp + 0xc]
add eax, ebp
push eax
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x408d09
add ebp, 0x4000
cmp esi, ebp
jg 0x408ca7
jmp 0x408d09
push 0
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0xc]
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
jne 0x408d3d
cmp dword [edi + 0xc], 0
jne 0x408d3d
lea ebp, [edi + 0x15]
mov eax, 0x413ed8
mov edx, ebp
call fcn.00407260
test al, al
jne 0x408c9b
mov edx, ebp
mov eax, 0x413ed8
call fcn.00407230
jmp 0x408d3d
mov byte [edi + 8], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408e18
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ecx
mov edi, edx
cmp dword [ebx + 0xc], 1
mov esi, ecx
jne 0x408e3f
cmp esi, 0x4e20
jle 0x408e35
mov esi, 0x4e20
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebx + 4], eax
push 0
lea eax, [esp + 4]
push eax
push esi
push edi
push dword [ebx + 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x408e7c
mov eax, ebx
call fcn.00409034
test al, al
je 0x408e77
cmp esi, 0x4e20
jle 0x408e77
mov ecx, 0x4e20
mov edx, edi
mov eax, ebx
call fcn.00408e18
jmp 0x408e7f
or eax, 0xffffffff
jmp 0x408e7f
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40b5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x40b5e9
cmp dword [ebp - 8], 0
jg 0x40b5f0
xor eax, eax
jmp 0x40b6a5
mov edx, dword [ebp - 8]
test edx, edx
jns 0x40b5fa
add edx, 0xf
sar edx, 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], edx
mov ecx, 0x10
mov edx, dword [ebp - 4]
add edx, 4
call fcn.0040c360
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x40b68c
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040b960
lea edx, [ebp - 0x30]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x20], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x18], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x14], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x40b61f
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 0x10
call fcn.0040c360
mov eax, dword [ebp - 0x10]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b8c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov dword [esp], eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
add edx, dword [esp]
shl ebx, 2
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx edi, byte [edx + 1]
mov bl, byte [edx]
lea edi, [edi*4 + 0x41651e]
lea ebx, [ebx*4 + 0x41611e]
mov bl, byte [ebx + eax]
xor bl, byte [edi + eax]
movzx edi, byte [edx + 2]
movzx edx, byte [edx + 3]
lea edi, [edi*4 + 0x41691e]
lea edx, [edx*4 + 0x416d1e]
xor bl, byte [edi + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4 + 4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x40b8da
inc eax
cmp eax, 4
jl 0x40b8d8
mov eax, esi
lea edx, [esp + 4]
shl eax, 4
mov ecx, 0x10
add eax, dword [esp]
add eax, 0x14
call fcn.0040c360
inc esi
cmp esi, 0xa
jl 0x40b8d6
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x40cc14
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret

Function at 0x40d204
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x4125d4], 0
jne 0x40d21d
call fcn.0040c5ec
mov dword [0x4125d0], eax
inc byte [0x4125d4]
call fcn.0040c5ec
sub eax, dword [0x4125d0]
cmp eax, 0x64
jle 0x40d259
cmp dword [0x4126c4], 0
je 0x40d254
mov eax, 0x413ed8
mov edx, 0xff
call fcn.0040737c
mov eax, 0x413ed8
mov edx, 0xff
call fcn.00407370
call fcn.00402344
ret
Function at 0x101ab70
Capabilities:
Get number of processors

Disassembly:
enter 0xedc, 0xc
add byte [eax], al
add byte [eax], al
adc byte [ecx - 0x3a6ff3f2], al
push cs
or al, 0xc8
fmul qword [esi]
or al, 0
add byte [eax], al
add byte [eax], ch
or dword [esi], 0xec5cc0c
or al, 0xc8
fmul qword [esi]
or al, 0
add byte [eax], al
add byte [eax - 0x7f], al
push cs
or al, 8
invalid

Function at 0x101aba0
Capabilities:
Get number of processors

Disassembly:
push cs
or al, 0xb0
ret
or al, 0xdc
les ecx, [esi]
or al, 0xc8
fmul qword [esi]
or al, 0x24
inc eax
add eax, 0xd22eb00c
or esi, dword [eax - 0x37f42dd2]
fmul qword [esi]
or al, 0x64
push edi
add al, 0xc
test al, 0x2f
ror byte [ebx], cl
test al, 0x2f
ror byte [ebx], cl
enter 0xedc, 0xc
add byte [eax], al
add byte [eax], al
loopne 0x101aada
push cs
or al, 0x18
lds ecx, [esi]
or al, 0xc8
fmul qword [esi]
or al, 0
add byte [eax], al
add al, bh
or byte [esi], 0xc
push esp
lds ecx, [esi]
or al, 0xc8
enter 0xedc, 0xc
add byte [eax], al
add byte [eax], al
adc byte [ecx - 0x3a6ff3f2], al
push cs
enter 0xedc, 0xc
add byte [eax], al
add byte [eax], al
jo 0x101ab2b
push cs
or al, 0x44
invalid
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x716b581a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub dword [eax - 0x2dce6f70], edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x649e0e4c
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
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
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
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
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401060
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0xc2712c], 0x594
mov dword [ebp - 8], eax
jne 0x40108c
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x8090c8]
mov edx, dword [0x8090cc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
call fcn.00401050
mov eax, dword [0x8090d0]
mov ecx, dword [0x8090d4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov ebx, 0x20
jmp 0x4010d0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0xc2712c]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401156
push edi
lea edx, [ebp - 0x470]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x30
lea ecx, [ebp - 0x6c]
push edi
push ecx
mov dword [ebp - 0x70], edi
call fcn.00404300
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
xor ecx, ecx
xor edx, edx
lea eax, [ebp - 0x3c]
push eax
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], dx
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push str.yasuzelavopoj
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0xc2712c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401170
mov dword [0xc27128], 0xedeb2e40
jmp 0x401190
cmp ecx, 0x3eb
jne 0x401190
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0xc26adc], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x14], eax
mov dword [0xc27124], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401040
sub ebx, 1
jne 0x4010d0
cmp dword [0xc2712c], 0xa6d
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
jne 0x401233
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401650
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0xc2712c], 0x400
push esi
push edi
jne 0x401695
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.kayed
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
lea eax, [ebp - 0x24]
call fcn.00401760
lea esi, [ebp - 0x24]
call fcn.00401780
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af2a3
jle 0x4016b3
cmp ebx, 0x78abdb45
jne 0x4016bc
inc esi
cmp esi, 0x1c5d
jl 0x4016a1
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x4016ed
inc esi
cmp esi, 0x4f6a4
jl 0x4016d0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40170c
cmp ebx, 0x785074d5
jne 0x401715
inc esi
cmp esi, 0x11915
jl 0x4016f8
mov ecx, dword [0x8096f4]
mov dword [0xc2712c], ecx
call fcn.00401390
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov edi, 0x3078f
pop ebx
cmp dword [0xc2712c], 0x51f
jne 0x401744
push 0
push 0
call esi
sub edi, 1
jne 0x401732
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404770
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x808868]
jne 0x40477a
repz ret
jmp fcn.00408419
Function at 0x408265
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.004037e3
and dword [ebp - 4], 0
cmp dword [0x80a0e4], 0
mov ebx, eax
jne 0x408316
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4083c7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4083c7
push eax
call fcn.00403771
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80a0e4], eax
call esi
push eax
call fcn.00403771
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80a0e8], eax
call esi
push eax
call fcn.00403771
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80a0ec], eax
call esi
push eax
call fcn.00403771
pop ecx
mov dword [0x80a0f4], eax
test eax, eax
je 0x408316
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403771
pop ecx
mov dword [0x80a0f0], eax
mov eax, dword [0x80a0f0]
cmp eax, ebx
je 0x40836e
cmp dword [0x80a0f4], ebx
je 0x40836e
push eax
call fcn.004037ec
push dword [0x80a0f4]
mov esi, eax
call fcn.004037ec
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40836e
test edi, edi
je 0x40836e
call esi
test eax, eax
je 0x408365
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408365
test byte [ebp - 0xc], 1
jne 0x40836e
or dword [ebp + 0x10], 0x200000
jmp 0x4083a7
mov eax, dword [0x80a0e8]
cmp eax, ebx
je 0x4083a7
push eax
call fcn.004037ec
pop ecx
test eax, eax
je 0x4083a7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4083a7
mov eax, dword [0x80a0ec]
cmp eax, ebx
je 0x4083a7
push eax
call fcn.004037ec
pop ecx
test eax, eax
je 0x4083a7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80a0e4]
call fcn.004037ec
pop ecx
test eax, eax
je 0x4083c7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4083c9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x70c51fd4
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x40564434
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0xf9b370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xf9b38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xfc4074
push ecx
mov edi, eax
call fcn.00faf198
mov esi, eax
add esp, 8
test esi, esi
jne 0xf9b3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00faf02e
push esi
call fcn.00faefb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret