joyce8/EMBER2024-capa huggingface dataset:
Function at 0x502260
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
call sub.user32.dll_SendMessageA
mov ebx, eax
test ebx, ebx
jne 0x502283
mov eax, ebp
call fcn.00403be4
jmp 0x5022a8
lea eax, [ebx + 1]
call fcn.004026e0
mov esi, eax
push esi
inc ebx
push ebx
push 0xd
push edi
call sub.user32.dll_SendMessageA
mov eax, ebp
mov edx, esi
call fcn.00403d98
mov eax, esi
call fcn.004026f8
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x520bd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, ecx
mov dword [esp], edx
mov byte [esp + 4], 0
mov eax, ebx
xor ecx, ecx
mov edx, 0x201
call fcn.00402d10
mov esi, 1
lea eax, [esp + 8]
push eax
mov edx, ebx
mov eax, dword [esp + 4]
mov ecx, esi
call fcn.0040532c
call fcn.004027a4
cmp esi, dword [esp + 8]
jne 0x520cfc
mov esi, 1
lea eax, [esp + 8]
push eax
lea edx, [ebx + 1]
mov eax, dword [esp + 4]
mov ecx, esi
call fcn.0040532c
call fcn.004027a4
cmp esi, dword [esp + 8]
jne 0x520cfc
mov al, byte [ebx + 1]
xor al, 0xff
mov byte [ebx + 1], al
mov esi, eax
and esi, 0xff
lea eax, [esp + 8]
push eax
lea edx, [ebx + 2]
mov eax, dword [esp + 4]
mov ecx, esi
call fcn.0040532c
call fcn.004027a4
cmp esi, dword [esp + 8]
jne 0x520cfc
xor edx, edx
mov dl, byte [ebx + 1]
test edx, edx
jle 0x520c83
lea eax, [ebx + 2]
mov cl, byte [eax]
xor cl, 0xff
mov byte [eax], cl
inc eax
dec edx
jne 0x520c78
mov esi, 1
lea eax, [esp + 8]
push eax
lea edx, [ebx + 0x101]
mov eax, dword [esp + 4]
mov ecx, esi
call fcn.0040532c
call fcn.004027a4
mov al, byte [ebx + 0x101]
xor al, 0xff
mov byte [ebx + 0x101], al
mov esi, eax
and esi, 0xff
lea eax, [esp + 8]
push eax
lea edx, [ebx + 0x102]
mov eax, dword [esp + 4]
mov ecx, esi
call fcn.0040532c
call fcn.004027a4
cmp esi, dword [esp + 8]
jne 0x520cfc
xor edx, edx
mov dl, byte [ebx + 0x101]
test edx, edx
jle 0x520cf7
lea eax, [ebx + 0x102]
mov cl, byte [eax]
xor cl, 0xff
mov byte [eax], cl
inc eax
dec edx
jne 0x520cec
mov byte [esp + 4], 1
mov al, byte [esp + 4]
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x520d08
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, ecx
mov dword [esp], edx
mov byte [esp + 4], 0
mov ebx, 1
lea eax, [esp + 8]
push eax
mov edx, esi
mov eax, dword [esp + 4]
mov ecx, ebx
call fcn.00405390
call fcn.004027a4
cmp ebx, dword [esp + 8]
jne 0x520dbd
xor ebx, ebx
mov bl, byte [esi + 1]
inc ebx
mov edx, ebx
test edx, edx
jl 0x520d58
inc edx
lea eax, [esi + 1]
mov cl, byte [eax]
xor cl, 0xff
mov byte [eax], cl
inc eax
dec edx
jne 0x520d4d
lea eax, [esp + 8]
push eax
lea edx, [esi + 1]
mov eax, dword [esp + 4]
mov ecx, ebx
call fcn.00405390
call fcn.004027a4
cmp ebx, dword [esp + 8]
jne 0x520dbd
xor ebx, ebx
mov bl, byte [esi + 0x101]
inc ebx
mov edx, ebx
test edx, edx
jl 0x520d97
inc edx
lea eax, [esi + 0x101]
mov cl, byte [eax]
xor cl, 0xff
mov byte [eax], cl
inc eax
dec edx
jne 0x520d8c
lea eax, [esp + 8]
push eax
lea edx, [esi + 0x101]
mov eax, dword [esp + 4]
mov ecx, ebx
call fcn.00405390
call fcn.004027a4
cmp ebx, dword [esp + 8]
jne 0x520dbd
mov byte [esp + 4], 1
mov al, byte [esp + 4]
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x524b3c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x524af7
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x524b15
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x524b73
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax], al
inc eax
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x524b5a
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x524b63
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x524b6d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x524b4f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x524ad9
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x524bc0
dec eax
je 0x524bb7
sub eax, 3
je 0x524bae
mov dword [ebp - 4], 0x40
jmp 0x524bdd
mov dword [ebp - 4], 4
jmp 0x524bc3
mov dword [ebp - 4], 0x20
jmp 0x524bc3
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x524c0f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x524b8f
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00524420
dec ebx
nop
push ebp
fcos
jne 0x524c1a
push 1
push esi
call edi
mov eax, esi
jmp 0x524c1b
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x52a8cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x52aa6b
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x52aa27
dec dword [ebx + 0x61c]
lea ecx, [ebp - 4]
mov edx, dword [ebx + 0x61c]
mov eax, dword [ebx + 0x604]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 4]
call fcn.004083ec
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x52aa80
mov edx, 0x52aa90
mov eax, ebx
call fcn.00507eb4
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
call fcn.004081c8
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0xc]
call fcn.00407858
mov eax, dword [ebp - 0xc]
mov edx, 0x52aaa0
call fcn.00403f70
je 0x52a98b
mov eax, dword [ebp - 0xc]
mov edx, 0x52aab0
call fcn.00403f70
je 0x52a98b
mov eax, dword [ebp - 0xc]
mov edx, 0x52aac0
call fcn.00403f70
jne 0x52a9bd
cmp dword [ebp - 8], 0
je 0x52a9bd
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x384]
call fcn.00463b20
mov eax, dword [ebx + 0x384]
add eax, 0x3c
mov edx, dword [ebp - 4]
call fcn.00403c38
mov eax, dword [ebx + 0x384]
call fcn.00463bc8
jmp 0x52a9dc
push 1
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
mov eax, dword [0x534f4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
lea ecx, [ebp - 0x114]
mov edx, dword [ebx + 0x61c]
mov eax, dword [ebx + 0x604]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, 0x52aad0
call fcn.00403eac
mov edx, dword [ebp - 0x110]
mov eax, dword [0x534fec]
mov eax, dword [eax]
mov eax, dword [eax + 0x204]
mov eax, dword [eax + 0x130]
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [ebx + 0x61c], 0
jg 0x52a903
mov eax, dword [0x534fec]
mov eax, dword [eax]
call fcn.00432110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52aa72
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00403c08
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403c08
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x1c8b749c
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
mov ecx, 0x332c6eac
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov ebx, dword [esp + 0x48]
mov eax, dword [0x403004]
xor eax, esp
mov dword [esp + 0x30], eax
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x40301c
push 0x67
push ebx
call esi
push 0x64
push 0x4030e4
push 0x6d
push ebx
call esi
mov dword [esp], 0x30
mov dword [esp + 4], 3
mov dword [esp + 8], 0x4011a0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
push ebx
call esi
mov dword [esp + 0x18], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 6
mov dword [esp + 0x24], 0x6d
mov dword [esp + 0x28], 0x4030e4
push 0x6c
push ebx
call esi
mov dword [esp + 0x2c], eax
mov edi, esp
push edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [0x403018], ebx
sub esp, 0x30
mov dword [esp + 0x28], ebx
movaps xmm0, xmmword [section..rdata]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x40301c
mov dword [esp + 4], 0x4030e4
mov dword [esp], 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x40117f
mov esi, eax
push dword [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push ebx
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, eax
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x401179
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov ebp, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x40115d
push 0
push 0
push 0
push edi
call ebp
test eax, eax
je 0x401179
push edi
push esi
push dword [esp + 8]
call ebx
test eax, eax
jne 0x401150
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x401150
mov esi, dword [esp + 8]
jmp 0x401181
xor esi, esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004012b0
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
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
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x416153
Capabilities:
Parse pe header

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

Function at 0x428560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42858d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42858d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40330c], eax
mov eax, dword [ebp + 4]
mov dword [0x403159], eax
xor eax, eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x4010bb
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403159]
mov dword [ebp - 0x48], eax
mov eax, 0x402291
mov dword [ebp - 0x54], eax
mov ecx, 0x403206
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x403159]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403358], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403358]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x401179
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x40116b
mov esp, ebp
ret
Function at 0x40103f
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x49171c
call fcn.00479dd6
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
and dword [ebx], 0
lea esi, [ebx + 0x20]
call fcn.004011a0
and dword [ebp - 4], 0
lea eax, [ebx + 0x3c]
push eax
call fcn.004011bf
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
push eax
push eax
push ebx
push 0x401094
push eax
push eax
call fcn.00470a47
mov dword [ebx + 4], eax
add esp, 0x18
mov eax, ebx
call fcn.00479eae
ret 8

Function at 0x4017d9
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x4990a6
call fcn.00479dd6
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp byte [eax], bl
je 0x4017fd
cmp dword [eax + 4], ebx
je 0x4017fd
push 5
pop eax
jmp 0x4018e8
add eax, 8
call fcn.00401b54
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x401812
call fcn.0047122b
mov dword [ebp - 0x1c], edi
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
mov dword [ebp - 0x20], esi
jbe 0x401825
call fcn.0047122b
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
jmp 0x401890
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea esi, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0043708b
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x4c]
lea eax, [ebp - 0x30]
xor edi, edi
call fcn.0045fe40
test eax, eax
jbe 0x40187c
push edi
lea esi, [ebp - 0x30]
call fcn.00401ae6
push eax
mov eax, dword [ebp + 8]
add eax, 8
call fcn.00401b05
mov eax, esi
inc edi
call fcn.0045fe40
cmp edi, eax
jb 0x40185b
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x30]
call fcn.00401f71
lea esi, [ebp - 0x18]
call fcn.0042569c
lea edi, [ebp - 0x20]
lea esi, [ebp - 0x18]
call fcn.004371d9
test al, al
jne 0x40182d
mov edi, dword [ebp + 8]
cmp byte [edi], bl
je 0x4018f0
push 0x30
call fcn.004708e3
pop ecx
mov esi, eax
cmp esi, ebx
je 0x4018e1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
push esi
push 0x401775
push ebx
push ebx
call fcn.00470a47
add esp, 0x18
mov dword [esi + 0x14], eax
jmp 0x4018e3
xor esi, esi
mov dword [edi + 4], esi
xor eax, eax
call fcn.00479eae
ret 4
lea ecx, [edi + 0x18]
call fcn.004284eb
test al, al
jne 0x4018e6
push 6
jmp 0x4017f7
Function at 0x405a23
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405a3a
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x405a6f
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x405a6b
cmp edi, eax
jae 0x405a6f
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x405a5d
cmp edi, eax
jb 0x405a73
xor eax, eax
jmp 0x405a7d
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x409e52
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x493514
call fcn.00479dd6
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov eax, dword [esi + 0x64]
xor ecx, ecx
cmp dword [eax + 0xe4], 2
lea eax, [ebp - 0x10]
setne cl
dec ecx
and ecx, 0xfffffff1
add ecx, 0x77
push ecx
push eax
call fcn.0040adb9
mov ebx, dword [ebp - 0x10]
push ebx
push 0x44a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3fd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
push 0
push dword [esi + 0x74]
call edi
push 5
push dword [esi + 0x70]
call edi
lea eax, [ebx - 0x10]
call fcn.00405e8e
call fcn.00479eae
ret
Function at 0x40a78d
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x4bea34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push dword [edi + 0x10]
add eax, 0x70
push eax
call fcn.0040ace2
mov esi, eax
test esi, esi
je 0x40a82d
test byte [edi + 0xc], 2
je 0x40a82d
and dword [ebp - 0x2b8], 0
push 0x2b0
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.00471300
add esp, 0xc
lea ecx, [ebp - 0x2d4]
mov eax, esi
call fcn.00409b13
cmp dword [eax + 0x18], 8
jb 0x40a7f1
mov eax, dword [eax + 4]
jmp 0x40a7f4
add eax, 4
push 0x4011
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0
push 1
lea esi, [ebp - 0x2d4]
call fcn.004012a8
mov eax, dword [ebp - 0x2b4]
or dword [edi + 0xc], 0x1000
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00470af5
leave
ret 4
Function at 0x40b784
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x49ba86
call fcn.00479dd6
mov esi, dword [ebx + 0x64]
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
add esi, 0x304
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push 0x3fb
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.PageSubHeading
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.00401a8f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401e14
push 0x75
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb9
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x64]
lea edi, [ebp - 0x10]
call fcn.00435bed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x40b83b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.0040a11e
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
mov eax, esi
call fcn.00479eae
ret

Function at 0x40b857
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x6b
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x40b8d8
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x40b957
push 0xf0
push 0x6b
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x40b928
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x40b94c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x40b957
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8