joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55c310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
je 0x55c435
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x55c435
push edi
mov ecx, 1
mov edi, 0x7222d4
xor eax, eax
lock cmpxchg dword [edi], ecx
cmp eax, 1
je 0x55c41b
cmp dword [edx + 0x24], 1
je 0x55c41b
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
movq qword [0x7222b4], xmm0
mov eax, dword [eax + 8]
mov dword [0x7222bc], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [eax]
movq qword [0x7222c0], xmm0
mov eax, dword [eax + 8]
mov dword [0x7222c8], eax
mov eax, dword [esi + 0x1f4]
mov dword [0x7222cc], eax
mov eax, dword [ebp + 0x14]
mov dword [0x6d2158], eax
mov dword [0x7222d0], edx
mov dword [esi + 0x3ac], 0
mov eax, dword [0x6fc4c4]
mov dword [eax + 0xa00], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x6c8b78
mov dword [0x7222a8], eax
call fcn.004e8880
mov dword [0x7222ac], eax
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0x55c440
push 0
push 0
mov dword [0x7222a0], 1
mov dword [0x7222a4], 1
mov dword [0x7222dc], 0
mov dword [0x72229c], 0
mov dword [0x7222b0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x55c423
xchg dword [edi], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x10
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x55db40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2ff8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6d28d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.CTileManager.0
lea ecx, [edi + 0x38]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.0051fe10
mov dword [edi + 0x38], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x58]
push eax
call fcn.004b9490
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x6c]
push eax
call fcn.004b9490
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x8c]
push eax
call fcn.004b9490
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0xa0]
call fcn.004b9490
mov dword [edi + 0xc], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x575860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3a0e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d28d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
push 0x40
mov byte [ebp - 4], 2
call fcn.0053daf0
push 0x40
lea ecx, [ebx + 0x24]
call fcn.0053daf0
push 0x40
lea ecx, [ebx + 0x48]
call fcn.0053daf0
mov ecx, ebx
call fcn.00575510
mov ecx, ebx
call fcn.005753b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x582260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x228c]
test ecx, ecx
je 0x5822d5
mov ecx, dword [esi + ecx*4 + 0x984]
push edi
push 1
call fcn.00457040
movzx edi, word [esi + 0xa05]
mov eax, 0x66666667
mov ecx, dword [esi + 0x228c]
imul edi
inc ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [ecx + ecx*4]
shl ecx, 2
lea edx, [eax + eax*4]
shl edx, 2
lea eax, [ecx - 0x14]
mov dword [esi + 0x2284], eax
sub edi, edx
jne 0x5822c3
mov dword [esi + 0x2288], ecx
mov ecx, esi
pop edi
pop esi
jmp fcn.00582410
lea eax, [edx + edi]
mov ecx, esi
pop edi
mov dword [esi + 0x2288], eax
pop esi
jmp fcn.00582410
mov ecx, dword [esi + 0x984]
push 1
call fcn.00457040
pop esi
ret
Function at 0x582e10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
je 0x582e60
push 0x7c9
mov ecx, 0x6ff4b0
call fcn.004f7180
push eax
push 0x17
push 0x6ff4b0
call fcn.004f67c0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret
mov eax, dword [0x7204f0]
mov dword [ebp - 0x210], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea edx, [ebp - 0x210]
push edx
push 0x5bfb18
mov ecx, dword [eax]
push eax
call dword [ecx + 0x134]
test eax, eax
je 0x582e4f
cmp dword [esi + 0xc], 0
jne 0x582ec5
push str.bdcap32.dll
mov ecx, esi
call fcn.00582ff0
test eax, eax
jns 0x582eab
push 0x7ca
jmp 0x582e35
mov eax, dword [esi]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call dword [eax + 0xc]
cmp dword [esi + 0xc], 0
je 0x582f88
mov eax, dword [esi]
push 0x140
push 0xf
push esi
call dword [eax + 0x40]
mov ecx, esi
call fcn.005833f0
push 0
mov ecx, 0x6d23f0
call fcn.0056f290
push eax
lea eax, [ebp - 0x108]
push str._sScreenShot
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x582f1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x582e4f
push 0x104
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push 0x5bfbf8
push str.Capture
lea eax, [ebp - 0x108]
push eax
call fcn.00583300
lea eax, [ebp - 0x20c]
mov ecx, 0x6ff4b0
push eax
push 0x971
call fcn.004f7180
push eax
push 0x17
push 0x6ff4b0
call fcn.004f67c0
add esp, 0x10
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
push 4
push 0
push eax
push esi
call fcn.00583550
test eax, eax
js 0x582e4f
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.00597574
mov esp, ebp
pop ebp
ret

Function at 0x587b10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x104]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push 0x5c
push eax
call dword [sym.imp.MSVCR120.dll_strrchr]
add esp, 8
mov esi, ebx
mov byte [eax + 1], 0
mov al, byte [ebx]
inc ebx
test al, al
jne 0x587b70
lea edi, [ebp - 0x104]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x587b80
mov ecx, ebx
lea eax, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0xff
push dword [ebp - 0x110]
mov ecx, ebx
push 0
push dword [ebp - 0x108]
and ecx, 3
push dword [ebp - 0x10c]
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00597574
mov esp, ebp
pop ebp
ret
Function at 0x58f640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6d124c]
push ebx
push esi
push eax
push eax
mov ebx, ecx
mov ecx, 0x6d23f0
push 0
call fcn.0056f290
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIE
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x58f6d4
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x58f6e6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00597574
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x110], 0x61208
jne 0x58f6cd
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x16c
lea eax, [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x58f6cd
cmp dword [ebp - 0x10c], 0x16c
push esi
ja 0x58f6ce
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00597574
mov esp, ebp
pop ebp
ret
Function at 0x591aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6d28d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6d124c]
push ebx
push edi
push eax
push eax
mov ebx, ecx
mov ecx, 0x6d23f0
push 0
call fcn.0056f290
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIE
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x591b49
push 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0x61208
push eax
push 4
lea eax, [ebp - 0x110]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x10c]
push eax
push 0x16c
lea eax, [ebx + 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00597574
mov esp, ebp
pop ebp
ret
Function at 0x592160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a44c9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d28d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CDungeonMgr.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
push 0x1e0
lea ebx, [edi + 0x70]
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc4]
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x1e0
lea eax, [ebx + 0x2a4]
push 0
push eax
call sub.MSVCR120.dll_memset
push 0x48e
xorps xmm0, xmm0
push 0
movq qword [ebx + 0x484], xmm0
push ebx
mov word [ebx + 0x48c], 0
call sub.MSVCR120.dll_memset
add esp, 0x24
mov dword [edi + 0x500], 0
lea ecx, [edi + 0x500]
mov dword [edi + 0x504], 0
call fcn.0051fe10
mov dword [edi + 0x500], eax
add edi, 0x508
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [ebp - 0x10]
lea esi, [ecx + 0x52c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea ebx, [ecx + 0x550]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
push 0x48e
lea eax, [ecx + 0x70]
mov byte [ebp - 4], 6
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0xc8
mov ecx, edi
call fcn.0053daf0
push 0x14
mov ecx, esi
call fcn.0053daf0
mov esi, dword [ebp - 0x10]
push 0x404
push 0
lea eax, [esi + 0x590]
mov dword [esi + 0x574], 0
push eax
mov dword [esi + 0x57c], 0
mov dword [esi + 0x578], 0xf
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [esi + 4]
push 0xc8
call fcn.0053daf0
push 0x14
mov ecx, ebx
mov dword [esi + 0x580], 0
mov dword [esi + 0x584], 0
mov dword [esi + 0x588], 0
mov dword [esi + 0x58c], 0
call fcn.0053daf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x596cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
sar eax, 2
and esi, 3
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], esi
lea edx, [eax*4]
mov dword [ecx + 0x50], edx
push edi
test eax, eax
je 0x596d2f
xor edi, edi
xor edi, dword [ebx]
lea ebx, [ebx + 4]
dec eax
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x48], eax
jne 0x596d21
test esi, esi
je 0x596d4c
mov edi, dword [ecx + 0x54]
mov eax, dword [ebp + 8]
movsx eax, byte [edx + eax]
inc edx
xor edi, eax
mov dword [ecx + 0x50], edx
dec esi
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x4c], esi
jne 0x596d36
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4011b8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x406c90
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor edi, edi
test ebp, ebp
je 0x406d5e
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [sym.imp.USER32.dll_IsDialogMessageW]
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
push 0x18693
push 0
call esi
mov eax, edi
xor edx, edx
div dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov cl, byte [eax + edx*2]
mov dl, byte [edi + ebx]
xor dl, cl
mov byte [edi + ebx], dl
inc edi
cmp edi, ebp
jne 0x406cac
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x407600
Capabilities:
Create thread

Disassembly:
sub esp, 0x4c
push esi
push edi
call fcn.00401055
xor esi, esi
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x40], eax
mov eax, dword [0x413034]
push 0x6b
push eax
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], 3
mov dword [esp + 0x34], 0x4077b0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
call edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
push 0x6c
push eax
mov dword [esp + 0x4c], 6
mov dword [esp + 0x50], 0x6d
mov dword [esp + 0x54], str.WinBattle
call edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], eax
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
lea edx, [esp + 0xc]
mov ecx, 0x413050
push edx
call fcn.004010f5
mov ecx, eax
push esi
push 1
lea edx, [esp + 0x1c]
mov eax, dword [ecx]
push 0xcf0000
push edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub eax, ecx
push esi
cdq
mov ecx, eax
mov eax, dword [esp + 0x24]
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x1c]
sub eax, edx
inc ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [0x413034]
push edx
inc eax
push esi
push esi
push eax
push ecx
push esi
push closesocket
push 0xcf0000
push str.WinBattle
push str.WinBattle
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4371f0], eax
mov dword [0x413054], eax
mov eax, dword [str.localhost]
push 0xd05
push eax
mov ecx, 0x412fe8
call fcn.00401037
lea ecx, [esp + 8]
mov dword [esp + 8], esi
push ecx
push esi
push esi
push 0x40103c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
add esp, 0x4c
ret

Function at 0x407a50
Capabilities:
Get hostname

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0xc], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edx, dword [0x4371ec]
mov eax, 0x412fe8
mov esi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
push 0x412688
neg eax
sbb eax, eax
push edx
lea ecx, [esp + 0x14]
push 0x412684
and eax, 0x412ff0
push ecx
push str.connect
push eax
call esi
add esp, 8
push eax
call esi
add esp, 8
push eax
call esi
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call esi
add esp, 8
lea edx, [esp + 8]
mov ecx, 0x412fe8
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov eax, dword [esp + 8]
pop esi
mov dword [0x413050], eax
add esp, 0x18
ret
Function at 0x408970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp fcn.00401600
mov ecx, 0x413050
jmp 0x40117c
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x218c748c
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x8f84819
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
mov ebx, 0x408ecc
mov ecx, 0x30ce4f2a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x61ac009d
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219