joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f3f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x454
mov eax, dword [esp + 0x460]
mov ecx, dword [esp + 0x45c]
push esi
push edi
push eax
push ecx
lea edx, [esp + 0x64]
push 0x449f70
push edx
mov esi, 1
call fcn.004205cb
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0x10
rep stosd dword es:[edi], eax
mov ax, word [esp + 0x470]
xor ecx, ecx
mov dword [esp + 8], ecx
mov word [esp + 0x48], ax
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x46c]
push edx
push eax
push ecx
push 0
push 0
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
push 0
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41f4c9
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x25c]
push eax
push str.Unable_to_Execute:_n_s_n_nCreateProcess_returned_FALSE._n_nFor_free_tech_support:_281_499_8246__https:__www.electrasoft.com_email.htm
push 0x1ff
push ecx
call fcn.00420511
mov ecx, dword [esp + 0x470]
add esp, 0x10
lea edx, [esp + 0x25c]
push 0x10
push 0x44200c
push edx
call fcn.00431adc
pop edi
xor eax, eax
pop esi
add esp, 0x454
ret
mov eax, esi
pop edi
pop esi
add esp, 0x454
ret

Function at 0x42058c
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 0x4205b7
test byte [esp + 8], 0x80
je 0x4205a6
and al, 0xfe
jmp 0x4205a8
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4205c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042061d
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x4206a2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4206c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042061d
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4206e5
test byte [esp + 8], 2
je 0x4206e5
call fcn.00420690
mov dword [eax], 0xd
call fcn.00420699
mov dword [eax], 5
jmp 0x4206be
xor eax, eax
ret
Function at 0x4284e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4508a0
cmp edx, dword [eax]
je 0x428507
add eax, 8
inc ecx
cmp eax, 0x450930
jl 0x4284f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4508a0]
jne 0x428635
mov eax, dword [0x46a2d0]
cmp eax, 1
je 0x42860f
test eax, eax
jne 0x428538
cmp dword [0x44feb4], 1
je 0x42860f
cmp edx, 0xfc
je 0x428635
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42856f
lea eax, [ebp - 0x1a4]
push 0x43c00c
push eax
call fcn.004258f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004238f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4285b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004238f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43c008
push edi
call fcn.004220e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x43bfec
push eax
call fcn.004258f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00425900
lea eax, [ebp - 0xa0]
push 0x43bfe8
push eax
call fcn.00425900
push dword [esi + 0x4508a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00425900
push 0x12010
lea eax, [ebp - 0xa0]
push 0x43bfc0
push eax
call fcn.0042a7fb
add esp, 0x2c
pop edi
jmp 0x428635
lea eax, [ebp + 8]
lea esi, [esi + 0x4508a4]
push 0
push eax
push dword [esi]
call fcn.004238f0
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 0x42edc0
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.00421560
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42ee8b
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 0x42ee8b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42ee3e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42ee49
or bh, 8
and edi, 0x8000000
je 0x42ee64
mov eax, dword [0x46ba7c]
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 0x42ee8b
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 0x42f260
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 0x42f28b
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 0x42f2af
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 0x42f2ca
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 0x4324a9
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 0x4324eb
call fcn.00435f38
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4324eb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4324e2
xor eax, eax
jmp 0x4324f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004324f9
pop edi
pop esi
pop ebx
ret 4

Function at 0x436c6c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x436c9a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x436cb8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00436bd2
jmp 0x436cb8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x436cb8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00436bd2
test edi, edi
mov eax, edi
jne 0x436ca2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401040
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5175c5
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x55f650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x10], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00402fb6
push 0xc
call fcn.00401f09
add esp, 4
mov dword [ebp - 0x18], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4010aa
mov ecx, eax
call fcn.00403537
mov edi, eax
push 0x542628
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.004036c6
push 0
push 0x66
lea ecx, [ebp - 0xd4]
call fcn.00409083
mov dword [ebp - 4], 1
mov dword [ebp - 0xd4], 0x5428fc
call fcn.00409a97
call fcn.00409a97
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 2
mov dword [esi + 0x20], ecx
call fcn.004046ef
test edi, edi
je 0x40111d
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.00407178
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.CBrush.0
call fcn.00401680
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.00403ebf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401a70
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 0x401a8b
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 0x401ac2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x401abe
jmp 0x401ab0
cmp esi, eax
jae 0x401ac2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401ab0
cmp esi, eax
jb 0x401ac9
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 0x401ffa
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x55f650]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x40203f
push 0x519d98
push 4
push eax
call fcn.004f614c
push eax
call fcn.004019e0
add esp, 0x10
jmp 0x402055
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4020d5
push edi
call fcn.004f6230
mov edi, dword [eax]
call fcn.004f6230
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004f61cd
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004f6230
cmp dword [eax], 0
je 0x4020a9
call fcn.004f6230
push dword [eax]
call fcn.00401f9c
pop ecx
jmp 0x4020b0
call fcn.004f6230
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x4020d5
cmp dword [ebp - 0x234], esi
jae 0x4020d5
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4020d7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f5a64
leave
ret
Function at 0x402691
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x55f650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.004025ab
pop ecx
cmp eax, esi
je 0x40277b
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x40277b
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.004f6ee0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x40277b
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x40277b
cmp esi, 0x14
jge 0x40277b
push 0x10
push 0
push edi
call fcn.004f6ebb
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40276a
call fcn.004f6230
cmp dword [eax], 0x22
je 0x40276a
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.004f6ab2
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x402740
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x560aec], 0
jne 0x402806
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x40282f
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00401ffa
pop ecx
pop ecx
test eax, eax
jne 0x402831
inc edi
cmp edi, esi
jl 0x40280c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f5a64
leave
ret 8

Function at 0x4048ee
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.00409a97
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x404927
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.0040452b
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 0x404985
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 0x4049a9
cmp dword [edi + 0x74], 0
jne 0x4049a9
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00409a97
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.00404946
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 0x40ffee
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 0x410035
call fcn.00409a97
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x410035
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410051
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040faee
mov esi, eax
test edi, edi
je 0x41004f
test ebx, ebx
je 0x41004f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x410430
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x50d2c2
call fcn.004f665d
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x410455
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4104a7
call fcn.004058aa
push eax
lea ecx, [ebp - 0x10]
call fcn.00401340
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.004f752b
push eax
call fcn.004019e0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004013f0
mov eax, esi
call fcn.004f6735
ret 8
Function at 0x4112c3
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x55f650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4112f8
xor eax, eax
jmp 0x41134b
lea eax, [ebp - 0x210]
push eax
call fcn.004f6ab2
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x411329
push 0x51ae84
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f6f5a
add esp, 0xc
test eax, eax
jne 0x4112f4
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f6f5a
add esp, 0xc
test eax, eax
jne 0x4112f4
lea eax, [ebp - 0x210]
push eax
call fcn.004025ab
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f5a64
leave
ret

Function at 0x44e02e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d0b5e
call fcn.004094c8
cmp dword [eax + 0x14], 0
jne 0x44e04b
mov ecx, esi
pop esi
jmp fcn.0044db33
pop esi
ret

Function at 0x4516e6
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004830db
call fcn.004094c8
cmp dword [eax + 0x14], 0
jne 0x451703
mov ecx, esi
pop esi
jmp fcn.004510b9
pop esi
ret

Function at 0x45e2b0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0045df54
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45e2fa
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040e191
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403b5d
jmp 0x45e305
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00412ff5
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x45e30b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.004100fa
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x45e348
call fcn.0045df54
mov dword [esi + 0xc], 1
jmp 0x45e34d
call fcn.0045df54
cmp dword [esi], 0
je 0x45e396
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x45e36e
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040e191
jmp 0x45e380
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401550
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403b5d
jmp 0x45e3ba
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x45e3ba
push dword [esi]
push dword [ebp + 8]
call fcn.00412ff5
pop esi
pop ebp
ret 0xc

Function at 0x461f9e
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 0x461fb8
call fcn.00409a97
mov esi, dword [eax + 0xc]
push dword [0x564584]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x461fd6
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 0x461fce
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x462003
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x461fd0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00461ecc
mov esi, eax
jmp 0x461ff5
Function at 0x4dc348
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4dc360
mov edi, dword [esi + 0xc]
jmp 0x4dc3a0
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4dc379
call fcn.00405f5c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4dc38e
call fcn.00405f5c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4dc3a0
call fcn.00405f5c
call fcn.00409a97
cmp dword [eax + 0x3c], 0
je 0x4dc3b5
push edi
mov ecx, ebx
call fcn.004db1fc
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004dc262
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4dc3d3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4dc3df
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4f5a64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55f650]
jne 0x4f5a6e
repz ret
jmp fcn.004fc4d3