joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
lea eax, [ebp - 0xc]
dec eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xb
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0xb
mov byte [ebp - 0xc], 0x43
mov byte [ebp - 0xb], 0x4e
mov byte [ebp - 0xa], 0x4e
mov byte [ebp - 9], 0x3a
mov byte [ebp - 8], 0x1a
mov byte [ebp - 7], 0x34
mov byte [ebp - 6], 0x42
mov byte [ebp - 5], 0x51
mov byte [ebp - 4], 0x19
mov byte [ebp - 3], 0x33
mov byte [ebp - 2], 0x25
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 1
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x48]
movzx ebx, byte [ebp + eax - 0xd]
push ebx
push 1
call fcn.00402ae0
add esp, 8
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00402b50
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 0xb
jle 0x401796
push 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
lea ebx, [eax + 0x14]
push ebx
push dword [ebp + 8]
call fcn.004016d0
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401440
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.00401f00
push 2
push 0x40b028
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.00402f80
push eax
call fcn.00401f90
test eax, eax
jne 0x40181d
push 1
lea eax, [ebp - 0x44]
push eax
push 0
call fcn.004030c0
push 0xffffffffffffffff
call fcn.00403110
lea eax, [ebp - 0x44]
push eax
call fcn.00402cd0
lea eax, [ebp - 0x38]
push eax
call fcn.00402cd0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x4026c1
mov eax, dword [0x416004]
cmp eax, 1
jl 0x4026bc
cmp eax, 2
mov ebx, 1
jle 0x4026c1
cmp eax, 3
mov ebx, 4
je 0x4026c1
mov ebx, 3
fld dword [0x40c00c]
fld qword [ebp + 8]
fucompp
fnstsw ax
sahf
je 0x40278c
cmp ebx, 2
je 0x4027a3
jle 0x402752
cmp ebx, 4
je 0x4027d9
fld qword [ebp + 8]
mov edx, 0x402890
mov dword [0x40b084], edx
mov edx, 1
fnstcw word [ebp - 0xa]
movzx eax, word [ebp - 0xa]
or ax, 0xc00
mov word [ebp - 0xc], ax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x18]
fldcw word [ebp - 0xa]
mov eax, dword [ebp - 0x18]
mov dword [0x40d020], eax
lea esi, [esi]
imul eax, dword [edx*4 + 0x40d01c], 0x19660d
add eax, 0x3c6ef35f
mov dword [edx*4 + 0x40d020], eax
inc edx
cmp edx, 0x26f
jle 0x402720
mov eax, 0x40d9e0
mov dword [section..bss], eax
add esp, 0x24
pop ebx
pop ebp
ret 0xc
dec ebx
jne 0x4026e9
fld qword [ebp + 8]
mov eax, 0x4025a0
mov dword [0x40b084], eax
fnstcw word [ebp - 0xa]
movzx eax, word [ebp - 0xa]
or ax, 0xc00
mov word [ebp - 0xc], ax
fldcw word [ebp - 0xc]
fistp dword [esp]
fldcw word [ebp - 0xa]
call sub.MSVCRT.DLL_srand
call sub.MSVCRT.DLL_rand
add esp, 0x24
pop ebx
pop ebp
ret 0xc
jp 0x4026d5
call fcn.00404400
cmp ebx, 2
fstp qword [ebp + 8]
jne 0x4026de
fld qword [ebp + 8]
mov ebx, 0x4025e0
mov dword [0x40b084], ebx
fnstcw word [ebp - 0xa]
movzx eax, word [ebp - 0xa]
or ax, 0xc00
mov word [ebp - 0xc], ax
fldcw word [ebp - 0xc]
fistp qword [ebp - 0x18]
fldcw word [ebp - 0xa]
mov eax, dword [ebp - 0x18]
mov dword [0x40b080], eax
add esp, 0x24
pop ebx
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov ecx, 0x402620
mov dword [0x40b084], ecx
mov eax, edx
shr edx, 0x10
xor eax, edx
and eax, 0xffff
shl eax, 8
movzx edx, byte [0x40b080]
or eax, edx
jmp 0x4027cc
Function at 0x406820
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
sub esp, 0x1c
mov edx, dword [ebp + 0x14]
movzx eax, word [ebp + 0x10]
movzx ecx, byte [ebp + 8]
movzx ebx, word [ebp + 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
test cl, cl
sete al
shr edx, 8
test eax, eax
mov dword [ebp - 0x14], eax
setne al
movzx eax, al
test eax, edx
je 0x4068a0
mov esi, dword [ebp + 0x14]
xor ecx, ecx
mov eax, 0x40c662
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x14]
and esi, 3
and edi, 0xc
and edx, 0x10
jmp 0x406880
cmp word [eax - 2], bx
je 0x40698e
inc ecx
add eax, 0xa
cmp ecx, 0xc
jne 0x406880
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ecx, cl
cmp bx, 0x58
mov dword [ebp - 0x18], ecx
jbe 0x4068e3
mov eax, edi
or eax, dword [ebp + 0x18]
jne 0x4068c0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x406986
mov esi, esi
test edi, edi
je 0x406893
cmp esi, 0xff
jle 0x4068d9
mov eax, esi
and eax, 0xff00
lea esi, [eax + 0xff]
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 2
lea edi, [ebx*8 + 0x40c380]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.USER32.dll_MapVirtualKeyA
movzx ebx, ax
mov eax, dword [sym.imp.MSVCRT.DLL___mb_cur_max]
sub esp, 8
cmp dword [eax], 1
jne 0x4069b7
mov eax, dword [sym.imp.MSVCRT.DLL__pctype]
mov eax, dword [eax]
movzx eax, word [eax + ebx*2]
and eax, 1
test eax, eax
jne 0x406a07
mov eax, dword [sym.imp.MSVCRT.DLL___mb_cur_max]
cmp dword [eax], 1
jne 0x4069e2
mov eax, dword [sym.imp.MSVCRT.DLL__pctype]
mov eax, dword [eax]
movzx eax, word [eax + ebx*2]
and eax, 2
test eax, eax
mov edx, ebx
jne 0x406a16
test byte [ebp + 0x14], 3
je 0x4069cd
movzx esi, word [edi + 6]
xor edi, edi
cmp esi, 0xff
jle 0x4068ac
cmp dword [ebp - 0x18], ebx
sete al
cmp dword [ebp - 0x18], edx
sete dl
or eax, edx
test al, 1
je 0x4068ac
mov edi, 1
jmp 0x4068ac
mov esi, dword [ebp - 0x18]
jmp 0x4068c4
test esi, esi
jne 0x4069a6
test edi, edi
jne 0x4069f8
test edx, edx
jne 0x406a25
movzx esi, word [eax]
jmp 0x4068c4
movzx esi, word [eax + 6]
test esi, esi
setne al
movzx edi, al
jmp 0x4068c0
mov dword [esp], ebx
mov eax, 1
mov dword [esp + 4], eax
call sub.MSVCRT.DLL__isctype
jmp 0x406920
test byte [ebp + 0x14], 0xc
jne 0x4069fe
test byte [ebp + 0x14], 0x10
je 0x406a2e
movzx esi, word [edi + 2]
jmp 0x406958
mov dword [esp], ebx
mov eax, 2
mov dword [esp + 4], eax
call sub.MSVCRT.DLL__isctype
jmp 0x406944
movzx esi, word [eax + 4]
jmp 0x4069aa
movzx esi, word [edi + 4]
jmp 0x406958
mov dword [esp], ebx
call sub.MSVCRT.DLL_tolower
mov edx, eax
jmp 0x40694e
mov dword [esp], ebx
call sub.MSVCRT.DLL_toupper
mov edx, eax
jmp 0x40694e
movzx esi, word [eax + 2]
jmp 0x4069aa
mov eax, dword [ebp - 0x18]
mov esi, ebx
test eax, eax
jne 0x406958
movzx esi, word [edi]
jmp 0x406958
Function at 0x408130
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 8], esi
js 0x4081e6
test ebx, ebx
js 0x4081d4
and esi, 0xffff0000
movzx eax, di
mov edx, dword [ebp + 0x14]
or esi, eax
shl ebx, 0x10
and esi, 0xffff
or esi, ebx
test edx, edx
js 0x4081ae
mov dword [esp], 0
lea ebx, [ebp - 0x18]
call fcn.004073d0
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.KERNEL32.dll_GetConsoleCursorInfo
sub esp, 8
xor eax, eax
cmp dword [ebp + 0x14], 0
mov dword [esp + 4], ebx
setne al
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_SetConsoleCursorInfo
sub esp, 8
mov dword [esp + 4], esi
xor eax, eax
mov dword [0x41603c], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esp, 8
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00409580
mov ebx, eax
jmp 0x408155
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00408320
mov edi, eax
jmp 0x40814d
Function at 0x4fafb0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00457825
mov eax, dword [0x535040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x537278]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x4fb188
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x4fb0d7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x4fb0d7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x4fb0b5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x4fb039
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4fb141
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x4fb1a8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x4fb183
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4fb1a8
jmp 0x4fb012
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458360
mov esp, ebp
pop ebp
ret
Function at 0x4fb240
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00457825
mov eax, dword [0x535040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x537278]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x4fb42b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x4fb376
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x4fb376
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x4fb352
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x4fb2c9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4fb3e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4fb44b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x4fb426
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x4fb44b
jmp 0x4fb2a2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458360
mov esp, ebp
pop ebp
ret
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

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

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

Disassembly:
pushal
mov esi, section..roch
lea edi, [esi - 0x3ab000]
push edi
or ebp, 0xffffffff
jmp 0x7b2202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7b2209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b21f8
mov eax, 1
add ebx, ebx
jne 0x7b221b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7b222c
jne 0x7b224b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b224b
dec eax
add ebx, ebx
jne 0x7b2238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7b2210
add ebx, ebx
jne 0x7b2247
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7b229d
xor ecx, ecx
sub eax, 3
jb 0x7b2263
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7b22d2
sar eax, 1
mov ebp, eax
jmp 0x7b226e
add ebx, ebx
jne 0x7b226e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b223c
inc ecx
add ebx, ebx
jne 0x7b227c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b223c
add ebx, ebx
jne 0x7b2289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7b227e
jne 0x7b229a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7b227e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7b22bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7b22ae
jmp 0x7b21fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7b22bc
add edi, ecx
jmp 0x7b21fe
pop esi
mov edi, esi
mov ecx, 0x261
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7b22da
cmp byte [edi], 0
jne 0x7b22da
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 0x7b22df
lea edi, [esi + 0x3b0000]
mov eax, dword [edi]
or eax, eax
je 0x7b2357
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b2a80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b2b38]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7b230c
mov ecx, edi
jns 0x7b233b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b2b40]
or eax, eax
je 0x7b2351
mov dword [ebx], eax
add ebx, 4
jmp 0x7b2329
call dword [esi + 0x3b2b3c]
mov ebp, dword [esi + 0x3b2b44]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7b238b
sub esp, 0xffffff80
jmp 0x4030ec
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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