joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410578
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4105fb
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4105de
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0041088c
mov eax, dword [ebp - 0xc]
call fcn.00404de8
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4105e5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x41067c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
xor eax, eax
movzx edx, byte [ebx]
sub dl, 1
jb 0x4106a9
sub dl, 0x1f
je 0x4106a1
sub dl, 2
je 0x41069d
jmp 0x4106a5
xor al, 1
jmp 0x4106a5
test al, al
je 0x4106a9
inc ebx
jmp 0x410689
inc ebx
cmp byte [ebx], 0x20
je 0x4106a8
mov eax, esi
mov edx, ebx
call fcn.00404b84
pop esi
pop ebx
ret

Function at 0x410990
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00407730
add esp, 0x104
pop ebx
ret

Function at 0x414058
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
lea ebx, [ebp - 0x74]
xor eax, eax
push ebp
push 0x41414c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.00410910
push dword [ebp - 0x78]
push 0x414164
push edi
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404cfc
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403528
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404de8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4140e3
mov al, 0x56
call fcn.00413f08
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x4140fa
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push ebx
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4140ee
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4140fa
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414153
lea eax, [ebp - 0x78]
call fcn.0040498c
lea eax, [ebp - 4]
call fcn.0040498c
ret
Function at 0x401060
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5623e8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4010a2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f42c5
mov esp, ebp
pop ebp
ret
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4010c0
mov ecx, dword [ebp - 0x210]
sub eax, edx
push esi
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.MyProgram
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x210]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
sete al
xor ecx, ebp
pop esi
call fcn.004f42c5
mov esp, ebp
pop ebp
ret

Function at 0x401ed0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5103bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5623e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050efd0
push 4
mov dword [ebp - 4], 0
call fcn.004057a3
mov edi, eax
add esp, 4
test edi, edi
je 0x401f50
call fcn.0050ec92
mov dword [edi], eax
call fcn.0050ea51
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0050e986
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x401f46
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0050e9ae
jmp 0x401f52
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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
Function at 0x4039b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510618
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5623e8]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x403ad1
cmp byte [edi + 0x49], bl
je 0x403ad1
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x403ac5
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x403a25
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x403a3d
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x403a66
dec eax
je 0x403a6a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x403ac0
jmp 0x403acc
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x403a7a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x403aa3
cmp ebx, 0x10
jae 0x403a89
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004f59dd
add esp, 0x10
cmp esi, eax
jne 0x403abd
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x403ac9
test esi, esi
jne 0x403a31
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00402df0
jmp 0x403a2b
lea ecx, [ebp - 0x2c]
call fcn.00402ba0
xor al, al
jmp 0x403ad3
lea ecx, [ebp - 0x2c]
call fcn.00402ba0
mov al, 1
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.004f42c5
mov esp, ebp
pop ebp
ret
Function at 0x4045b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5623e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x10
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
js 0x40461f
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov word [esi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404606
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
jmp 0x40462a
xor eax, eax
push eax
mov word [esi], ax
push 0x51df78
mov ecx, esi
call fcn.00403d80
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f42c5
mov esp, ebp
pop ebp
ret
Function at 0x404c90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510758
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5623e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
xor esi, esi
push eax
mov dword [ebp - 0x29c], esi
call fcn.004045b0
push 0x51df98
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], esi
call fcn.004048b0
mov edi, 8
add esp, 0x10
cmp dword [eax + 0x14], edi
jb 0x404cef
mov eax, dword [eax]
lea edx, [ebp - 0x298]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp dword [ebp - 0x18], edi
jb 0x404d10
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004057d2
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x404d35
mov edx, dword [ebp - 0x48]
push edx
call fcn.004057d2
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp esi, 0xffffffff
je 0x404d7e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp - 0x298], 0x10
jne 0x404d63
inc dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
push ecx
push esi
call edi
test eax, eax
jne 0x404d54
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x29c]
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.004f42c5
mov esp, ebp
pop ebp
ret
Function at 0x404ed0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.004f5cf0
mov eax, dword [0x5623e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.004049b0
add esp, 0xc
push 0
push 0
push 0
push 0
push 0x51dfa4
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp - 0x100c], 8
mov ebx, eax
mov eax, dword [ebp - 0x1020]
mov dword [ebp - 0x1028], ebx
jae 0x404f32
lea eax, [ebp - 0x1020]
push 0
push 0x84000000
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x40500a
cmp dword [esi + 0x14], 8
jb 0x404f57
mov esi, dword [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40500a
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x1024]
push ecx
push 0x1000
lea edx, [ebp - 0x1004]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x404fbd
mov eax, dword [ebp - 0x1024]
test eax, eax
je 0x404fc6
push 0
lea ecx, [ebp - 0x102c]
push ecx
push eax
lea edx, [ebp - 0x1004]
push edx
push esi
call ebx
cmp dword [ebp - 0x1024], 0
jne 0x404f81
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov eax, dword [ebp - 0x1028]
push eax
call esi
cmp dword [ebp - 0x100c], 8
jb 0x404ff7
mov ecx, dword [ebp - 0x1020]
push ecx
call fcn.004057d2
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f42c5
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x100c], 8
jb 0x405029
mov edx, dword [ebp - 0x1020]
push edx
call fcn.004057d2
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004f42c5
mov esp, ebp
pop ebp
ret
Function at 0x405040
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5107cb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5623e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x250], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4050b3
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x250]
call fcn.00403c80
push str.DesktopFolder.exe
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
push ecx
mov dword [ebp - 4], ebx
call fcn.00404960
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x23c], esi
jb 0x405109
mov edx, dword [ebp - 0x250]
push edx
call fcn.004057d2
add esp, 4
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x40511d
lea eax, [ebp - 0x234]
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x405158
push str.Failed_to_copy_file_to_temporary_folder._n
call fcn.004f5d1b
add esp, 4
cmp dword [ebp - 0x220], esi
jb 0x405154
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.004057d2
add esp, 4
xor al, al
jmp 0x40519c
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], esi
jae 0x40516c
lea eax, [ebp - 0x234]
push 0xa
push ebx
push ebx
push eax
push str.runas
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
setg bl
cmp dword [ebp - 0x220], esi
jb 0x40519a
mov edx, dword [ebp - 0x234]
push edx
call fcn.004057d2
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f42c5
mov esp, ebp
pop ebp
ret
Function at 0x41134b
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 0x411392
call fcn.00406d7a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x411392
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4113ae
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410e50
mov esi, eax
test edi, edi
je 0x4113ac
test ebx, ebx
je 0x4113ac
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41178d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x518480
call fcn.004f6030
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4117b2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x411804
call fcn.00408518
push eax
lea ecx, [ebp - 0x10]
call fcn.004077d3
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.004f61fb
push eax
call fcn.00405a2b
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040622e
mov eax, esi
call fcn.004f6108
ret 8

Function at 0x412f0b
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.00412bca
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x412f55
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00407243
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407214
jmp 0x412f60
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004125f5
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x412f66
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.00411457
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x412fa3
call fcn.00412bca
mov dword [esi + 0xc], 1
jmp 0x412fa8
call fcn.00412bca
cmp dword [esi], 0
je 0x412ff1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x412fc9
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00407243
jmp 0x412fdb
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004065db
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407214
jmp 0x413015
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x413015
push dword [esi]
push dword [ebp + 8]
call fcn.004125f5
pop esi
pop ebp
ret 0xc

Function at 0x415c22
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5623e8]
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 0x415c57
xor eax, eax
jmp 0x415caa
lea eax, [ebp - 0x210]
push eax
call fcn.004f67ba
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x415c88
push 0x51dfa0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f94ff
add esp, 0xc
test eax, eax
jne 0x415c53
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004f94ff
add esp, 0xc
test eax, eax
jne 0x415c53
lea eax, [ebp - 0x210]
push eax
call fcn.0040c976
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f42c5
leave
ret

Function at 0x43f47b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004c9e6d
call fcn.00406616
cmp dword [eax + 0x14], 0
jne 0x43f498
mov ecx, esi
pop esi
jmp fcn.0043ef80
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004db49a
call fcn.00406616
cmp dword [eax + 0x14], 0
jne 0x442c1d
mov ecx, esi
pop esi
jmp fcn.004425d3
pop esi
ret
Function at 0x44fb8f
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.00406d7a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44fbc8
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.0044f7d1
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 0x44fc26
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 0x44fc4a
cmp dword [edi + 0x74], 0
jne 0x44fc4a
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00406d7a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.0044fbe7
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 0x4803b4
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 0x4803ce
call fcn.00406d7a
mov esi, dword [eax + 0xc]
push dword [0x56785c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4803ec
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 0x4803e4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x480419
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4803e6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004802e2
mov esi, eax
jmp 0x48040b
Function at 0x4d5269
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 0x4d5281
mov edi, dword [esi + 0xc]
jmp 0x4d52c1
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4d529a
call fcn.004140af
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d52af
call fcn.004140af
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d52c1
call fcn.004140af
call fcn.00406d7a
cmp dword [eax + 0x3c], 0
je 0x4d52d6
push edi
mov ecx, ebx
call fcn.004d409d
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d5183
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d52f4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d5300
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 0x4f42c5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5623e8]
jne 0x4f42cf
repz ret
jmp fcn.004fbc24