joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435280
Capabilities:
Access peb ldr_data
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47cdc8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4a8800]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
movsd qword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push str.PFBrowserInstance
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x43542f
push str.PFBrowserInstance
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x74]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [0x4acfb8]
test al, 1
jne 0x435333
or eax, 1
mov dword [0x4acfb8], eax
mov dword [esp + 0x38], 0
call fcn.00436320
push 0x47f050
call fcn.0045a1f3
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov ecx, 0x4acf10
call fcn.00436fe0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
mov eax, dword [0x4acfb8]
test al, 1
jne 0x435377
or eax, 1
mov dword [0x4acfb8], eax
mov dword [esp + 0x38], 1
call fcn.00436320
push 0x47f050
call fcn.0045a1f3
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov ecx, 0x4acf10
call fcn.00437120
mov eax, dword [0x4acfb8]
test al, 1
jne 0x4353b4
or eax, 1
mov dword [0x4acfb8], eax
mov dword [esp + 0x38], 2
call fcn.00436320
push 0x47f050
call fcn.0045a1f3
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov ecx, 0x4acf10
call fcn.00437260
push str.PlayFreeBrowserInstaller
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4353eb
mov ecx, esi
call fcn.00432c40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov eax, dword [0x4acfb8]
test al, 1
jne 0x43541e
or eax, 1
mov dword [0x4acfb8], eax
mov dword [esp + 0x38], 3
call fcn.00436320
push 0x47f050
call fcn.0045a1f3
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov ecx, 0x4acf10
call fcn.004373a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x7c]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435790
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ce38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a8800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
mov esi, dword [ebp + 8]
push edx
mov dword [ebp - 0x2c], 0
call dword [eax + 0x34]
push str.Temp
push eax
push esi
mov dword [ebp - 4], 0
call fcn.0042bae0
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x4357f3
push dword [ebp - 0x28]
call fcn.0045a050
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4357fd
mov eax, dword [esi]
jmp 0x4357ff
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x435822
cmp dword [esi + 0x14], 8
jb 0x435815
mov eax, dword [esi]
jmp 0x435817
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret 4
Function at 0x437ef0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa1c
mov eax, dword [0x4a8800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x104
push eax
push 0
mov dword [ebp - 0xa1c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa18], 0
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xa14], 0
push eax
mov dword [ebp - 0xa10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x437fe6
push ebx
push edi
call fcn.00459559
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x20c]
push ebx
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x437fe5
lea eax, [ebp - 0xa14]
push eax
lea eax, [ebp - 0xa10]
push eax
push 0x4950f8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x437fe5
cmp dword [ebp - 0xa14], 0
je 0x437fe5
mov ecx, dword [ebp - 0xa10]
cmp dword [ecx], 0xfeef04bd
jne 0x437fe5
movzx eax, byte [ecx + 0xc]
push eax
movzx eax, byte [ecx + 0xe]
push eax
movzx eax, byte [ecx + 8]
push eax
movzx eax, byte [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0xa0c]
push 0x400
push eax
call fcn.0045aed7
add esp, 0x1c
pop ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0xa0c], ax
jne 0x438006
xor ecx, ecx
jmp 0x43801f
lea ecx, [ebp - 0xa0c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438010
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa0c]
mov ecx, esi
push eax
call fcn.00422d00
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret 4
Function at 0x439ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp eax, dword [esi + 0xc]
je 0x439f31
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esi + 0x38], edx
mov esi, dword [esi + 0x24]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 0x14]
lea edi, [esi + 0x64]
push edi
mov ebx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi + 0x60]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 8]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x439f3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x24]
call fcn.0045b11a
push 0x49f71c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.InetErr.0
push eax
mov dword [ebp - 0x18], 5
call fcn.0045b204
int3
Function at 0x43a790
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, esi
mov dword [esi + 0x7c], eax
call fcn.004394d0
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x43a7cd
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi + 0x88]
push 0
mov dword [esi + 0x60], eax
push dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
mov eax, dword [esi + 0x80]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459559
xor edi, edi
add esp, 4
mov ebx, eax
cmp dword [esi + 0x80], edi
jbe 0x43a868
xor ecx, ecx
mov dword [esp + 0xc], ecx
jmp 0x43a830
mov eax, dword [esi + 0x8c]
add eax, ecx
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push 0x43a6c0
push 0
push 0
call fcn.0045dcfb
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov dword [ebx + edi*4], eax
add ecx, 0x68
inc edi
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x80]
jb 0x43a830
xor edi, edi
lea eax, [esp + 0x14]
push edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x43a8b6
lea esp, [esp]
mov eax, dword [esp + 0x18]
cmp eax, 0x40e
jne 0x43a88e
inc edi
jmp 0x43a899
cmp eax, 0x40d
je 0x43a930
cmp edi, dword [esi + 0x80]
je 0x43a8b6
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x43a880
push 0xffffffffffffffff
push 1
push ebx
push dword [esi + 0x80]
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, esi
call fcn.004397e0
xor edi, edi
cmp dword [esi + 0x80], edi
jbe 0x43a8f2
jmp 0x43a8e0
push dword [ebx + edi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 0x80]
jb 0x43a8e0
push ebx
call fcn.0045a610
add esp, 4
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x43a927
push 0
push 0
push 0x40e
push dword [eax + 0x34]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.004397e0
xor edi, edi
cmp dword [esi + 0x80], edi
jbe 0x43a96d
lea esp, [esp]
push 0
push dword [ebx + edi*4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebx + edi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 0x80]
jb 0x43a950
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push 0x49f8d8
push eax
call fcn.0045b204
int3
Function at 0x43b6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d6eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a8800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0xc]
push ecx
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.0043b790
lea eax, [esi + 0x14]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x14]
call fcn.0043aed0
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
movdqu xmm0, xmmword [esi + 0x30]
movdqu xmmword [edi + 0x30], xmm0
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, edi
movdqu xmm0, xmmword [esi + 0x48]
movdqu xmmword [edi + 0x48], xmm0
movdqu xmm0, xmmword [esi + 0x58]
movdqu xmmword [edi + 0x58], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43bef0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x43bf0f
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [edi + 4], 0
push 0
push 0
push 0
push 0
push 0x496cc4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 4], eax
test eax, eax
je 0x43bf69
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea ecx, [ebp - 4]
push 4
push ecx
push 2
push eax
mov dword [ebp - 4], 0xea60
call esi
push 4
lea eax, [ebp - 4]
push eax
push 5
push dword [edi + 4]
call esi
push 4
lea eax, [ebp - 4]
push eax
push 6
push dword [edi + 4]
call esi
xor eax, eax
cmp dword [edi + 4], eax
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
call fcn.0045b11a
push 0x49f71c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.InetErr.0
push eax
mov dword [ebp - 8], 2
call fcn.0045b204
int3
Function at 0x43e1b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
je 0x43e232
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x43e232
cmp dword [esi + 0x14], 8
jb 0x43e1d1
mov ecx, dword [esi]
jmp 0x43e1d3
mov ecx, esi
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
push ecx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e207
mov eax, dword [ebp - 4]
cmp eax, 1
je 0x43e201
cmp eax, 2
jne 0x43e207
cmp byte [ebp + 0x10], 0
je 0x43e232
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x43e212
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x43e21a
mov esi, dword [esi]
push 1
push eax
push esi
mov ecx, edi
call fcn.00423ac0
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43e240
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
je 0x43e2bd
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x43e2bd
cmp dword [esi + 0x14], 8
jb 0x43e263
mov eax, dword [esi]
jmp 0x43e265
mov eax, esi
lea ecx, [ebp + 8]
mov dword [ebp + 8], 4
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e28d
cmp dword [ebp - 4], 4
je 0x43e2bd
cmp dword [esi + 0x14], 8
jb 0x43e295
mov esi, dword [esi]
mov eax, dword [ebp + 0xc]
push 4
mov eax, dword [eax]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43e2d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
cmp byte [edi + 0xc], 0
je 0x43e34d
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x43e34d
cmp dword [esi + 0x14], 8
jb 0x43e2f3
mov eax, dword [esi]
jmp 0x43e2f5
mov eax, esi
lea ecx, [ebp + 8]
mov dword [ebp + 8], 4
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e34d
cmp dword [ebp - 4], 4
jne 0x43e34d
cmp dword [esi + 0x14], 8
jb 0x43e325
mov esi, dword [esi]
mov eax, dword [ebp + 0xc]
push 4
mov eax, dword [eax]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43e360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
cmp byte [ebx + 0xc], 0
je 0x43e42d
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x43e42d
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x43e393
mov eax, dword [edi]
jmp 0x43e395
mov eax, edi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x43e3a4
mov ecx, dword [esi]
jmp 0x43e3a6
mov ecx, esi
mov eax, dword [ebp + 8]
add eax, eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 0
lea eax, [ebp + 0xc]
push eax
push 0
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e424
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43e3d4
cmp eax, 2
jne 0x43e424
mov eax, dword [ebp + 8]
xor ecx, ecx
shr eax, 1
mov edx, 2
mov dword [ebp + 8], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459559
add esp, 4
mov dword [ebp + 0xc], eax
cmp dword [esi + 0x14], 8
jb 0x43e400
mov esi, dword [esi]
lea ecx, [ebp + 8]
push ecx
push eax
push esi
mov ecx, ebx
call fcn.00423a20
test eax, eax
jne 0x43e424
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00422aa0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 8
pop esi
xor al, al
pop ebx
pop ebp
ret 8

Function at 0x43e440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0xc], 0
je 0x43e494
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x43e494
cmp dword [eax + 0x14], 8
jb 0x43e45a
mov eax, dword [eax]
lea edx, [ebp + 8]
mov dword [ebp + 8], 4
push edx
push dword [ebp + 0xc]
lea edx, [ebp + 0xc]
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x43e489
cmp dword [ebp + 0xc], 4
mov eax, 0xd
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
pop ebp
ret 8
xor al, al
pop ebp
ret 8
Function at 0x445170
Capabilities:
Suspend thread

Disassembly:
cmp dword [ecx + 0xfc], 0
jne 0x44518b
mov ecx, dword [ecx + 0xec]
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor al, al
ret

Function at 0x445270
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
push edi
call fcn.0044cd00
mov eax, dword [edi + 0xf0]
mov esi, dword [eax]
cmp esi, eax
je 0x4452df
push 0
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.00422e60
mov dword [esp + 8], eax
lea eax, [esp + 8]
push ecx
push eax
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.00444f30
lea ecx, [esp + 8]
call fcn.00422e00
push dword [esp + 8]
call fcn.0045a050
mov esi, dword [esi]
add esp, 4
cmp esi, dword [edi + 0xf0]
jne 0x445296
mov ecx, dword [edi + 0xec]
mov dword [edi + 0xfc], 1
test ecx, ecx
je 0x4452ff
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44ca40
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e888
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a8800]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
call fcn.00443230
sub esp, 0x18
lea ecx, [ebp - 0x14]
call fcn.0044cf00
test eax, eax
jns 0x44cabf
cmp byte [esi + 0x20], 0
mov ecx, esi
mov eax, dword [esi]
je 0x44caa7
push 0xffffffffffffffff
call dword [eax + 0x28]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call dword [eax + 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
lea edi, [esi + 0xb4]
push edi
push ecx
lea ecx, [ebp - 0x14]
call fcn.0044cdd0
lea ecx, [esi + 0x54]
xor eax, eax
cmp dword [ecx + 0x28], 0xfefefefe
lea edx, [ecx + 0x28]
sete al
test eax, eax
jne 0x44caef
push 0x80004005
call fcn.00423750
push edx
push 0x494e4c
push ecx
push dword [edi]
call fcn.0043e750
mov edx, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test edx, edx
je 0x44cb23
mov eax, dword [edx]
lea ecx, [ebp - 0x10]
push ecx
push 0x4977e8
push edx
call dword [eax]
mov ecx, dword [ebp - 0x10]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea eax, [esi + 0x84]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
mov eax, dword [esi + 4]
push esi
push 8
push eax
mov dword [0x4acd58], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x44bc60
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0
mov dword [0x4acd54], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44cb80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x452390
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4a8800]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push esi
mov dword [ebp - 0x2c], 0x10028
mov dword [ebp - 0x28], 0x25
mov dword [ebp - 0x24], 0x1000
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x10000000
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
jne 0x452457
mov eax, dword [0x4a9c14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push str.ChoosePixelFormat_failed.
push eax
call fcn.0042c7e0
add esp, 8
push 0x71
push ecx
mov ecx, esp
push str.setupPixelFormat
call fcn.00423c60
lea eax, [ebp - 0x30]
push eax
call fcn.0042cd50
mov ecx, eax
call fcn.0042d010
mov eax, dword [ebp - 0x30]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a9c10]
je 0x4524dc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4524dc
jmp 0x4524cd
lea ecx, [ebp - 0x2c]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_SetPixelFormat]
cmp eax, 1
je 0x4524be
mov eax, dword [0x4a9c14]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push str.SetPixelFormat_failed.
push eax
call fcn.0042c7e0
add esp, 8
push 0x76
push ecx
mov ecx, esp
push str.setupPixelFormat
call fcn.00423c60
lea eax, [ebp - 0x30]
push eax
call fcn.0042cd50
mov ecx, eax
call fcn.0042d010
mov eax, dword [ebp - 0x30]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a9c10]
je 0x4524dc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4524dc
jmp 0x4524cd
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0045b1f5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff4
push eax
call fcn.0045a610
add esp, 4
push 1
call fcn.0045a5a7
int3
Function at 0x4524f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call fcn.00443230
mov esi, dword [ebp + 0xc]
or edi, 0xffffffff
mov ebx, dword [ebp + 8]
push 5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4525c8
push 0xf0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, eax
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
test ecx, ecx
je 0x45254e
push ecx
push ebx
call eax
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 8]
xor esi, esi
push ebx
call eax
test eax, eax
je 0x4525b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x4525b5
push dword [ebp - 4]
push eax
call fcn.00454e60
add esp, 8
mov ebx, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov edi, eax
test edi, edi
je 0x452594
cmp edi, 0xffffffff
jne 0x45259c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp ebx, dword [ebp - 8]
je 0x4525bd
test ebx, ebx
je 0x4525bd
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4525bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4525c8
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret