joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions
Move file
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [esp + 0x110]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x118]
push edi
and eax, 0xffff
push str.NC_FILES
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
mov ebx, dword [esp + 0x12c]
push 2
push 0
push 0
mov edi, eax
push 0x40000000
push ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401118
or ecx, eax
mov edi, ebx
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, str.____
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 2
mov ecx, edx
push eax
push eax
and ecx, 3
lea eax, [esp + 0x2c]
push 0x40000000
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x10]
push 0
mov edx, dword [esp + 0x18]
push ecx
mov esi, eax
push edx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
lea eax, [esp + 0x1c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
Function at 0x401140
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get common file path
Get file attributes

Disassembly:
sub esp, 0x764
lea eax, [esp + 0x154]
push ebx
push esi
push edi
push 0x30c
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x160]
push str._rundll32.exe
push ecx
call esi
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4011a6
lea eax, [esp + 0x160]
push 0x30c
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x160]
push str._rundll32.exe
push ecx
call esi
mov edi, dword [esp + 0x774]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x60]
push 0xff
push edx
push edi
call ebx
lea eax, [esp + 0x60]
push 0x5c
push eax
call fcn.00401490
add esp, 8
test eax, eax
je 0x4011d6
mov byte [eax], 0
lea ecx, [esp + 0x60]
push str.uncdel.dll___UncDel_16
push ecx
lea edx, [esp + 0x578]
push str.__s_s
push edx
call fcn.00401430
add esp, 0x10
lea eax, [esp + 0x570]
lea ecx, [esp + 0x160]
push eax
push ecx
call esi
lea edx, [esp + 0x46c]
push 0x104
push edx
push edi
call ebx
lea eax, [esp + 0x46c]
lea ecx, [esp + 0x160]
push eax
push ecx
call esi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0x406044
push 0
push 0xc000840
push 0
push 0
lea edx, [esp + 0x17c]
push 0
push edx
push 0
mov word [esp + 0x74], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
add esp, 0x764
ret 4
Function at 0x401280
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x1014
call fcn.004014c0
push esi
push edi
mov edi, dword [esp + 0x1020]
lea eax, [esp + 0x41c]
push 0x400
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x41c]
push 0x5c
push ecx
call fcn.00401490
add esp, 8
test eax, eax
je 0x4012c0
mov byte [eax], 0
lea edx, [esp + 0x41c]
push str.compctrl.dll
push edx
lea eax, [esp + 0x24]
push str._s_s
push eax
call fcn.00401430
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40141f
push str.ComponentRemove
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
call eax
test eax, eax
jge 0x40131c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
xor eax, eax
pop esi
add esp, 0x1014
ret 0x10
cmp eax, 0xf9060
push esi
jne 0x401337
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
xor eax, eax
pop esi
add esp, 0x1014
ret 0x10
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4013e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4013e7
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [esp + 0x16]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x12]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x16]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x834]
push str._s__d_d_d_d_d
push ecx
call fcn.00401430
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0x20
lea edx, [esp + 0x81c]
lea eax, [esp + 0x1c]
push 3
push edx
push eax
call esi
push 4
lea ecx, [esp + 0x820]
push 0
push ecx
call esi
lea edx, [esp + 0x41c]
push 0x406078
push edx
lea eax, [esp + 0xc24]
push str._s_s
push eax
call fcn.00401430
add esp, 0x10
lea ecx, [esp + 0xc1c]
push ecx
push 0x65
push edi
call fcn.00401000
push edi
call fcn.00401140
pop edi
xor eax, eax
pop esi
add esp, 0x1014
ret 0x10
Function at 0x402a55
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406178
cmp edx, dword [eax]
je 0x402a77
add eax, 8
inc ecx
cmp eax, 0x406208
jl 0x402a68
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406178]
jne 0x402ba5
mov eax, dword [0x406958]
cmp eax, 1
je 0x402b7f
test eax, eax
jne 0x402aa8
cmp dword [0x4060c4], 1
je 0x402b7f
cmp edx, 0xfc
je 0x402ba5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402adf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403550
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402f20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402b22
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402f20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40543c
push edi
call fcn.004042d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403550
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403560
lea eax, [ebp - 0xa0]
push 0x40541c
push eax
call fcn.00403560
push dword [esi + 0x40617c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403560
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040423e
add esp, 0x2c
pop edi
jmp 0x402ba5
lea eax, [ebp + 8]
lea esi, [esi + 0x40617c]
push 0
push eax
push dword [esi]
call fcn.00402f20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4010f9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0041b550
add esp, 0xc
mov dword [ebp - 0x54], 0x44
call fcn.00448431
mov eax, dword [eax + 4]
push dword [eax + 0x70]
lea eax, [ebp - 0x954]
push str.Neuz.exe_sunkist__s
push 0x7ff
push eax
call fcn.0041b4fd
add esp, 0x10
test eax, eax
jle 0x4011aa
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x954]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401180
call fcn.0040135b
test eax, eax
je 0x4011aa
call fcn.0040135b
push esi
push esi
push 0x10
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4011aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x154]
push str.ErrorNumber:__d_Neuz.exe_Run_Error
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x154]
push esi
push esi
push eax
call fcn.004421fe
pop esi
leave
ret
Function at 0x402072
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x44
xor esi, esi
pop edi
lea eax, [ebp - 0x54]
push edi
push esi
push eax
call fcn.0041b550
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], edi
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.Updater.exe_myunglang
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4020d0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.NewFlyff.exe.gz
call edi
push 0x46911c
call edi
push esi
push esi
push str.Updater.exe_file_not_found
call fcn.004421fe
jmp 0x402116
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Updater
push str.Aeonsoft
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
cmp edi, esi
je 0x4020d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0xffffffffffffffff
push esi
push 0x12
mov dword [ebp - 8], eax
call fcn.00442236
cmp eax, 1
jne 0x402116
push esi
push dword [ebp - 8]
push 0x402
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
leave
ret

Function at 0x403284
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4032a0
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret

Function at 0x40343b
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x4505c7
call fcn.0041b9a0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x10]
and dword [ebp - 4], 0
test eax, eax
je 0x40345e
push 0
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.00403baa
mov ecx, esi
call fcn.004034e0
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0043c9e9
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40347e
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.004034e0
xor edi, edi
push edi
push edi
push edi
push edi
push str.FlyffPatch
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, edi
mov dword [esi], eax
jne 0x4034a6
xor eax, eax
jmp 0x4034dc
lea ecx, [ebp - 4]
push 4
push ecx
push 6
push eax
mov dword [ebp - 4], 0xafc8
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [esi + 0xc]
push edi
push edi
push 3
push edi
push edi
push 0x50
push eax
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectA]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi + 4], eax
mov eax, ecx
pop edi
pop esi
leave
ret

Function at 0x403515
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
mov esi, ecx
push 4
push 0
push esi
push 0x40354d
mov dword [esi + 0x1c], eax
call fcn.0043729a
test eax, eax
mov dword [esi + 0x10], eax
je 0x403549
and dword [eax + 0x24], 0
mov eax, dword [esi + 0x10]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret 4
Function at 0x403674
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4000
call fcn.0041be50
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp + 8]
mov esi, eax
cmp edi, 0x64
jb 0x4036a8
push str.ERROR:_UnCompress
lea eax, [ebp - 0x2000]
push eax
call fcn.0041b9bf
pop ecx
pop ecx
jmp 0x4036fc
cmp edi, 8
jne 0x4036b4
push str.ERROR:_Disk_Full
jmp 0x403698
cmp edi, 4
jne 0x4036c0
push str.ERROR:_File_Not_Found
jmp 0x403698
push 0
lea eax, [ebp - 0x2000]
push 0x2000
push eax
cmp esi, 0x2ee0
push 0x400
push esi
jb 0x4036ef
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0x800
jmp 0x4036f6
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push edi
lea eax, [ebp - 0x2000]
push esi
push eax
lea eax, [ebp - 0x4000]
push str._s_nCODE:_d_RESULT:_d
push eax
call fcn.0041b9bf
add esp, 0x14
lea eax, [ebp - 0x4000]
push eax
call fcn.0040335d
pop ecx
lea eax, [ebp - 0x4000]
push 0
push 0x10
push eax
call fcn.004421fe
cmp edi, 8
pop edi
pop esi
jne 0x403744
push 1
call fcn.0041beac
leave
ret 4
Function at 0x4051b1
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, 0x104
push edi
mov edi, ecx
push esi
push 0
push edi
call fcn.0041b550
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
pop edi
pop esi
ret

Function at 0x4051d1
Capabilities:
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov edx, ecx
push ebx
push esi
push edi
mov eax, dword [edx + 0x10c]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x108]
mov ebx, dword [eax]
cmp ebx, eax
je 0x4052c7
and dword [ebp - 8], 0
jmp 0x405204
mov edx, dword [ebp - 4]
lea esi, [ebx + 8]
mov ecx, 0x86
lea edi, [ebp - 0x224]
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x224], 0
je 0x40524f
lea eax, [ebp - 0x214]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
push ebx
mov dword [eax], esi
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
call fcn.0043809d
mov eax, dword [ebp - 4]
pop ecx
mov ebx, esi
dec dword [eax + 0x10c]
jmp 0x40528c
lea eax, [ebp - 0x224]
mov ecx, edx
push eax
call fcn.004052cc
test al, al
jne 0x40522c
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x424]
push str.IsSameFile:__s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [ebx]
mov ecx, dword [0x46ee60]
cmp dword [ecx + 0x60], 0
jne 0x4052c7
add dword [ebp - 8], 0x64
xor edx, edx
mov eax, dword [ebp - 8]
push 0
div dword [ebp - 0xc]
push eax
push 0x402
push dword [ecx + 0x5d0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 4]
cmp ebx, dword [eax + 0x108]
jne 0x405201
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408059
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4080b2
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x4081df
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push ebx
push ebx
push dword [ebp + 8]
push 0x469b40
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebp - 4], eax
ja 0x4082cc
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
mov edi, SysReAllocString
push str..htm
push edi
call fcn.00408059
test eax, eax
jne 0x4082cc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x210]
push str._shellopencommand
push eax
call esi
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.00408059
test eax, eax
jne 0x4082cc
lea eax, [ebp - 0x210]
push 0x469e68
push eax
call fcn.0041c8fd
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x4082a9
lea eax, [ebp - 0x210]
push 0x469e64
push eax
call fcn.0041c8fd
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x4082a9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [ebp + eax - 0x211]
jmp 0x4082ab
mov byte [edi], bl
push 0x469e60
push edi
call esi
push dword [ebp + 8]
push edi
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40884a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x450964
call fcn.0041b9a0
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.00448431
mov esi, dword [eax + 0xc]
push 0x469e8c
movzx eax, word [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x408892
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408896
xor eax, eax
jmp 0x4088c2
push 0
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.00442e63
mov ecx, dword [ebp - 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
call fcn.00408938
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.00442edc
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x431ac0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041be50
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x431b8b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x431b8b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x431b3e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x431b49
or bh, 8
and edi, 0x8000000
je 0x431b64
mov eax, dword [0x472a3c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x431b8b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x431f8b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x431faf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x431fca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x439a3a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x439a72
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043ce90
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043ce68
jmp 0x439a7e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x43b83c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43b87e
call fcn.00448431
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43b87e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43b875
xor eax, eax
jmp 0x43b886
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043b88c
pop edi
pop esi
pop ebx
ret 4