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

Disassembly:
mov eax, 0x4e0906
call fcn.004b1eac
sub esp, 0x1c
push esi
push edi
mov ecx, 0x51c747
call fcn.004b1bc6
lea eax, [ebp - 0x24]
push eax
call fcn.0040842b
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
mov edi, str.GPT_Chrome.lnk
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404709
add esp, 0x10
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
call esi
lea eax, [ebp - 0x20]
push eax
call fcn.004084b3
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404709
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00404532
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00405cf0
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0x18]
push eax
call fcn.0040855a
push edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404709
add esp, 0x10
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call esi
lea eax, [ebp - 0x28]
push eax
call fcn.0040f67d
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00404532
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00405cf0
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404709
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00404532
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00405cf0
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x10]
push eax
call fcn.00406e11
pop ecx
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0040496e
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d324
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40d9ce
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4e09c1
call fcn.004b1eac
sub esp, 0x24c
mov ecx, 0x51c747
call fcn.004b1bc6
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40d9f9
mov al, 1
jmp 0x40dae2
push ebx
push esi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.004b5210
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x3c
push ebx
push eax
call fcn.004b5210
add esp, 0xc
mov dword [ebp - 0x44], str.runas
lea eax, [ebp - 0x258]
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], eax
call fcn.00404035
mov eax, dword [ebp + 8]
mov edx, str._upprivi__can_ins_d
mov ecx, str._upprivi
mov dword [ebp - 4], ebx
cmp byte [eax], bl
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406096
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40dad6
push edi
mov edi, str.GPT_Chrome
lea ecx, [ebp - 0x10]
push edi
call fcn.004040c9
push 0x4e7a1c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040496e
push 4
push edi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
cmp eax, 6
jne 0x40daee
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00405cf0
lea ecx, [esi - 0x10]
call fcn.00405cf0
mov al, 1
jmp 0x40dae0
lea ecx, [esi - 0x10]
call fcn.00405cf0
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
push ebx
call fcn.004bf9ca
int3

Function at 0x40dc3e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e0a25
call fcn.004b1eac
sub esp, 0x18
push ebx
mov ebx, ecx
mov ecx, 0x51c747
push edi
call fcn.004b1bc6
push 0x4e70cc
lea ecx, [ebp - 0x24]
call fcn.004022e3
xor edi, edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.004028b0
push eax
mov eax, dword [ebx + 4]
push edi
push 0x469
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 4]
push edi
push 1
push 0x46a
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call fcn.004081eb
mov dword [esp], str.SPChrome_FrameWin_
call fcn.00406442
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.GptBrowser.exe
call fcn.00407a9b
pop ecx
mov eax, dword [ebx + 4]
add eax, 4
push eax
call fcn.0040645f
mov eax, dword [ebx + 4]
pop ecx
push dword [eax + 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dce5
inc edi
cmp edi, 0x14
jl 0x40dcc2
lea ecx, [ebp - 0x24]
call fcn.0040291c
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40eca6
Capabilities:
Check if file exists
Create thread

Disassembly:
mov eax, 0x4e0cea
call fcn.004b1eac
sub esp, 0x134
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x51c747
mov dword [ebp - 4], ebx
call fcn.004b1bc6
push 0x108
lea eax, [ebp - 0x13c]
push ebx
push eax
call fcn.004b5210
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [eax]
push ebx
push ebx
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x140]
push eax
push 0x40f48f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.00402315
inc ebx
mov byte [ebp - 4], bl
call fcn.004073a1
cmp eax, 0x40
mov edx, str.http:__dw.gptchrome.net_bropkg_GInstallerx86_158.7z
mov ecx, str.http:__dw.gptchrome.net_bropkg_GInstallerx64_158.7z
cmovne ecx, edx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403336
cmp dword [ebp - 0x1c], 0
je 0x40eda0
xor esi, esi
push 0
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
mov dword [ebp - 0x10], ecx
push eax
call fcn.00403f4a
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.004041b0
mov byte [ebp - 4], bl
call fcn.0040aee5
add esp, 0x24
test al, al
jne 0x40ed87
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x40ed3a
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40eda2
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.0040291c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40f01e
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e0d6c
call fcn.004b1eac
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
mov ecx, 0x51c747
push edi
call fcn.004b1bc6
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [esi + 4], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040daf5
push eax
lea ecx, [esi + 0x24]
call fcn.00402f9f
lea ecx, [ebp - 0x38]
call fcn.0040291c
mov ecx, esi
call fcn.0040cd0f
mov ecx, esi
call fcn.0040dc3e
mov eax, dword [esi]
push str.GInstallerPkg
cmp byte [eax + 6], 0
je 0x40f107
lea ecx, [ebp - 0x14]
call fcn.00404074
mov eax, dword [esi + 4]
xor edi, edi
add eax, 4
mov dword [ebp - 4], edi
push 0x4e5994
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404709
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004046a7
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00405cf0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push edi
push edi
push 0x46d
push dword [eax]
call ebx
push ecx
mov ecx, esp
lea eax, [ebp - 0x10]
push eax
mov dword [ebp + 8], ecx
call fcn.00403f4a
mov ecx, esi
call fcn.0040d584
mov ecx, dword [ebp - 0x10]
jmp 0x40f1a8
lea ecx, [ebp - 0x18]
call fcn.00404074
mov eax, dword [esi + 4]
add eax, 4
mov dword [ebp - 4], 5
push 0x4e5994
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00404709
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.004046a7
add esp, 0x18
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.00405cf0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov ecx, esp
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00403f4a
mov ecx, esi
call fcn.0040d374
mov eax, dword [esi + 4]
xor edi, edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push edi
push edi
push 0x46d
push dword [eax]
call ebx
push ecx
mov ecx, esp
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00403f4a
mov ecx, esi
call fcn.0040d584
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, esi
call fcn.0040d668
mov eax, dword [esi + 4]
push edi
push edi
push 0x46c
push dword [eax]
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x40f67d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4dff5b
call fcn.004b1eac
sub esp, 0x804
push edi
xor edi, edi
mov ecx, 0x51c747
mov dword [ebp - 0x10], edi
call fcn.004b1bc6
mov ecx, dword [ebp + 8]
call fcn.00404035
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
call fcn.004b5210
add esp, 0xc
lea eax, [ebp - 0x810]
push edi
push 0x17
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop edi
test eax, eax
je 0x40f6f6
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x810]
push eax
call fcn.00406096
mov ecx, dword [ebp + 8]
push 0x4e5994
call fcn.0040496e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x417080
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4e15b8
call fcn.004b1eac
sub esp, 0x21c
push ebx
xor ebx, ebx
inc ebx
push edi
mov dword [ebp - 0x18], ebx
and dword [ebp - 4], 0
mov ecx, 0x51cb43
call fcn.004b1bc6
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
mov edi, reloc.WS2_32.dll_accept
test eax, eax
lea ecx, [edi + 1]
cmovne edi, ecx
mov ecx, dword [ebp + 8]
call fcn.00404035
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], ebx
call fcn.004040c9
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00404949
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x14]
push eax
push 0x20119
push 0
push dword [ebp - 0x10]
push edi
call ebx
test eax, eax
je 0x417131
lea eax, [ebp - 0x14]
mov ecx, reloc.WS2_32.dll_accept
push eax
push 0x20119
push 0
push dword [ebp - 0x10]
mov edi, ecx
push ecx
call ebx
test eax, eax
je 0x417131
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00405cf0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
jmp 0x41719f
push 0x208
lea eax, [ebp - 0x228]
mov dword [ebp - 0x20], 1
push 0
push eax
mov dword [ebp - 0x1c], 0x104
call fcn.004b5210
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417187
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
call fcn.00406096
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4171b7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x51cb43
call fcn.004b1bc6
push str.https:__www.gptchrome.net_privacy.html
lea ecx, [ebp - 4]
call fcn.004040c9
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
leave
ret

Function at 0x4171f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x51cb43
call fcn.004b1bc6
push str.https:__www.gptchrome.net_userspe_
lea ecx, [ebp - 4]
call fcn.004040c9
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
leave
ret

Function at 0x417231
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x51cb43
call fcn.004b1bc6
push str.https:__www.gptchrome.net_license_
lea ecx, [ebp - 4]
call fcn.004040c9
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 4]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
leave
ret
Function at 0x417932
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e166a
call fcn.004b1eac
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov ecx, 0x51cb43
push edi
call fcn.004b1bc6
lea edi, [esi + 0x77c]
mov ecx, edi
call fcn.00405571
test al, al
jne 0x4179c6
lea ebx, [esi + 0x780]
push edi
mov ecx, ebx
call fcn.004045ce
push ecx
mov ecx, esp
push ebx
mov dword [ebp - 0x18], ecx
call fcn.00403f4a
lea eax, [ebp - 0x30]
push eax
call fcn.00406374
pop ecx
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0
call fcn.00408dab
movzx eax, byte [eax]
push eax
call fcn.0040734e
pop ecx
mov ecx, dword [esi + 0x7b0]
mov dword [esi + 0x788], eax
mov dword [esi + 0x78c], edx
test ecx, ecx
je 0x4179b9
mov eax, dword [ecx]
push dword [ebx]
call dword [eax + 0x2c]
lea ecx, [ebp - 0x30]
call fcn.0040291c
jmp 0x417aef
push ecx
mov ecx, esp
mov edi, str.GptChrome
push edi
call fcn.004040c9
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00417080
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x417a56
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417a56
lea eax, [ebp - 0x14]
lea edi, [esi + 0x780]
push eax
mov ecx, edi
call fcn.00404532
mov ecx, dword [esi + 0x79c]
mov eax, dword [esi + 0x798]
test ecx, ecx
jl 0x417a24
jg 0x417a30
cmp eax, 0x128c5680
ja 0x417a30
mov eax, dword [esi + 0x790]
mov ecx, dword [esi + 0x794]
mov dword [esi + 0x788], eax
mov dword [esi + 0x78c], ecx
mov ecx, dword [esi + 0x7b0]
test ecx, ecx
je 0x417ae4
mov eax, dword [ecx]
push dword [edi]
call dword [eax + 0x2c]
jmp 0x417ae4
lea eax, [ebp - 0x10]
push eax
call fcn.0040749d
pop ecx
cmp dword [esi + 0x79c], 0
mov byte [ebp - 4], 2
jl 0x417a96
jg 0x417a7b
cmp dword [esi + 0x798], 0x128c5680
jbe 0x417a96
push str.D:Program_Files_
lea ecx, [ebp - 0x10]
call fcn.00406096
mov eax, dword [esi + 0x798]
mov ecx, dword [esi + 0x79c]
jmp 0x417aa2
mov eax, dword [esi + 0x790]
mov ecx, dword [esi + 0x794]
mov dword [esi + 0x788], eax
mov dword [esi + 0x78c], ecx
lea ecx, [ebp - 0x10]
push edi
call fcn.0040496e
lea eax, [ebp - 0x10]
lea edi, [esi + 0x780]
push eax
mov ecx, edi
call fcn.00404532
mov ecx, dword [esi + 0x7b0]
test ecx, ecx
je 0x417ad9
mov eax, dword [ecx]
push dword [edi]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x417fcb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
mov ecx, 0x51ce57
call fcn.004b1bc6
push 0x4e7120
push 0x81
call fcn.00464927
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x418041
push esi
call fcn.00464927
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41803a
push esi
call fcn.00464927
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x41803a
push 0
push eax
push edi
call fcn.0046944f
add esp, 0xc
push 0
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.00417f39
mov ecx, eax
call fcn.0046fd2c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
ret
Function at 0x4180a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, 0x51ce57
call fcn.004b1bc6
push dword [ebp + 0x10]
lea ecx, [ebp - 8]
call fcn.004040c9
lea ecx, [ebp - 0x24]
call fcn.00416790
call fcn.00418044
test al, al
jne 0x4182b4
push ebx
push esi
push edi
call fcn.004073a1
push dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
call fcn.004040c9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040cedd
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
push str.GCMainWnd
lea ecx, [ebp - 4]
call fcn.004040c9
xor ebx, ebx
cmp byte [ebp - 0x23], bl
jne 0x4181ce
cmp byte [ebp - 0x1d], bl
jne 0x418199
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push str.Global_
push eax
call fcn.00404771
add esp, 0xc
push dword [eax]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00405cf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x418157
test esi, esi
jne 0x4181ce
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4182a6
cmp byte [ebp - 0x22], bl
jne 0x4182a6
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 0xf020
mov ebx, 0x112
push ebx
push edi
call esi
push 0
push 0xf120
push ebx
push edi
call esi
jmp 0x4182a6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push str.Global_
push eax
call fcn.00404771
add esp, 0xc
push dword [eax]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
cmp byte [ebp - 0x24], bl
jne 0x4181e2
cmp byte [ebp - 0x1d], bl
jne 0x4181e2
lea eax, [ebp - 0x24]
push eax
call fcn.0040d10c
pop ecx
cmp byte [ebp - 0x23], bl
jne 0x418203
cmp byte [ebp - 0x22], bl
jne 0x418203
cmp byte [ebp - 0x1d], bl
jne 0x418203
lea eax, [ebp - 0x24]
push eax
call fcn.0040d9ce
pop ecx
test al, al
je 0x4182a6
push dword [ebp + 8]
call fcn.004691af
pop ecx
call fcn.00417fcb
lea ecx, [ebp - 0x14]
call fcn.004627c9
push 2
lea ecx, [ebp - 0x14]
call fcn.00462a9c
push 0x7e0
call fcn.004b1c1b
pop ecx
test eax, eax
je 0x418241
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.004165d9
mov esi, eax
jmp 0x418243
mov esi, ebx
mov ecx, esi
cmp byte [ebp - 0x22], bl
jne 0x4182a1
push ebx
push ebx
push ebx
push ebx
push 0xfffffc18
push ebx
push 0x96ca0000
push dword [ebp - 4]
push ebx
call fcn.00469b9e
push 0x6b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
mov ecx, esi
call fcn.004620c4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00469a48
push 5
mov ecx, esi
call fcn.004620c4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00467290
jmp 0x4182a6
call fcn.00416fd6
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
pop edi
pop esi
pop ebx
lea ecx, [ebp - 0x18]
call fcn.00404436
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00405cf0
xor eax, eax
leave
ret 0x10
Function at 0x4202b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x1505
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x4202e6
mov al, byte [esi]
push eax
call fcn.0042e050
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x4202c8
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42c440
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42c460
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x4ea128
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x4ea138
push esi
mov dword [ebp - 8], ebx
call fcn.004c7fe2
add esp, 8
test eax, eax
je 0x42c4ac
test ebx, ebx
je 0x42c49c
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x42c4d5
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c4d5
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x42c598
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c4f1
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x518018]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42c58e
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42c58e
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c530
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c550
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x42c565
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c585
push 8
push 0
push ebx
call eax
jmp 0x42c58c
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x51801c]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret