joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413ef0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bf76
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x618190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x128]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
test eax, eax
jne 0x413f31
xor esi, esi
jmp 0x413fdd
push 0
push 0x5ed1d8
mov ecx, eax
call fcn.0041f200
mov esi, 0x80
xor ecx, ecx
mov edx, 2
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b82a
add esp, 4
lea edi, [ebp + 0x12c]
cmp dword [ebp + 0x140], 8
lea edx, [ebp + 0xc8]
mov ebx, eax
lea ecx, [ebp + 0x68]
cmovae edi, dword [ebp + 0x12c]
lea eax, [ebp + 8]
cmp dword [ebp + 0xdc], 8
push edi
cmovae edx, dword [ebp + 0xc8]
cmp dword [ebp + 0x7c], 8
push esi
cmovae ecx, dword [ebp + 0x68]
cmp dword [ebp + 0x1c], 8
push ebx
cmovae eax, dword [ebp + 8]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
push ebx
lea eax, [ecx + 1]
cmp esi, eax
jne 0x413fc1
call fcn.0043b833
add esp, 4
add esi, esi
jmp 0x413f44
mov esi, dword [ebp - 0x10]
xor eax, eax
mov word [ebx + ecx*2], ax
mov ecx, esi
call fcn.004022a0
push ebx
call fcn.0043b833
mov esi, dword [esi + 0x10]
add esp, 4
lea ecx, [ebp + 8]
call fcn.00402150
lea ecx, [ebp + 0x68]
call fcn.00402150
lea ecx, [ebp + 0xc8]
call fcn.00402150
lea ecx, [ebp + 0x12c]
call fcn.00402150
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x184
Function at 0x41d2e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c5aa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.00572c92
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x41d386
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.00552c32
push 0x612f10
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.005550fc
push edi
push esi
call fcn.00572b65
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 4

Function at 0x41de30
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59c688
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x618190]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004200a0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.0041dd60
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x41dea1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.00552c32
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x41deca
push dword [esp + 0xc]
call fcn.0043b833
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41f620
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41f635
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41f674
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41f670
lea ebx, [ebx]
cmp esi, edx
jae 0x41f674
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x41f660
cmp esi, edx
jb 0x41f679
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x423140
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ce80
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00422fb0
test al, al
je 0x4232f6
cmp dword [esi + 0x4b4], 0
je 0x423247
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
lea eax, [esi + 0x4a4]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4231df
mov eax, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.00421720
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0041ada0
test eax, eax
je 0x423232
cmp dword [ebp - 0x30], 8
jb 0x423219
push dword [ebp - 0x44]
call fcn.0043b833
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jmp 0x4232f6
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x423247
push dword [ebp - 0x44]
call fcn.0043b833
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x423259
push 0x12
push str.Session_Not_Exist_
jmp 0x4232ef
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
push eax
push 1
push ebx
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
cmp eax, 1
jne 0x4232e8
mov eax, dword [ebp - 0x48]
xor esi, esi
cmp dword [ebp - 0x14], ebx
jbe 0x4232bb
mov ebx, dword [ebp - 0x50]
xor edi, edi
jmp 0x423290
push 0x5ed714
push dword [edi + eax + 8]
call fcn.00552352
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x4232ad
cmp ebx, dword [edi + eax]
je 0x4232e0
inc esi
add edi, 0x10
cmp esi, dword [ebp - 0x14]
jb 0x423290
xor ebx, ebx
mov edi, dword [ebp - 0x4c]
push eax
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test ebx, ebx
je 0x4232e8
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x54]
mov dword [eax], ebx
jb 0x4232dc
push dword [ebp - 0x2c]
call fcn.0043b833
add esp, 4
mov al, 1
jmp 0x423309
add esi, esi
mov ebx, dword [eax + esi*8 + 4]
jmp 0x4232b8
push 0x12
push str.Explorer_not_find_
mov ecx, edi
call fcn.0041fab0
cmp dword [ebp - 0x18], 8
jb 0x423307
push dword [ebp - 0x2c]
call fcn.0043b833
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 8
Function at 0x423620
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cf23
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x3e
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIcons_
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0041fab0
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.00426290
push str.DefaultIcon
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.00426420
push 0x5ed1da
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00426420
add esp, 0xc
cmp dword [ebp - 0x4c], 0x10
jb 0x4236c5
push dword [ebp - 0x60]
call fcn.0043b833
add esp, 4
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x74], 0x10
jb 0x4236ef
push dword [ebp - 0x88]
call fcn.0043b833
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], 0xf
push ecx
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], 0
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x88], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x423768
push str.add_diskicon_item_failed
sub esp, 0xc
mov dword [ebp - 0x70], str.MountLaucher.cpp:MountLaucher::RegEditDiskIcon__:Line_1042
mov eax, esp
mov dword [ebp - 0x6c], 0
movq xmm0, qword [ebp - 0x70]
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.00404820
add esp, 0x10
xor esi, esi
jmp 0x4237b4
mov edx, dword [ebp + 0x34]
lea ecx, [ebp + 0x20]
mov esi, dword [ebp + 0x20]
cmp edx, 0x10
cmovae ecx, esi
lea edi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423780
sub ecx, edi
lea eax, [ebp + 0x20]
push ecx
cmp edx, 0x10
cmovae eax, esi
push eax
push 1
push 0
push 0x5ed1da
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
cmp dword [ebp - 0x2c], 0x10
jb 0x4237c5
push dword [ebp - 0x40]
call fcn.0043b833
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x4237e8
push dword [ebp - 0x28]
call fcn.0043b833
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x42380b
push dword [ebp + 8]
call fcn.0043b833
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x42382e
push dword [ebp + 0x20]
call fcn.0043b833
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 0x30
Function at 0x423850
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cf7b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x3e
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDriveIcons_
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0041fab0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.00426290
push str.DefaultIcon
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00426420
push 0x5ed1da
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00426420
add esp, 0xc
cmp dword [ebp - 0x5c], 0x10
jb 0x4238f1
push dword [ebp - 0x70]
call fcn.0043b833
add esp, 4
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x74], 0x10
jb 0x42391b
push dword [ebp - 0x88]
call fcn.0043b833
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], 0xf
push ecx
push 0
push 0x2001f
push 0
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x78], 0
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x88], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x42399b
mov dword [ebp - 0x58], str.MountLaucher.cpp:MountLaucher::RegDelectDiskIcon__:Line_1071
mov dword [ebp - 0x54], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movq xmm0, qword [ebp - 0x58]
push eax
push str.find_diskicon_failed__d
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.00404820
add esp, 0x14
xor esi, esi
jmp 0x4239f8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x4239ea
push str.delete_diskicon_failed
sub esp, 0xc
mov dword [ebp - 0x58], str.MountLaucher.cpp:MountLaucher::RegDelectDiskIcon__:Line_1078
mov eax, esp
mov dword [ebp - 0x54], 0
movq xmm0, qword [ebp - 0x58]
movq qword [eax], xmm0
mov dword [eax + 8], 1
call fcn.00404820
add esp, 0x10
xor esi, esi
jmp 0x4239f8
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
cmp dword [ebp - 0x14], 0x10
jb 0x423a09
push dword [ebp - 0x28]
call fcn.0043b833
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x423a2c
push dword [ebp - 0x40]
call fcn.0043b833
add esp, 4
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x423a4f
push dword [ebp + 8]
call fcn.0043b833
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 0x18
Function at 0x427bc0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov byte [ebp - 0x231], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x427bff
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 4
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.005557a0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x427c61
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push edi
mov edi, dword [ebp + 8]
lea esp, [esp]
cmp dword [ebp - 0x228], edi
je 0x427c58
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x427c40
jmp 0x427c5f
mov byte [ebp - 0x231], 1
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x231]
xor ecx, ebp
pop esi
call fcn.00550cb3
mov esp, ebp
pop ebp
ret 4
Function at 0x432b50
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
xor bl, bl
lea eax, [ebp - 0x20a]
push eax
call fcn.005557a0
mov ecx, dword [esi]
lea edx, [ebp - 0x20c]
add esp, 0xc
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x432b92
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
lea eax, [ebp - 0x20c]
push 0xc
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x238], eax
test eax, eax
jne 0x432bd5
push edi
call esi
jmp 0x432c04
lea ecx, [ebp - 0x210]
push ecx
push 0x24
lea ecx, [ebp - 0x234]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x432c04
cmp dword [ebp - 0x230], 4
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push dword [ebp - 0x238]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00550cb3
mov esp, ebp
pop ebp
ret

Function at 0x43ebda
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 0x43ec1f
call fcn.00447ad7
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43ec1f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43ec3b
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044bef4
mov ebx, eax
test edi, edi
je 0x43ec39
test esi, esi
je 0x43ec39
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44dc59
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.00447ad7
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 0x44dc90
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.0044dcb1
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44ed94
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0043cb05
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x44edd0
call fcn.0044efb3
mov dword [esi + 0xc], 1
jmp 0x44edd5
call fcn.0044efb3
cmp dword [esi], 0
je 0x44ee1e
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x44edf8
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0043c82c
jmp 0x44ee09
push 0xff
mov ecx, esi
call fcn.00420470
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043c84f
jmp 0x44ee42
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 0x44ee42
push dword [esi]
push dword [ebp - 4]
call fcn.0044ca4e
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44ef08
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.0044efb3
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x44ef50
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0043c82c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0043c84f
jmp 0x44ef5b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0044ca4e
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x45f26f
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00495745
call fcn.00447b25
cmp dword [eax + 0x14], 0
jne 0x45f28a
mov ecx, esi
pop esi
jmp fcn.0045e675
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.0041dc30
call fcn.00447b25
cmp dword [eax + 0x14], 0
jne 0x45ffc0
mov ecx, esi
pop esi
jmp fcn.0045f88e
pop esi
ret
Function at 0x56f2d2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0055d7c5
mov dword [ebp - 0x14], eax
cmp dword [0x6253f4], esi
jne 0x56f3c5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x56f352
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x56f4a5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x56f4a5
push 0x5e17b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x56f4a5
push eax
call ebx
push 0x5e17c0
push edi
mov dword [0x6253f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5e17d0
push edi
mov dword [0x6253f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x6253fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x625404], eax
test eax, eax
je 0x56f3c2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x625400], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x56f3ea
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x56f3dd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x56f3ff
push 4
pop eax
jmp 0x56f4a7
cmp dword [ebp - 0x14], esi
je 0x56f3ff
push dword [0x6253f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x56f3e4
mov eax, dword [0x625400]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x56f45d
cmp dword [0x625404], edi
je 0x56f45d
push eax
call ebx
push dword [0x625404]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x56f45d
test eax, eax
je 0x56f45d
call ecx
test eax, eax
je 0x56f452
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x56f452
test byte [ebp - 8], 1
jne 0x56f45d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x56f48d
mov eax, dword [0x6253f8]
cmp eax, edi
je 0x56f48a
push eax
call ebx
test eax, eax
je 0x56f48a
call eax
mov esi, eax
test esi, esi
je 0x56f48a
mov eax, dword [0x6253fc]
cmp eax, edi
je 0x56f48a
push eax
call ebx
test eax, eax
je 0x56f48a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x6253f4]
call ebx
test eax, eax
je 0x56f4a5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x56f4a7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00550cb3
mov esp, ebp
pop ebp
ret