joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e19fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x10], ecx
mov ecx, 0x5175eb
call fcn.004bd4ad
push 0x4e89e4
lea ecx, [ebp - 0x2c]
call fcn.004031d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404280
push eax
push 0
push 0x469
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x46a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call fcn.0040df10
add esp, 4
push 0x4e89f0
call fcn.0040b6e0
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4e8a18
call fcn.0040d4b0
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x414ba4
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x14
jge 0x414bd9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 4
push edx
call fcn.0040b700
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
add ecx, 4
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414bd7
jmp 0x414bd9
jmp 0x414b9b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x416440
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1d4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
mov ecx, 0x5175eb
call fcn.004bd4ad
xor eax, eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 0
push 0x104
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.004c0800
add esp, 0xc
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x48], edx
push 0
push 0
lea eax, [ebp - 0x158]
push eax
push 0x4172a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
call fcn.00403250
mov byte [ebp - 4], 1
call fcn.0040cb90
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x40
jne 0x416509
push str.https:__dw.gptchrome.net_bropkg_GInstallerx64_162.exe
lea ecx, [ebp - 0x40]
call fcn.00404a50
jmp 0x416516
push str.https:__dw.gptchrome.net_bropkg_GInstallerx86_162.exe
lea ecx, [ebp - 0x40]
call fcn.00404a50
lea ecx, [ebp - 0x40]
call fcn.0040f3b0
movzx ecx, al
test ecx, ecx
je 0x41654c
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407110
mov al, byte [ebp - 0xd]
jmp 0x416641
lea ecx, [ebp - 0x40]
call fcn.00404280
push eax
lea ecx, [ebp - 0x18]
call fcn.004067e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 0
jmp 0x41657a
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 5
jge 0x4165bd
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp + 8]
call fcn.00407560
push eax
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
call fcn.004086d0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x4165b0
jmp 0x4165bd
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x416571
mov dword [ebp - 0x4c], 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp + 8]
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416613
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407110
mov al, byte [ebp - 0xe]
jmp 0x416641
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00403480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407110
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x417470
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0efe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x5175eb
call fcn.004bd4ad
mov ecx, dword [ebp + 8]
call fcn.00406750
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004c0800
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c0800
add esp, 0xc
push 0
push 0x17
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x417520
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407480
push 0x4e998c
mov ecx, dword [ebp + 8]
call fcn.004078c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x425d90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e28a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, 0x5178f5
call fcn.004bd4ad
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x465
ja 0x425de5
cmp dword [ebp - 0x18], 0x465
je 0x425e25
cmp dword [ebp - 0x18], 0x113
je 0x425e05
jmp case.0x425dfe.2
mov ecx, dword [ebp - 0x18]
sub ecx, 0x466
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 7
ja case.0x425dfe.2
mov edx, dword [ebp - 0x18]
jmp dword [edx*4 + 0x425fc4]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00426480
mov dword [ebp - 0x24], eax
jmp case.0x425dfe.2
mov ecx, dword [ebp - 0x14]
call fcn.00426a20
jmp case.0x425dfe.2
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00436d90
jmp case.0x425dfe.2
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x7a4], 1
jmp case.0x425dfe.2
cmp dword [ebp + 0xc], 0
je 0x425e69
push 1
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00437670
jmp 0x425e98
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.00437670
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x7cc], 0
je 0x425e98
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x7cc]
call fcn.004292d0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x425dfe.2
lea ecx, [ebp - 0x1c]
call fcn.00406750
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
shl ecx, 1
push ecx
push 0x4ebf8c
lea edx, [ebp - 0x1c]
push edx
call fcn.00408ef0
add esp, 0xc
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x7c0]
call fcn.00441630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407110
jmp case.0x425dfe.2
cmp dword [ebp + 0xc], 1
jne 0x425f0d
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x7a0], 0xffffffdc
cmp dword [ebp + 0xc], 0
je 0x425f19
mov byte [ebp - 0xd], 1
jmp 0x425f1d
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c4]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, dword [eax + 0x7c4]
mov eax, dword [edx + 0x104]
call eax
jmp case.0x425dfe.2
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x772]
test edx, edx
je 0x425f58
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00436d90
jmp case.0x425dfe.2
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.004067e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00407560
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c8]
mov eax, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, dword [eax + 0x7c8]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00407110
jmp case.0x425dfe.2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e292e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov ecx, 0x5178f5
call fcn.004bd4ad
mov dword [ebp - 0x14], SysStringLen
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4267b1
mov dword [ebp - 0x14], reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00406750
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x18]
call fcn.00406860
mov dword [ebp - 4], 2
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00407890
lea edx, [ebp - 0x1c]
push edx
push 0x20119
push 0
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x426876
mov dword [ebp - 0x14], SysStringLen
lea ecx, [ebp - 0x1c]
push ecx
push 0x20119
push 0
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x426876
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407110
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x42685f
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407110
mov eax, dword [ebp + 8]
jmp 0x426917
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0x104
push 0x208
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.004c0800
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push str.InstallLocation
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4268cd
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407480
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407110
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x426905
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407110
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x426930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, 0x5178f5
call fcn.004bd4ad
push str.https:__www.gptchrome.net_privacy.html
lea ecx, [ebp - 4]
call fcn.00406860
push 5
push 0
push 0
lea ecx, [ebp - 4]
call fcn.00407560
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00407110
mov esp, ebp
pop ebp
ret
Function at 0x426980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, 0x5178f5
call fcn.004bd4ad
push str.https:__www.gptchrome.net_userspe_
lea ecx, [ebp - 4]
call fcn.00406860
push 5
push 0
push 0
lea ecx, [ebp - 4]
call fcn.00407560
push eax
push 0x4eba94
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00407110
mov esp, ebp
pop ebp
ret

Function at 0x4269d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, 0x5178f5
call fcn.004bd4ad
push str.https:__www.gptchrome.net_license_
lea ecx, [ebp - 4]
call fcn.00406860
push 5
push 0
push 0
lea ecx, [ebp - 4]
call fcn.00407560
push eax
push 0x4eba88
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.00407110
mov esp, ebp
pop ebp
ret
Function at 0x427ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, 0x517c0b
call fcn.004bd4ad
push 0x4ecbc8
push 0x81
call fcn.0042dc70
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x427f7f
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
push eax
call fcn.0042dc70
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x427f75
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042dc70
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x427f75
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00435ff0
add esp, 0xc
push 0
push ecx
mov ecx, esp
push str.res.xml
call fcn.00427de0
call fcn.00427e10
mov ecx, eax
call fcn.00441d70
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esp, ebp
pop ebp
ret
Function at 0x435820
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x43585e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x43585e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x435871
jmp 0x4359cd
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x4358f7
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x140]
call edx
push 0
push 0
push 0
push str.killfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00435130
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x435902
jmp 0x4359cd
cmp dword [ebp + 8], 0
je 0x4359cd
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x4359cd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x100]
call eax
movzx ecx, al
test ecx, ecx
je 0x4359cd
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x10c]
call edx
movzx eax, al
test eax, eax
je 0x4359cd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x140]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00435130
mov esp, ebp
pop ebp
ret 4
Function at 0x437560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43763a
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x43763a
cmp dword [ebp - 0x24], 0x10
jne 0x437606
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x437606
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x28]
push edx
call fcn.00436350
add esp, 4
movzx eax, al
test eax, eax
jne 0x43762d
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x24], 0x12
jne 0x437635
jmp 0x43763a
jmp 0x4375b4
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x24], 0x12
jne 0x437660
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x441d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5130e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x441df1
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x441dca
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.0047a880
movzx edx, al
test edx, edx
jne 0x441dc8
xor eax, eax
jmp 0x441ec9
jmp 0x441dec
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.0047a900
movzx ecx, al
test ecx, ecx
jne 0x441dec
xor eax, eax
jmp 0x441ec9
jmp 0x441e98
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042dc70
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x441e1b
xor eax, eax
jmp 0x441ec9
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0042dc70
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x441e4e
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x441ec9
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.0042dc70
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.0047afb0
movzx edx, al
test edx, edx
jne 0x441e8b
xor eax, eax
jmp 0x441ec9
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.0047a700
sub esp, 0x20c
mov ecx, 0x83
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call fcn.004418c0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be0e2
mov esp, ebp
pop ebp
ret 8
Function at 0x4420f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5130e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x442124
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x442124
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x442133
jmp 0x44229c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x44218e
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x442171
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x44217d
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x442148
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x44221e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004c0280
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x4421e7
jmp 0x4421ec
call fcn.004be23e
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004420f0
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x44223a
jmp 0x44223f
call fcn.004be23e
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x442268
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004cd24c
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004cd1db
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44229c
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004be0e2
mov esp, ebp
pop ebp
ret
Function at 0x442fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x442ffa
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x443004
mov eax, 0x1000000
jmp 0x4430ee
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.004c4a43
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x443062
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x443062
push 0x4ecfb4
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.004cd1db
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x4430a6
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x44308a
mov dword [ebp - 0x10], 1
jmp 0x443091
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x4430a6
mov eax, 0x2000000
jmp 0x4430ee
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004481a0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4430cc
mov eax, dword [ebp - 0x1c]
jmp 0x4430ee
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00448e90
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4430ec
mov eax, 0x200
jmp 0x4430ee
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc