joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032c3
Capabilities:
Continue service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x56f470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push 0x1388
call fcn.004033be
cmp eax, 4
jne 0x4032ea
xor eax, eax
inc eax
jmp 0x403332
cmp eax, 1
jne 0x403302
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x403320
xor eax, eax
jmp 0x403332
cmp eax, 7
jne 0x403320
lea eax, [ebp - 0x20]
push eax
push 3
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4032fe
cmp dword [ebp - 0x1c], 4
jmp 0x4032fc
push 0x2710
call fcn.004033be
sub eax, 4
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004fa36f
leave
ret

Function at 0x40333f
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x56f470]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x20]
push eax
mov ebx, ecx
push 1
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x403372
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x426
jmp 0x403388
cmp dword [ebp - 0x1c], 1
jne 0x40337d
xor eax, eax
inc eax
jmp 0x40338d
push 0x3a98
call fcn.004033be
dec eax
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004fa36f
leave
ret

Function at 0x403b58
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0x390
mov eax, 0x52413e
call fcn.004fd46d
mov dword [ebp - 0x39c], ecx
call fcn.004119d4
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call fcn.004fb504
pop ecx
pop ecx
test eax, eax
je 0x403bd1
push 0x550d40
push eax
call fcn.004fb635
pop ecx
pop ecx
test eax, eax
jne 0x403bd1
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.004fb504
pop ecx
pop ecx
test eax, eax
je 0x403bd1
xor ecx, ecx
lea esi, [ebp - 0x21c]
mov word [eax], cx
call fcn.0040588c
jmp 0x403c4f
mov esi, 0x10000
push esi
call fcn.00406c40
push esi
mov ebx, eax
push 0
push ebx
call fcn.004fd550
add esp, 0x10
mov edi, 0x8000
push edi
push ebx
push 0x550d48
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
mov esi, 0x550d9c
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ebx
call fcn.00406c35
pop ecx
lea eax, [ebp - 0x398]
push eax
call fcn.00403e9d
mov ecx, dword [ebp - 0x39c]
and dword [ebp - 4], 0
lea eax, [ebp - 0x398]
mov dword [ecx + 0x20], eax
mov ecx, eax
call fcn.00412502
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x398]
push eax
call fcn.00403c57
xor eax, eax
call fcn.004fd4f0
ret
Function at 0x40651b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x56f470]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 0x400
push 0x401
push eax
call fcn.004fb319
add esp, 0x14
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa36f
leave
ret
Function at 0x4065de
Capabilities:
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x56f470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x244], eax
movzx eax, word [ebp + 8]
mov ebx, 0x5512dc
push ebx
push eax
xor edi, edi
push edi
call esi
mov dword [ebp - 0x234], eax
cmp eax, edi
jne 0x40667c
push 7
xor eax, eax
pop ecx
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
push 0x10
stosw word es:[edi], ax
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.004fcf62
add esp, 0x10
push ebx
lea eax, [ebp - 0x24]
push eax
push 0
call esi
mov dword [ebp - 0x234], eax
test eax, eax
jne 0x40667a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.FindResource__u__failed__err_u_n
call fcn.0040651b
add esp, 0xc
xor eax, eax
jmp 0x40679b
xor edi, edi
push dword [ebp - 0x234]
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40669e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.LoadResource__u__failed__err_u_n
jmp 0x40666b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x238], eax
cmp eax, edi
jne 0x4066c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.LockResource__u__failed__err_u_n
jmp 0x40666b
push dword [ebp - 0x244]
lea eax, [ebp - 0x230]
push dword [ebp - 0x240]
push 0x551a34
push 0x104
push eax
call fcn.00405e60
add esp, 0x14
mov esi, 0x80
push esi
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push esi
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40672f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x230]
push eax
push str.CreateFile_failed__s___err_u_n
jmp 0x40666b
push dword [ebp - 0x234]
mov dword [ebp - 0x23c], edi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
lea eax, [ebp - 0x23c]
push eax
push esi
push dword [ebp - 0x238]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x238], eax
cmp eax, edi
je 0x40676c
cmp esi, dword [ebp - 0x23c]
je 0x40678e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x23c]
lea eax, [ebp - 0x230]
push esi
push eax
push str.WriteFile_failed__s__u__u___err_u_n
call fcn.0040651b
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa36f
leave
ret
Function at 0x4067aa
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x228
mov eax, 0x523c6f
call fcn.004fd4a3
xor edi, edi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x228]
push eax
push 0x54fb2c
push 1
push edi
push 0x54fb6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x224], eax
cmp eax, edi
jl 0x406913
cmp dword [ebp - 0x228], edi
je 0x406913
xor eax, eax
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push edi
push eax
call fcn.004fd550
push 0x5c
push esi
call fcn.004fb504
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x220]
push 0x105
push eax
call fcn.004fafd0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
add esp, 0x24
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push 0x551878
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push edi
push esi
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push 0x54fb3c
push eax
call dword [ecx]
cmp eax, edi
jl 0x4068d9
mov eax, dword [ebp - 0x22c]
cmp eax, edi
je 0x4068d9
lea edx, [ebp - 0x224]
push edx
mov dword [ebp - 0x224], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
or edx, 0x2000
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x230]
push edx
push 0x54fbac
push eax
call dword [ecx]
mov dword [ebp - 0x224], eax
cmp eax, edi
jl 0x406913
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x406913
mov ecx, dword [eax]
push 1
push ebx
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x224], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x406927
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x22c]
cmp eax, edi
je 0x406937
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x406947
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
cmp dword [ebp - 0x224], edi
sete al
call fcn.004fd4ff
ret
Function at 0x406a93
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x56f470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004fd550
lea eax, [ebp - 0x210]
push eax
push 0x16
call fcn.004065a0
add esp, 0x14
test eax, eax
je 0x406bde
push ebx
push esi
push edi
or ebx, 0xffffffff
push ebx
mov edi, 0x551ac8
push edi
mov esi, 0x105
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fc89e
push ebx
push 0x5513b8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fc89e
add esp, 0x20
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x406b3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x406b3f
xor eax, eax
jmp 0x406bdb
xor eax, eax
cmp eax, 0x55138c
je 0x406b82
push ebx
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fc89e
push ebx
push 0x55138c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fc89e
push ebx
push 0x551acc
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fc89e
add esp, 0x30
jmp 0x406bca
push 0x5c
push dword [ebp - 0x214]
call fcn.004fb504
push ebx
push eax
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fc89e
lea eax, [ebp - 0x210]
push 0x2e
push eax
call fcn.004fb504
add esp, 0x20
push 0x6c
pop ecx
push 0x6e
mov word [eax + 2], cx
pop ecx
mov word [eax + 4], cx
push 0x6b
pop ecx
mov word [eax + 6], cx
xor ecx, ecx
mov word [eax + 8], cx
mov ecx, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.004067aa
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fa36f
leave
ret

Function at 0x40d962
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 0x40d9a9
call fcn.00415045
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40d9a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40d9c5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040d462
mov esi, eax
test edi, edi
je 0x40d9c3
test ebx, ebx
je 0x40d9c3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40ddf8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x520281
call fcn.004fd404
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x40de1d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40de6f
call fcn.00410804
push eax
lea ecx, [ebp - 0x10]
call fcn.00405a94
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.004fafd0
push eax
call fcn.00406211
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.00403817
mov eax, esi
call fcn.004fd4dc
ret 8

Function at 0x410c88
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x56f470]
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 0x410ccd
push 0x528b40
push 4
push eax
call fcn.004fef29
push eax
call fcn.00406211
add esp, 0x10
jmp 0x410ce3
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x410d63
push edi
call fcn.004fd97d
mov edi, dword [eax]
call fcn.004fd97d
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.004fd91a
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004fd97d
cmp dword [eax], 0
je 0x410d37
call fcn.004fd97d
push dword [eax]
call fcn.0040715c
pop ecx
jmp 0x410d3e
call fcn.004fd97d
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x410d63
cmp dword [ebp - 0x234], esi
jae 0x410d63
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x410d65
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fa36f
leave
ret
Function at 0x411230
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x56f470]
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 0x528df8
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00408cd2
pop ecx
cmp eax, esi
je 0x41131a
push 0x528e50
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x41131a
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.004fd550
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 0x41131a
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x41131a
cmp esi, 0x14
jge 0x41131a
push 0x10
push 0
push edi
call fcn.004ff5ef
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x411309
call fcn.004fd97d
cmp dword [eax], 0x22
je 0x411309
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.004fd52e
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x4112df
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 [0x572ca8], 0
jne 0x4113a5
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x4113ce
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00410c88
pop ecx
pop ecx
test eax, eax
jne 0x4113d0
inc edi
cmp edi, esi
jl 0x4113ab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa36f
leave
ret 8

Function at 0x412701
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.00415045
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 0x41273a
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.0041233e
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 0x412798
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 0x4127bc
cmp dword [edi + 0x74], 0
jne 0x4127bc
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00415045
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.00412759
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 0x415424
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.004150c8
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41546e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004070ad
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040707e
jmp 0x415479
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00416ba8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41547f
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.0040da6e
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 0x4154bc
call fcn.004150c8
mov dword [esi + 0xc], 1
jmp 0x4154c1
call fcn.004150c8
cmp dword [esi], 0
je 0x41550a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4154e2
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004070ad
jmp 0x4154f4
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040392a
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040707e
jmp 0x41552e
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 0x41552e
push dword [esi]
push dword [ebp + 8]
call fcn.00416ba8
pop esi
pop ebp
ret 0xc
Function at 0x418eb3
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56f470]
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 0x418ee8
xor eax, eax
jmp 0x418f3b
lea eax, [ebp - 0x210]
push eax
call fcn.004fd52e
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x418f19
push 0x551ac8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004ff609
add esp, 0xc
test eax, eax
jne 0x418ee4
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004ff609
add esp, 0xc
test eax, eax
jne 0x418ee4
lea eax, [ebp - 0x210]
push eax
call fcn.00408cd2
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fa36f
leave
ret

Function at 0x44e4df
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d37a2
call fcn.00414a76
cmp dword [eax + 0x14], 0
jne 0x44e4fc
mov ecx, esi
pop esi
jmp fcn.0044dfe4
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004276b6
call fcn.00414a76
cmp dword [eax + 0x14], 0
jne 0x451a86
mov ecx, esi
pop esi
jmp fcn.0045143c
pop esi
ret

Function at 0x466da6
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 0x466dc0
call fcn.00415045
mov esi, dword [eax + 0xc]
push dword [0x574ad0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x466dde
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 0x466dd6
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x466e0b
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x466dd8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00466cd4
mov esi, eax
jmp 0x466dfd
Function at 0x4e0d73
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 0x4e0d8b
mov edi, dword [esi + 0xc]
jmp 0x4e0dcb
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e0da4
call fcn.0040e909
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e0db9
call fcn.0040e909
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e0dcb
call fcn.0040e909
call fcn.00415045
cmp dword [eax + 0x3c], 0
je 0x4e0de0
push edi
mov ecx, ebx
call fcn.004dfc27
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e0c8d
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e0dfe
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e0e0a
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 0x4fa36f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56f470]
jne 0x4fa379
repz ret
jmp fcn.00503214