joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480450
Capabilities:
Encode data using xor

Disassembly:
clc
div byte [edx + 0x1cc3ddad]
loop 0x4804bd
sti
sub byte [edi + 0x6b], bh
jbe 0x480491
push es
mov dl, al
xor al, 0xe9
push 0xffffffffffffffb9
dec esi
call 0x19be07e0
pop ecx
sar dword [eax - 0x523b1c7c], 0x4d
mov esi, dword [ebx + 0x1c]
or al, 0x76
push cs
dec ebp
adc dword [edx - 0x651daa1d], ebp
pop edi
jmp dword [edx + ecx + 0x124b2c6e]
mov esp, 0xe3202397
mov es, ebp
enter 0xffffffffffff8b31, 0xffffffffffffffb4
xchg edx, eax
invalid
xchg esi, eax
setne bl
xchg esi, eax
cmpsd dword cs:[esi], dword es:[edi]
cmpsd dword [esi], dword es:[edi]
mov ecx, 0x6ed3336
pop es
dec esp
loop 0x4804c3
wait
mov eax, dword [0xf6956396]
jmp 0x850d0bde

Function at 0x4a7288
Capabilities:
Encode data using xor

Disassembly:
xor al, 9
dec ebp
mov dl, bh
xlatb
pop esp
sbb dword [edx - 0x17b1748f], edx
les eax, [ecx - 0x196e108]
xor al, 0xf5
lcall 0x8e92, 0x27c54d2b
sar bh, 1
arpl word [edx + 0x7cbb2737], sp
in al, dx
jb 0x4a728c
mov al, byte [0x4c66c5b8]
sal bh, 1
sbb al, 0xb5

Function at 0x40169e
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4042cb], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404772], eax
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x404706], eax
mov dword [0x4042c3], eax
mov dword [0x4046f2], 0x30
mov dword [0x4046f6], 2
jmp 0x4016df
xor eax, eax
mov dword [0x4046fa], 0x403290
mov dword [0x4046fe], eax
mov dword [0x404702], eax
mov eax, 0x4041c7
mov dword [0x404712], 0xe
mov dword [0x40471a], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40470e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x40470a], eax
mov dword [0x40471e], eax
push 0x4046f2
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4042c3]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4046c8
push 0x4041c7
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404766], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404766]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404722]
jmp 0x4017a6
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401798
mov eax, dword [0x40472a]
jmp 0x4017c1
call 0x402a9e
ret
Function at 0x401260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
push esi
push edi
push 0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x401410
call ebx
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x34], 5
mov dword [esp + 0x3c], str.WindowClass
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
call ebx
push eax
push 0
push 0
push 0x190
push 0x1f4
push 0x12c
push 0x12c
push 0xcf0000
push str.AutoInstaller
push str.WindowClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
push 0xa
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
sub edi, dword [esp + 0x40]
sub esi, dword [esp + 0x44]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push ebx
push 0x14
push 0xc8
lea eax, [esi - 0x1e]
push eax
push 0xa
push 0x50000000
push 0
push str.msctls_progress32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
mov dword [0x4053f8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push ebx
push 0x32
push 0x96
lea eax, [esi - 0x3c]
push eax
lea eax, [edi - 0xa0]
push eax
push 0x50010001
push str.Install
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x50]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x4013f4
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x50]
push eax
call esi
lea eax, [esp + 0x50]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call ebx
test eax, eax
jne 0x4013d5
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004015c7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401770
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 0x30], 0x2710
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
jmp 0x401796
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2710
jge 0x40180a
cmp dword [ebp - 8], 0
jne 0x4017ed
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebp - 0x14], edx
push 0xc
call fcn.004084a9
add esp, 4
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
jmp 0x401808
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
push edx
mov edx, dword [ebp - 8]
push edx
call fcn.00401650
add esp, 8
jmp 0x40178d
mov eax, 1
test eax, eax
je 0x4018d5
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004013f0
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x40a25c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0x24], edx
push str._H:_M:_S
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00405750
add esp, 0xc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004057a0
add esp, 8
mov dword [ebp - 0x28], eax
push 0x4059e0
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
lea ecx, [ebp - 0x58]
push ecx
call fcn.00405a00
add esp, 4
jmp 0x40180a
mov edx, dword [ebp - 8]
push edx
call fcn.00401720
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x401a30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13c0
call fcn.004094f0
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0xffffffff
push 0x6c078965
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x13c0]
call fcn.00405350
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0xff
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x14], 0xf
jbe 0x401a9e
mov dword [ebp - 0x14], 1
jmp 0x401aa5
mov dword [ebp - 0x14], 0
mov dl, byte [ebp - 0x14]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x401ac1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x1c]
call fcn.00404ca0
mov dword [ebp - 0x2c], eax
jmp 0x401ae3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x2c]
je 0x401b0f
mov edx, dword [ebp - 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x13c0]
push edx
lea ecx, [ebp - 0x38]
call fcn.004073f0
mov ecx, dword [ebp - 0x30]
mov byte [ecx], al
jmp 0x401ada
mov esp, ebp
pop ebp
ret

Function at 0x401c60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], 0
xor eax, eax
mov eax, dword fs:[0x30]
mov edx, 0x2a
add ebx, edx
nop
sub ecx, 0xa
nop
xor ecx, ecx
mov eax, dword [eax + 2]
and eax, 0xff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407d00
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x407d1e
mov ecx, dword [ebp - 8]
call fcn.00407da0
jmp 0x407d31
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x407d31
mov ecx, dword [ebp - 8]
call fcn.00407e30
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0xb
mov edx, dword [ebp - 8]
and ecx, dword [edx + 0x1384]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x407da0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x407dbb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x407e27
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x407dff
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x407e06
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x407db2
mov esp, ebp
pop ebp
ret
Function at 0x407e30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x407e59
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x407ec5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x407e9d
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x407ea4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x407e50
mov dword [ebp - 0xc], 0xe3
jmp 0x407ed7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x407f43
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x407f1b
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x407f22
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x407ece
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x407f8c
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x407f93
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret

Function at 0x408dc4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408e03
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408e03
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408e03
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408e03
cmp dword [ecx + 0x74], 0xe
jbe 0x408e03
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x409f72
Capabilities:
Move file

Disassembly:
mov eax, 0x40bca7
call fcn.0040a890
sub esp, 0x14
push ebx
push esi
push edi
push ecx
mov eax, esp
xor ebx, ebx
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x10], ebx
call fcn.0040129d
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.00401db0
mov dword [ebp - 4], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 1
lea eax, [ebp - 0x1c]
pop edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.0040a684
mov byte [ebp - 4], 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x14]
mov esi, 0x40faa4
push eax
push esi
call fcn.00408c13
test al, al
je 0x40a019
mov ecx, dword [ebp + 8]
push esi
call fcn.00406638
mov dword [ebp - 0x10], edi
jmp 0x40a0d2
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
mov byte [ebp - 4], 4
call fcn.00401228
cmp eax, ebx
jne 0x40a046
mov ecx, dword [ebp + 8]
push esi
call fcn.00406638
mov dword [ebp - 0x10], edi
jmp 0x40a0d2
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040659c
mov byte [ebp - 4], 6
nop
nop
nop
nop
nop
nop
push 0x40f964
push 0x40f960
lea ecx, [ebp - 0x18]
call fcn.00406da0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x18]
call fcn.004062b4
push eax
lea ecx, [ebp - 0x14]
call fcn.004062b4
push eax
call dword [sym.imp.MSVCRT.dll_rename]
pop ecx
test eax, eax
pop ecx
jne 0x40a0b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040659c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
call fcn.00406565
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406565
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00406565
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

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
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x4117af
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
jne 0x411824
mov edx, edi
add edx, dword [edi + 0x3c]
cmp word [edx], 0x4550
jne 0x411824
mov dword [ebp - 0xc], edx
mov eax, dword [edx + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
cmp ecx, dword [edx + 0x18]
jge 0x411824
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + ecx*4]
add ebx, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
call fcn.00411580
cmp eax, 1
je 0x411804
inc ecx
jmp 0x4117e2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp + 8]
xor ebx, ebx
mov bx, word [eax + ecx*2]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp + 8]
mov edx, dword [eax + ebx*4]
add edx, dword [ebp + 8]
jmp 0x411826
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x411830
Capabilities:
Access peb ldr_data

Disassembly:
xor edx, edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov edx, dword [ebx + 0x10]
mov dword [0x412c24], edx
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [0x412c20], ebx
ret

Function at 0x4118e6
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
mov edi, eax
mov esi, 0x412020
mov ecx, dword [0x4115b8]
shr ecx, 1
dec ecx
mov bl, byte [0x4115bc]
rdtsc
push eax
mov bh, byte [esi]
inc esi
mov byte [edi], bh
inc edi
mov al, byte [esi]
stosb byte es:[edi], al
add byte [edi - 1], bl
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
loop 0x411906
rdtsc
pop edx
sub eax, edx
pop edx
push edx
push 0
push 0
push 0x4119dc
call dword [fcn.00411c2a]
push 0x4119a1
push eax
call dword [fcn.00411c3a]
mov dword [fcn.00411c1e], eax
push 0
push 2
push 0x4119da
push 0x4119b0
call dword [fcn.00411c1e]
pop edx
sub edx, eax
ret
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
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
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100023e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebx + 0xc]
mov dword [ebx + 0x18], 0
mov dword [edi], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x48], esi
mov dword [ebx], edx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov ecx, dword [edx + 0x434]
mov eax, dword [edx + 0x438]
add ecx, edx
mov dword [ebx + 0x10], ecx
mov ecx, ebx
call fcn.100016b0
push edi
push esi
call dword [sym.imp.d3dx9_43.dll_D3DXCreateSprite]
test eax, eax
jns 0x1000245c
push str.D3DXCreateSprite_FAILED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret 8