joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405188
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 3
xor edx, edx
pop ecx
div ecx
sub edx, 0
je 0x4051ef
sub edx, 1
je 0x4051c6
sub edx, 1
jne 0x4051ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 6
pop ecx
xor edx, edx
div ecx
imul eax, edx, 0x1e
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
leave
ret
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4051ff
push str.www.glashuirglurhtgqoer.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
call dword [sym.imp.WS2_32.dll_WSACleanup]
leave
ret
push str.aPP_cLASS
push str.app_AFSERFG_aef
call dword [sym.imp.USER32.dll_FindWindowW]
leave
ret

Function at 0x405201
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40525c
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x405261
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0054f530
cmp dword [ebp + 0xc], 0
push esi
je 0x405375
cmp dword [ebp + 0x10], 0x64
jl 0x405375
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x4052b2
push dword [ebp + 8]
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x405375
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0055ebe0
and dword [ebp - 4], 0
lea eax, [ebp - 0x804]
add esp, 0xc
push 0x400
push eax
push 0
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x40533b
push 0x800
lea eax, [ebp - 0x1004]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0055ebe0
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404e2f
push dword [ebp + 0x10]
test eax, eax
lea edx, [ebp - 0x804]
lea ecx, [ebp - 0x1004]
cmove ecx, edx
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0056273b
add esp, 0x28
jmp 0x405369
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x405369
push dword [ebp + 0x10]
lea eax, [ebp - 0x804]
push dword [ebp + 0xc]
push eax
call fcn.00404e63
add esp, 0xc
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x405377
xor eax, eax
pop esi
leave
ret
Function at 0x40537a
Capabilities:
Check if file exists
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2358
push 0x55eee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
mov eax, 0x2a10
call fcn.0054f530
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [ebp + 8], 0
je 0x4054ee
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4054ee
xor eax, eax
inc eax
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x4053fc
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4053d4
sub ecx, edx
sar ecx, 1
je 0x4053f3
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00555a60
pop ecx
jmp 0x4053fb
push dword [ebp + 8]
call fcn.00555dd0
pop ecx
test eax, eax
je 0x4054ee
mov dword [ebp - 4], esi
call fcn.00405201
or dword [ebp - 4], 0xffffffff
jmp 0x40541f
mov edi, 0x800
push edi
push esi
lea eax, [ebp - 0xa28]
push eax
call fcn.0055ebe0
mov dword [ebp - 0x1c], esi
push 0x2000
push esi
lea eax, [ebp - 0x2a28]
push eax
call fcn.0055ebe0
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x2a28]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x4054ee
push 0x208
push esi
lea eax, [ebp - 0x228]
push eax
call fcn.0055ebe0
mov edi, 0x104
push edi
push dword [ebp + 8]
push edi
lea eax, [ebp - 0x228]
push eax
call fcn.0056273b
push edi
lea eax, [ebp - 0x228]
push eax
call fcn.005624d6
add esp, 0x24
cmp dword [ebp - 0x1c], 0
jbe 0x4054ee
mov edi, 0x400
push edi
lea eax, [ebp - 0xa28]
push eax
push dword [ebp + esi*4 - 0x2a28]
call fcn.00405261
add esp, 0xc
test eax, eax
je 0x4054e8
push edi
lea eax, [ebp - 0xa28]
push eax
call fcn.005624d6
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00562746
add esp, 0x10
test eax, eax
je 0x4054ff
inc esi
cmp esi, dword [ebp - 0x1c]
jb 0x4054a6
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
inc eax
jmp 0x4054f0
Function at 0x40566a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x330]
push 0x228
push edi
push eax
mov dword [ebp - 4], edi
call fcn.0055ebe0
add esp, 0xc
mov dword [ebp - 0x334], 0x22c
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x405771
lea eax, [ebp - 0x334]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x405771
lea eax, [ebp - 0x310]
push str.explorer.exe
push eax
call fcn.00562746
pop ecx
pop ecx
test eax, eax
je 0x4056eb
lea eax, [ebp - 0x334]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4056c1
jmp 0x40571c
push dword [ebp - 0x32c]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x405771
lea ecx, [ebp - 4]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405771
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push edi
push eax
call fcn.0055ebe0
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.USERENV.dll_ExpandEnvironmentStringsForUserA]
test eax, eax
je 0x405771
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405753
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00405ed4
xor eax, eax
inc eax
jmp 0x405773
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x405880
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4058f8
cmp byte [esi + 0x3d], 0
je 0x4058f8
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4058ca
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4058ce
sub eax, 1
je 0x4058d2
dec eax
sub eax, 1
je 0x4058f8
xor al, al
jmp 0x4058fa
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4058ef
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00563b7f
add esp, 0x10
cmp edi, eax
jne 0x4058ca
cmp byte [esi + 0x3d], 0
sete al
jmp 0x4058fa
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x4064a7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x4064c3
xor eax, eax
jmp 0x406585
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4064ec
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x4064ec
dec dword [edx]
mov eax, ebx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x406585
cmp dword [esi + 0x4c], 0
je 0x406583
mov ecx, esi
call fcn.00405c7b
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x406518
push dword [esi + 0x4c]
push eax
call fcn.00403dd7
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x406583
mov byte [ebp - 4], al
lea eax, [ebp + 8]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 3]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x406583
cmp eax, 1
jle 0x406552
cmp eax, 3
jne 0x406583
push dword [esi + 0x4c]
push dword [ebp - 4]
jmp 0x40650a
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 8], eax
je 0x406575
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.00563b7f
add esp, 0x10
cmp dword [ebp - 8], eax
jne 0x406583
lea eax, [ebp - 4]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0xc], eax
mov eax, ebx
jne 0x406585
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x406b14
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x406b36
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406bf2
jmp 0x406bed
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x406b57
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x406b59
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x406be1
jg 0x406b6c
test esi, esi
je 0x406be1
test ecx, ecx
jl 0x406bae
jg 0x406b76
test eax, eax
je 0x406bae
cmp ebx, ecx
jg 0x406b88
jl 0x406b80
cmp esi, eax
jae 0x406b88
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0055e0e0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x406bb4
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x406be1
jg 0x406bbe
test esi, esi
je 0x406be1
cmp dword [edi + 0x4c], 0
je 0x406be1
mov ecx, edi
call fcn.00405c7b
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.00563512
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
leave
ret 0xc
Function at 0x406cc1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x406ce3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406d95
jmp 0x406d90
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x406d04
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x406d06
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x406d84
jg 0x406d19
test esi, esi
je 0x406d84
test ecx, ecx
jl 0x406d5d
jg 0x406d23
test eax, eax
je 0x406d5d
cmp edi, ecx
jg 0x406d35
jl 0x406d2d
cmp esi, eax
jae 0x406d35
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0055e0e0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x406d60
mov edx, dword [ebp + 8]
test edi, edi
jl 0x406d84
jg 0x406d6a
test esi, esi
je 0x406d84
cmp dword [ebx + 0x4c], 0
je 0x406d84
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.00563b7f
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x407d7e
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
call fcn.00407687
call fcn.00404f3f
call fcn.00405188
call fcn.00404f3f
call fcn.00406f70
call fcn.00404f3f
call fcn.00406f70
jmp fcn.00405188

Function at 0x40aff5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40b060
cmp dword [ebp + 0xc], 0
je 0x40b060
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x40b060
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x40b060
and dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40b05a
push esi
push dword [ebp + 0xc]
push edi
call fcn.0055e0e0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
add esp, 0xc
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40b05a
mov al, 1
jmp 0x40b062
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop edi
pop esi
leave
ret
Function at 0x40f215
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40f25a
call fcn.0040c704
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f25a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40f276
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00422a5c
mov ebx, eax
test edi, edi
je 0x40f274
test esi, esi
je 0x40f274
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40fcc2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x40fd80
cmp dword [esi + 0x20], 0
je 0x40fd80
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40fd80
cmp dword [ebp + 8], 0
je 0x40fd80
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0040c704
push 0x5a98d8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40fd51
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40fd80
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00423569
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x40fd71
test edi, edi
je 0x40fd71
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x40fd7c
mov ecx, esi
call fcn.0040fa64
mov eax, ebx
jmp 0x40fd82
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414cbe
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x597039
call fcn.0054f5a5
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x414ce4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x414d44
call fcn.0041e59a
push eax
lea ecx, [ebp - 0x10]
call fcn.0040258a
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5a7a70]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0056273b
push eax
call fcn.004145e8
add esp, 0x14
test esi, esi
je 0x414d37
push esi
call fcn.00566e06
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004032b3
mov eax, ebx
call fcn.0054f56e
ret 8
Function at 0x41b37a
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x41b3cd
push esi
push dword [ebp + 8]
call fcn.0041b563
mov edi, eax
test edi, edi
je 0x41b3c8
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41b3c8
mov eax, dword [ebp - 8]
jmp 0x41b3df
mov eax, dword [ebp + 0x10]
jmp 0x41b3df
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x41cc56
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x41cca0
call fcn.0040c704
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41cc9d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41ccf0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x41cccd
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5a7a70]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x41cccd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x41ccee
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x5a7a70]
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x424aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x424acb
cmp dword [ebx + 0x80], 0
jne 0x424acb
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0040c704
push 5
push edi
mov esi, dword [eax + 0xc]
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 edi, eax
mov ecx, ebx
push edi
call fcn.00424d61
push edi
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 0x424b05
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0040c704
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x424b3c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00424b5b
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 0x426cbc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x426d12
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x426ceb
call fcn.004209ea
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x426d00
call fcn.004209ea
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x426d12
call fcn.004209ea
call fcn.0040c704
cmp dword [eax + 0x3c], 0
je 0x426d27
push edi
mov ecx, ebx
call fcn.004263ec
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00426ef9
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x426d50
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x426d5c
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4385e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0041489b
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.00438801
cmp esi, 3
je 0x438626
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x43866f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x438649
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040f2ea
jmp 0x43865a
push 0xff
mov ecx, esi
call fcn.0040318f
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00411a8a
jmp 0x438693
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x438693
push dword [esi]
push dword [ebp - 4]
call fcn.0041f8de
pop edi
pop esi
leave
ret 0xc

Function at 0x438758
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00438801
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4387a0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f2ea
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00411a8a
jmp 0x4387ab
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041f8de
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x452195
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0049c7c1
call fcn.0040c758
cmp dword [eax + 0x14], 0
jne 0x4521b0
mov ecx, esi
pop esi
jmp fcn.004514c0
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.00405b91
call fcn.0040c758
cmp dword [eax + 0x14], 0
jne 0x453090
mov ecx, esi
pop esi
jmp fcn.004528f1
pop esi
ret