joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x405197
mov eax, dword [esi + 4]
test eax, eax
je 0x405197
push dword [ebp + 8]
push 0x23
push dword [esi + 0xc]
push eax
call ebx
cmp dword [edi + 0x318c], 0
jne 0x4051e0
push 0x4000
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x318c], eax
test eax, eax
jne 0x4051e0
test esi, esi
je 0x4051d3
mov eax, dword [esi + 4]
test eax, eax
je 0x4051d3
push 0
push 0x4b
push dword [esi + 0xc]
push eax
call ebx
mov eax, 0x210000d3
pop edi
pop esi
pop ebx
pop ebp
ret 8
test esi, esi
je 0x4051ef
mov ecx, esi
call fcn.00401580
test eax, eax
jne 0x405247
push 0x4000
push dword [edi + 0x318c]
push dword [edi + 0x3184]
call fcn.004089f0
test eax, eax
js 0x40526b
jle 0x405272
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [edi + 0x318c]
mov dword [ebp + 0xc], 0
push dword [edi + 0x3188]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405264
test esi, esi
je 0x4051ef
mov eax, dword [esi + 4]
test eax, eax
je 0x4051e0
push dword [ebp + 0xc]
push 0x28
push dword [esi + 0xc]
push eax
call ebx
jmp 0x4051e0
mov eax, dword [esi + 4]
test eax, eax
je 0x405258
push 0
push 0x4b
push dword [esi + 0xc]
push eax
call ebx
mov eax, 0x210000da
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov edi, 0x210000df
jmp 0x405274
mov edi, 0x210000de
jmp 0x405274
xor edi, edi
test esi, esi
je 0x405289
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x405289
push 0
push 0x4b
push dword [esi + 0xc]
push ecx
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4060c0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4268c0]
imul eax, eax, 0x20a
push ebx
xorps xmm0, xmm0
push esi
push edi
add eax, 0x425a7c
movq qword [ebp - 0x60], xmm0
movq qword [ebp - 0x58], xmm0
movq qword [ebp - 0x50], xmm0
push 0x425e90
movq qword [ebp - 0x48], xmm0
movq qword [ebp - 0x40], xmm0
movq qword [ebp - 0x38], xmm0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x54], str.open
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
mov ecx, 0x425e90
cmove ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
xor ecx, ecx
cmp byte [0x425869], cl
mov eax, 0xa
cmovne eax, ecx
test dword [0x426cec], 0x10
mov dword [ebp - 0x48], 0x426ae2
mov dword [ebp - 0x44], eax
je 0x40615e
cmp byte [0x425a79], cl
jne 0x40616e
cmp byte [0x423dcc], cl
je 0x406175
cmp byte [0x423dcb], cl
jne 0x406175
mov ebx, 1
jmp 0x406177
xor ebx, ebx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x5c], 0x8085c0
mov dword [ebp - 0x58], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov eax, dword [ebp - 0x40]
je 0x406248
cmp eax, 0x20
jbe 0x406248
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40623f
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ecx]
push 0x3e8
push eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x28]
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4061ea
cmp dword [ebp - 4], 0x103
jne 0x4061ea
mov eax, dword [ebp - 0x28]
jmp 0x4061c0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [0x425054], eax
test ebx, ebx
je 0x40623f
xorps xmm0, xmm0
mov eax, 0x414
movq qword [ebp - 0x14], xmm0
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], 0x426ae2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x406259
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov ecx, 0x210000e6
cmp eax, 0x20
ja 0x406269
lea ecx, [eax + 0x210000e6]
xor edx, edx
cmp eax, 5
pop edi
cmove ecx, edx
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
test ecx, ecx
jne 0x407367
xor al, al
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407364
shr eax, 4
not eax
and eax, 1
ret
Function at 0x407380
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x40738c
lea eax, [ecx + 0x57]
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40739f
shr eax, 4
and al, 1
jne 0x4073c1
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4073c1
cmp eax, 0x50
je 0x4073c1
cmp eax, 0xb7
je 0x4073c1
cmp eax, 0x4c7
jne 0x4073c3
xor eax, eax
pop esi
ret

Function at 0x407430
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407463
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4074b2
lea eax, [ebp - 0x10]
push eax
push edi
shr edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x4074b2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x4074b2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4076a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
push edi
push 0xf4
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
test esi, esi
je 0x407706
push 0x104
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
lea ecx, [ebx - 1]
cmp ecx, 0x102
ja 0x407702
cmp ebx, 0xf4
jae 0x407702
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, ebx
test esi, esi
jne 0x407712
push str.c:_temp_
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
jne 0x40773c
push edi
call ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [edi + esi*2]
push str._08lx
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040939c
mov esp, ebp
pop ebp
ret
Function at 0x4078b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
push edi
mov edi, ecx
mov byte [ebp - 0x251], 0
cmp esi, 0x210000cb
jg 0x4078e9
cmp esi, 0x210000c9
jge case.0x4078fb.553648334
test esi, esi
jne case.0x4078fb.553648336
lea ecx, [edx + 0x77]
jmp 0x407965
lea eax, [esi - 0x210000ce]
cmp eax, 0x4f
ja case.0x4078fb.553648336
movzx eax, byte [eax + 0x407a70]
jmp dword [eax*4 + 0x407a44]
mov ecx, 0x82
jmp 0x407965
mov ecx, 0x7d
jmp 0x407965
mov ecx, 0x7b
mov byte [ebp - 0x251], 1
jmp 0x407965
mov ecx, 0x7c
jmp 0x407965
mov ecx, 0x7e
jmp 0x407965
mov ecx, 0x7f
jmp 0x407965
mov ecx, 0x80
jmp 0x407965
mov ecx, 0x81
jmp 0x407965
mov ecx, 0x79
jmp 0x407965
lea eax, [esi - 0x210000e6]
cmp eax, 0x20
ja 0x407960
mov ecx, 0x83
sub esi, 0x210000e6
jmp 0x407965
mov ecx, 0x78
xor eax, eax
mov word [ebp - 0x250], ax
cmp esi, 0x21000064
jle 0x40797c
sub esi, 0x21000064
push ebx
push str.Error....
push 0xe4
lea edx, [ebp - 0x250]
call fcn.00407ac0
push esi
lea eax, [ebp - 0x44]
push str.__r_n__d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f9
push edi
call ebx
cmp byte [ebp - 0x251], 0
mov esi, eax
je 0x4079eb
test esi, esi
je 0x4079eb
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor eax, 0x200
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x250]
push eax
push 0x3f9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3f4
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x407a15
push 0
push eax
call esi
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x3f9
push edi
call ebx
pop ebx
test eax, eax
je case.0x4078fb.553648353
push 5
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040939c
mov esp, ebp
pop ebp
ret
Function at 0x407ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor eax, eax
mov ebx, edx
push esi
mov word [ebx], ax
movzx eax, byte [0x425050]
xor esi, esi
push edi
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x407b92
mov eax, ecx
and eax, 0xf
mov dword [ebp - 8], eax
movzx eax, word [0x425044]
push eax
shr ecx, 4
inc ecx
movzx eax, cx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
je 0x407b92
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x407b92
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x407b92
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x407b92
xor ecx, ecx
xor edx, edx
cmp dword [ebp - 4], ecx
jbe 0x407b92
movzx eax, word [edi + ecx*2]
cmp edx, dword [ebp - 8]
je 0x407b54
inc eax
add ecx, eax
inc edx
cmp ecx, dword [ebp - 4]
jb 0x407b40
jmp 0x407b92
cmp dword [ebp - 0xc], esi
je 0x407b6f
push dword [ebp + 8]
inc ecx
push ebx
mov edx, eax
lea ecx, [edi + ecx*2]
call fcn.00407bd0
add esp, 8
mov esi, eax
jmp 0x407b8e
mov esi, eax
cmp esi, dword [ebp + 8]
jge 0x407b8e
lea eax, [esi + 1]
push eax
lea eax, [edi + 2]
lea eax, [eax + ecx*2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
mov word [ebx + esi*2], ax
test esi, esi
jg 0x407bb9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x407bb9
mov esi, dword [ebp + 8]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
push ebx
mov word [ebx + esi*2], ax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e659
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040bc15
mov dword [ebp - 0x14], eax
cmp dword [0x423cc8], edi
jne 0x40e74a
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40e6d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e82a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40e82a
push 0x41c4e8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e82a
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x423cc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x423ccc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x423cd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x423cd8], eax
test eax, eax
je 0x40e747
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x423cd4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e76f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e762
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40e784
push 4
pop eax
jmp 0x40e82c
cmp dword [ebp - 0x14], edi
je 0x40e784
push dword [0x423cc8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e769
mov eax, dword [0x423cd4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40e7e2
cmp dword [0x423cd8], esi
je 0x40e7e2
push eax
call ebx
push dword [0x423cd8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e7e2
test eax, eax
je 0x40e7e2
call ecx
test eax, eax
je 0x40e7d7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e7d7
test byte [ebp - 8], 1
jne 0x40e7e2
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40e812
mov eax, dword [0x423ccc]
cmp eax, esi
je 0x40e80f
push eax
call ebx
test eax, eax
je 0x40e80f
call eax
mov edi, eax
test edi, edi
je 0x40e80f
mov eax, dword [0x423cd0]
cmp eax, esi
je 0x40e80f
push eax
call ebx
test eax, eax
je 0x40e80f
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x423cc8]
call ebx
test eax, eax
je 0x40e82a
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40e82c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040939c
leave
ret
Function at 0x4102e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x410312
lea esp, [esp]
test cl, 3
je 0x410312
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41c598]
add ecx, 1
sub esi, 1
jne 0x4102f0
cmp esi, 0x20
push ebx
push edi
jb 0x4104fc
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41c998]
xor edx, dword [ebx*4 + 0x41cd98]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41c598]
add ecx, 4
xor edx, dword [eax*4 + 0x41d198]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41c998]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41cd98]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41c598]
add ecx, 4
xor eax, dword [edx*4 + 0x41d198]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41c998]
xor edx, dword [ebx*4 + 0x41cd98]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41c598]
xor edx, dword [eax*4 + 0x41d198]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41c998]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41cd98]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41c598]
xor eax, dword [edx*4 + 0x41d198]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41c998]
xor edx, dword [ebx*4 + 0x41cd98]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41c598]
xor edx, dword [eax*4 + 0x41d198]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41c998]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41cd98]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41c598]
and edx, 0xff
xor eax, dword [edx*4 + 0x41d198]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x41c998]
xor edx, dword [ebx*4 + 0x41cd98]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x41c598]
add ecx, 4
xor edx, dword [eax*4 + 0x41d198]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x41c998]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x41cd98]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x41c598]
and edx, 0xff
xor eax, dword [edx*4 + 0x41d198]
sub edi, 1
jne 0x410322
cmp esi, 4
jb 0x410549
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x41c998]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x41cd98]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x41c598]
and eax, 0xff
xor edi, dword [eax*4 + 0x41d198]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x410506
test esi, esi
pop edi
pop ebx
je 0x41056d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41c598]
add ecx, 1
sub esi, 1
jne 0x410550
not eax
pop esi
ret
Function at 0x732960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x670015
lea edi, [esi - 0x26f015]
mov dword [edi + 0x2ff21c], 0xbe7ba36d
push edi
or ebp, 0xffffffff
jmp 0x73298a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x732991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x732980
mov eax, 1
add ebx, ebx
jne 0x7329a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7329b4
jne 0x7329d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7329d3
dec eax
add ebx, ebx
jne 0x7329c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x732998
add ebx, ebx
jne 0x7329cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x732a25
xor ecx, ecx
sub eax, 3
jb 0x7329eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x732a5a
sar eax, 1
mov ebp, eax
jmp 0x7329f6
add ebx, ebx
jne 0x7329f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7329c4
inc ecx
add ebx, ebx
jne 0x732a04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7329c4
add ebx, ebx
jne 0x732a11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x732a06
jne 0x732a22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x732a06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x732a44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x732a36
jmp 0x732986
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x732a44
add edi, ecx
jmp 0x732986
pop esi
mov edi, esi
mov ecx, 0xfe8d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x732a62
cmp byte [edi], 0x97
jne 0x732a62
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 al, bl
loop 0x732a67
lea edi, [esi + 0x32e000]
mov eax, dword [edi]
or eax, eax
je 0x732ad6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x343fa4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3440b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x732a94
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3440bc]
or eax, eax
je 0x732ad0
mov dword [ebx], eax
add ebx, 4
jmp 0x732ab1
call dword [esi + 0x3440b8]
mov ebp, dword [esi + 0x3440c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x332b31]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x732b22
sub esp, 0xffffff80
jmp 0x4012a0
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret