joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bfd6
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 0x41c018
call fcn.00420708
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41c018
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41c00f
xor eax, eax
jmp 0x41c020
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041c026
pop edi
pop esi
pop ebx
ret 4

Function at 0x420c65
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 0x420c93
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x420cb1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00420bcb
jmp 0x420cb1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x420cb1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00420bcb
test edi, edi
mov eax, edi
jne 0x420c9b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x401050
Capabilities:
Check if file exists
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x401077
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xd0], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00524320
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.driverhelper.dll
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40111d
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xd0], eax
test eax, eax
je 0x40111d
push 0x552010
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xd4], eax
test eax, eax
je 0x40111d
push 0
push dword [esi + 0xd0]
push eax
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 0xd8], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4020f0
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 0x402105
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402144
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 0x402140
lea ebx, [ebx]
cmp esi, edx
jae 0x402144
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x402130
cmp esi, edx
jb 0x402149
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 0x402380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00404310

Function at 0x402480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov eax, 0x33
mov word [ebp - 0x28], ax
push edi
lea eax, [ebp - 0x34]
push eax
xor esi, esi
mov dword [ebp - 0x30], 0x63006d
mov dword [ebp - 0x2c], 0x6c0074
mov dword [ebp - 0x1e], 0x6c
mov dword [ebp - 0x22], 0x6c0064
mov dword [ebp - 0x34], 0x6f0043
mov dword [ebp - 0x26], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x402518
lea eax, [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x17], 0x4374696e
mov dword [ebp - 7], 0x784573
mov dword [ebp - 0xb], 0x6c6f7274
mov dword [ebp - 0x10], 0x6f436e6f
mov word [ebp - 0x13], 0x6d6f
mov byte [ebp - 0x11], 0x6d
mov byte [ebp - 0x18], 0x49
mov byte [ebp - 0xc], 0x6e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402511
push dword [ebp + 8]
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov eax, 0x65
mov word [ebp - 0x10], ax
push edi
lea eax, [ebp - 0x18]
push eax
xor esi, esi
mov dword [ebp - 0xe], 0x2e0076
mov dword [ebp - 0x14], 0x640077
mov dword [ebp - 0x18], 0x65004e
mov dword [ebp - 6], 0x6c
mov dword [ebp - 0xa], 0x6c0064
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4025f2
lea eax, [ebp - 0x3c]
push eax
push edi
mov dword [ebp - 0x2e], 0x756c5072
mov word [ebp - 0x2a], 0x4167
mov word [ebp - 0x24], 0x7961
mov word [ebp - 0x38], 0x6574
mov dword [ebp - 0x20], 0x65636976
mov word [ebp - 0x27], 0x5064
mov word [ebp - 0x32], 0x7265
mov word [ebp - 0x22], 0x6544
mov word [ebp - 0x35], 0x6972
mov byte [ebp - 0x36], 0x44
mov dword [ebp - 0x3c], 0x61647055
mov word [ebp - 0x1c], 0x5773
mov word [ebp - 0x30], 0x6f46
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x33], 0x76
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x1a], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4025eb
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov eax, 0x2e
mov word [ebp - 0x20], ax
push edi
lea eax, [ebp - 0x2c]
push eax
xor esi, esi
mov dword [ebp - 0x1e], 0x6c0064
mov dword [ebp - 0x24], 0x320033
mov dword [ebp - 0x28], 0x720065
mov dword [ebp - 0x1a], 0x6c
mov dword [ebp - 0x2c], 0x730055
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x402692
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x11], 0x576b6f6f
mov dword [ebp - 6], 0x456b6f6f
mov word [ebp - 2], 0x78
mov word [ebp - 8], 0x4873
mov dword [ebp - 0xd], 0x6f646e69
mov word [ebp - 0x14], 0x6e55
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 9], 0x77
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40268b
push dword [ebp + 8]
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4026a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov eax, 0x2e
mov word [ebp - 0x1c], ax
push edi
lea eax, [ebp - 0x28]
push eax
xor esi, esi
mov dword [ebp - 0x1a], 0x6c0064
mov dword [ebp - 0x20], 0x320033
mov dword [ebp - 0x24], 0x720065
mov dword [ebp - 0x16], 0x6c
mov dword [ebp - 0x28], 0x730055
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x40272c
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 7], 0x576567
mov dword [ebp - 0xc], 0x7373654d
mov word [ebp - 0xf], 0x736f
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 8], 0x61
mov byte [ebp - 0x10], 0x50
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402725
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40436c
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.00419e65
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
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 0x4043a3
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.004043c2
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 0x413e98
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a9948]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5acab8]
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x413ee4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x413f01
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x5acab8], eax
jmp 0x413eed
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x413f01
push 0x800
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x413f6e
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x413f1c
xor eax, eax
jmp 0x413f6e
lea eax, [ebp - 0x210]
push eax
call fcn.0052477d
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x413f4d
push 0x553038
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005265bf
add esp, 0xc
test eax, eax
jne 0x413f18
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005265bf
add esp, 0xc
test eax, eax
jne 0x413f18
lea eax, [ebp - 0x210]
push eax
call fcn.00418ea5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005245ad
leave
ret
Function at 0x414732
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], esi
je 0x414777
call fcn.00419e65
mov ebx, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414777
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x414793
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041d104
mov ebx, eax
test edi, edi
je 0x414791
test esi, esi
je 0x414791
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41912d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x53ceff
call fcn.00524649
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x6c], esi
jne 0x419153
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4191a7
call fcn.00403842
push eax
lea ecx, [ebp - 0x10]
call fcn.004018c0
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.005244ef
push eax
call fcn.00401a40
add esp, 0x14
test edi, edi
je 0x41919a
push edi
call fcn.0052477d
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401f20
mov eax, esi
call fcn.00524617
ret 8
Function at 0x41e3e1
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5a9948]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [0x5acff8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x41e43a
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e457
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x5acff8], eax
jmp 0x41e443
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x41e457
mov eax, dword [ebp - 0x20]
push ebx
push edi
push eax
push dword [ebp + 8]
call esi
jmp 0x41e594
mov eax, dword [ebp - 0x20]
and dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.0053b5e4
lea eax, [ebp - 0x14]
push eax
call fcn.0052477d
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.00524721
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
lea edi, [esi + 1]
call fcn.0053b5e4
lea eax, [ebp - 0x14]
push eax
call fcn.0052477d
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00524721
add esp, 0x38
add edi, esi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov ebx, ecx
push 7
lea eax, [ebp - 0x14]
and ecx, 0xfc00
and ebx, 0x3ff
push eax
or ecx, ebx
push ecx
call fcn.0053b5e4
lea eax, [ebp - 0x14]
push eax
call fcn.0052477d
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.00524721
push 7
lea eax, [ebp - 0x14]
push eax
push ebx
add edi, esi
call fcn.0053b5e4
lea eax, [ebp - 0x14]
push eax
call fcn.0052477d
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00524721
push 7
lea eax, [ebp - 0x14]
push eax
push 0x800
add edi, esi
call fcn.0053b5e4
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.0052477d
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
lea ecx, [ebx + edi*2]
push ecx
call fcn.00524721
lea eax, [edi + esi]
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
xor eax, eax
add esp, 0x10
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005245ad
leave
ret
Function at 0x429a34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x429a4c
call fcn.00419e65
mov esi, dword [eax + 0xc]
push 0x55561c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x429aa2
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x429aa1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x429a82
xor esi, esi
jmp 0x429a98
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00429aa8
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x48416e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
mov ecx, dword [esi + 4]
push eax
push dword [ebp + 0xc]
call fcn.004190bc
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 0x4841aa
call fcn.00484389
mov dword [esi + 0xc], 1
jmp 0x4841af
call fcn.00484389
cmp dword [esi], 0
je 0x4841f8
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4841d2
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040343e
jmp 0x4841e3
push 0xff
mov ecx, esi
call fcn.00401ea0
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00403461
jmp 0x48421c
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 0x48421c
push dword [esi]
push dword [ebp - 4]
call fcn.0041b46c
pop esi
leave
ret 0xc

Function at 0x4842e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00484389
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x484328
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040343e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403461
jmp 0x484333
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041b46c
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x486155
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004faf0a
call fcn.00419eb9
cmp dword [eax + 0x14], 0
jne 0x486170
mov ecx, esi
pop esi
jmp fcn.0048553c
pop esi
ret
Function at 0x4a7963
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
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x4a797d
mov edi, dword [esi + 0xc]
jmp 0x4a79bd
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4a7996
call fcn.0041c3ed
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4a79ab
call fcn.0041c3ed
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4a79bd
call fcn.0041c3ed
call fcn.00419e65
cmp dword [eax + 0x3c], 0
je 0x4a79d2
push edi
mov ecx, ebx
call fcn.004a71eb
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004a7b95
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4a79f5
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x4a79fe
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

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

Disassembly:
push esi
mov esi, ecx
call fcn.00416867
call fcn.00419eb9
cmp dword [eax + 0x14], 0
jne 0x4f86a9
mov ecx, esi
pop esi
jmp fcn.004f7f21
pop esi
ret
Function at 0x535f45
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a9948]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0052a852
mov dword [ebp - 0x14], eax
cmp dword [0x5b154c], edi
jne 0x536036
push 0x800
push edi
push 0x57e6e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x535fc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x536116
push 0x57e6e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x536116
push 0x57e6f8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x536116
push eax
call ebx
push 0x57e704
push esi
mov dword [0x5b154c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x57e714
push esi
mov dword [0x5b1550], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x5b1554], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b155c], eax
test eax, eax
je 0x536033
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b1558], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x53605b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x53604e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x536070
push 4
pop eax
jmp 0x536118
cmp dword [ebp - 0x14], edi
je 0x536070
push dword [0x5b154c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x536055
mov eax, dword [0x5b1558]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x5360ce
cmp dword [0x5b155c], esi
je 0x5360ce
push eax
call ebx
push dword [0x5b155c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5360ce
test eax, eax
je 0x5360ce
call ecx
test eax, eax
je 0x5360c3
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 0x5360c3
test byte [ebp - 8], 1
jne 0x5360ce
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x5360fe
mov eax, dword [0x5b1550]
cmp eax, esi
je 0x5360fb
push eax
call ebx
test eax, eax
je 0x5360fb
call eax
mov edi, eax
test edi, edi
je 0x5360fb
mov eax, dword [0x5b1554]
cmp eax, esi
je 0x5360fb
push eax
call ebx
test eax, eax
je 0x5360fb
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x5b154c]
call ebx
test eax, eax
je 0x536116
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x536118
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005245ad
leave
ret