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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x80
mov edi, ecx
push 0
push edi
call fcn.004043c0
add esp, 0xc
mov dword [edi + 0x80], 0
sub cl, 0x2c
add al, cl
mov al, byte [esp - 0x13]
xor esi, esi
mov al, cl
mov ax, 0x4c
mov dx, word [esp - 0x5b]
xor dx, word [esp - 0xa]
mov ebx, dword [ebp + 0xc]
xor dx, ax
mov edx, ecx
mov ax, word [esp - 0x20]
add cl, 0xc
sub cl, 0x15
xor al, 0x1e
mov cx, dx
add ecx, 0x1f0
sub cl, al
xor ecx, eax
xor edx, edx
mov eax, esi
div ebx
mov eax, dword [ebp + 8]
mov dl, byte [edx + eax]
mov cl, 0x16
sub cl, byte [esp - 0x21]
sub eax, edx
mov ax, word [esp - 0x3a]
add cx, 0x4c
mov byte [esi + edi], dl
mov cx, 0x6b
mov ecx, dword [esp - 0x13]
inc esi
cmp esi, 0x80
jb 0x4023e0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4015f8
Capabilities:
Encode data using xor

Disassembly:
push 0x4016c8
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], ah
invalid

Function at 0x408690
Capabilities:
Encode data using xor

Disassembly:
test edx, 3
jne 0x4086a2
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4086ad
jmp 0x4086b3
or edx, 2
xor edx, dword [ecx - 4]
cmp dword [ecx - 8], 1
je 0x4086bd
mov edx, ebx
or edx, 3
call fcn.00405044
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4086cf
pop edi
pop esi
pop ebx
ret

Function at 0x4226a4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4226aa
ret
Function at 0x401715
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x30]
push 0x4053cc
mov edx, edi
call fcn.00402009
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
pop ecx
cmova eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x170]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40177c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Erro_ao_encontrar_arquivos_no_diretorio:
push 0x401fda
call fcn.00401e1c
push ecx
mov edx, edi
mov ecx, eax
call fcn.00401fc1
pop ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4017e1
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401a3c
mov edx, 0x405350
lea ecx, [ebp - 0x18]
call fcn.004020fc
test al, al
jne 0x4017c0
mov edx, 0x4053fc
lea ecx, [ebp - 0x18]
call fcn.004020fc
test al, al
jne 0x4017c0
test byte [ebp - 0x170], 0x10
jne 0x4017c0
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.00401446
lea ecx, [ebp - 0x18]
call fcn.004019df
lea eax, [ebp - 0x170]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40177c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x30]
call fcn.004019df
pop edi
pop esi
leave
ret

Function at 0x403679
Capabilities:
Parse pe header

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

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4010d0
Capabilities:
Get disk information
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x577f00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x10], 0x63356563
mov dword [ebp - 0xc], 0x61306536
mov byte [ebp - 8], 0
call edi
lea ecx, [ebp - 0x34]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push str.ihIAy
call esi
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push eax
call ebx
push 0
push 0
push 0
push 0
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push 0xcf0000
push str.QSLA
push str.tza9z
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push 0x4f
push 9
push 0
mov dword [ebp - 0x1c], 0x7bfd
mov dword [ebp - 0x18], 0xe9a
mov dword [ebp - 0x14], 0x7376
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
lea edx, [ebp - 0x30]
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0xfffffffffffffff0
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea eax, [ebp - 0x30]
push eax
call edi
push 4
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push str.._eI65Y
push str.._eUnRc
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x1c]
call fcn.00401900
add esp, 4
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
push 1
push 0x23d
push 0x321
push 0x3c4
push 0x3d7
call esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x48]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov edi, dword [ebp - 0x4c]
call fcn.004012e0
push str.lmrKj
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
push ecx
push edx
push edi
call fcn.00509210
add esp, 0xc
push 0
push 0
push 0
push 0
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push 0xcf0000
push str.M2vT
push str.GHMy
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push str.mVxo
call esi
push eax
call ebx
push 0
push 0x58
push 0x15
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push str.8b4gA
call esi
push eax
call ebx
mov eax, dword [ebp - 0x50]
push eax
call fcn.00403362
add esp, 4
push 0x3bc
push 0x3be
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005090d4
mov esp, ebp
pop ebp
ret
Function at 0x401420
Capabilities:
Delete directory
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x577f00]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [esi + 0x14], 0x10
jb 0x401451
mov edx, dword [esi]
mov dword [ebp - 0x1c], edx
jmp 0x401454
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0x336
call ebx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp - 0x24]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.._7BUuX
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor esi, esi
cmp dword [ebp + 8], esi
jbe 0x4014ae
xor edx, edx
mov eax, esi
div dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [edx + ecx]
xor byte [edi + esi], dl
call ebx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
inc esi
cmp esi, dword [ebp + 8]
jb 0x401487
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.005090d4
mov esp, ebp
pop ebp
ret
Function at 0x401740
Capabilities:
Hide graphical window
Identify system language via api
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x577f00]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, edx
movzx edx, word [ebp + 8]
push edx
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
call fcn.00401cc0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCPInfo]
add esp, 4
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x144]
push eax
push 0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0x130
call esi
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [ebp - 0x130]
push ecx
push 0
call ebx
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [ebp - 0x148]
test eax, eax
jne 0x4017e3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005090d4
mov esp, ebp
pop ebp
ret
push eax
call fcn.00401d30
add esp, 4
push str.jErJ
mov edi, eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0x100
lea eax, [ebp - 0x10c]
push eax
push 0
push 0x265
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push str.._87a7
push str.._VPu8y
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test edi, edi
je 0x4017d0
call fcn.00401dc0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
lea ecx, [ebp - 0x158]
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
je 0x4017d0
mov ebx, 0x557380
call fcn.00401350
test eax, eax
je 0x401884
mov edx, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x154]
push edx
push ecx
call eax
mov ebx, eax
jmp 0x401886
xor ebx, ebx
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0
push 0x20
push 0x3f
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ecx, dword [ebp - 0x150]
cmp ebx, ecx
jb 0x4017d0
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x14c]
push ebx
push edi
call fcn.004014c0
add esp, 0xc
push str.omFh3
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005090d4
mov esp, ebp
pop ebp
ret
Function at 0x401d30
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x577f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, 0x557350
mov dword [ebp - 8], eax
call fcn.00401350
push 0
push 0x29
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push str.._Us5Z
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x401da3
mov ecx, dword [ebp - 8]
push ecx
push edi
call esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005090d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005090d4
mov esp, ebp
pop ebp
ret

Function at 0x402330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40234b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402382
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40237e
jmp 0x402370
cmp esi, eax
jae 0x402382
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402370
cmp esi, eax
jb 0x402389
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402660
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52bf88
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push esi
push edi
mov eax, dword [0x577f00]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.0040758f
call fcn.004010d0
xor edi, edi
push edi
call fcn.0041126b
add esp, 4
push 0xc
call fcn.00403333
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0xe8], edi
cmp eax, edi
je 0x4026e7
mov ecx, eax
call fcn.0041215a
mov edi, eax
push 0x530114
mov dword [esp + 0xec], 0xffffffff
call fcn.0040d151
push 0x5574cc
mov ecx, esi
call fcn.00407834
push 0
push 0x66
lea ecx, [esp + 0x24]
call fcn.00417b95
mov dword [esp + 0xe8], 1
mov dword [esp + 0x1c], vtable.CMyAppDlg.0
call fcn.004185a9
call fcn.004185a9
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe8], 2
mov dword [esi + 0x20], ecx
call fcn.00412b53
test edi, edi
je 0x40276e
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
call fcn.004044fc
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe8], 4
call fcn.00408c8d
mov byte [esp + 0xe8], 3
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], vtable.CBrush.0
call fcn.004024d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe8], 0xffffffff
call fcn.00412327
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410e56
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x410e9e
call fcn.004185a9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410e9e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x410ee1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x410eca
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x410eca
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x410ede
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x412d52
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.004185a9
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x412d8b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00412994
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x412de9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x412e0d
cmp dword [edi + 0x74], 0
jne 0x412e0d
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004185a9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00412daa
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ef8e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41efd5
call fcn.004185a9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41efd5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41eff1
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041ea93
mov esi, eax
test edi, edi
je 0x41efef
test ebx, ebx
je 0x41efef
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41f7ac
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x529dcf
call fcn.0050c453
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41f7d1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41f823
call fcn.00406105
push eax
lea ecx, [ebp - 0x10]
call fcn.00402b40
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050cff7
push eax
call fcn.00403a51
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004023e0
mov eax, esi
call fcn.0050c52b
ret 8
Function at 0x4557fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x455816
call fcn.004185a9
mov esi, dword [eax + 0xc]
push dword [0x57cab4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x455834
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45582c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x455861
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x45582e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0045572a
mov esi, eax
jmp 0x455853