joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e570
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x31c
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x318], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x11a]
push ecx
mov word [esp + 0x11c], ax
call fcn.0045db90
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x26]
push eax
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 0
mov word [esp + 0x28], dx
call fcn.0045db90
add esp, 0x18
push str.IsWow64Process
push str.kernel32
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4a5668], eax
test eax, eax
je 0x42e604
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4a5668]
cmp dword [esp], 0
je 0x42e61b
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRun
push 0x80
lea edx, [esp + 0x18]
push edx
jmp 0x42e62a
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80
lea eax, [esp + 0x18]
push eax
call fcn.00459b1f
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 1
push 0
lea edx, [esp + 0x1c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e666
xor eax, eax
mov ecx, dword [esp + 0x318]
xor ecx, esp
call fcn.004597c7
add esp, 0x31c
ret
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
call fcn.00413560
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x318]
xor edx, edx
xor eax, eax
cmp dx, word [esp + 0x110]
setne al
xor ecx, esp
call fcn.004597c7
add esp, 0x31c
ret

Function at 0x4333b0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x128
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x114
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.0045db90
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x433467
cmp dword [esp + 0x18], 5
jbe 0x433467
lea edx, [esp + 4]
push edx
push 0x20019
push esi
mov eax, 4
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433467
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push str.EnableLUA
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43345c
xor ecx, ecx
cmp dword [esp + 8], 1
sete cl
mov esi, ecx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004597c7
add esp, 0x128
ret
Function at 0x434f50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1b0
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x1ac], eax
xor eax, eax
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
je 0x4350d8
lea eax, [esp + 0x10]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x10], eax
lea ecx, [ecx]
push 0x40
lea ecx, [esp + 0x40]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x80
lea edx, [esp + 0xc0]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, 0x4a8200
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x434ff0
sub eax, ecx
lea esi, [eax + eax + 2]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00439af0
push esi
mov edi, eax
push 0
push edi
call fcn.0045db90
mov eax, 0x4a8200
add esp, 0x10
lea ecx, [eax + 1]
jmp 0x435030
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x435030
push esi
push edi
sub eax, ecx
push eax
push 0x4a8200
push 0
push 0
call ebx
lea eax, [esp + 0xbc]
mov edi, edi
mov cx, word [eax]
cmp cx, word [edi]
jne 0x435076
test cx, cx
je 0x435072
mov cx, word [eax + 2]
cmp cx, word [edi + 2]
jne 0x435076
add eax, 4
add edi, 4
test cx, cx
jne 0x435050
xor eax, eax
jmp 0x43507b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4350c4
mov ecx, str.32770
lea eax, [esp + 0x3c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4350ae
test dx, dx
je 0x4350aa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4350ae
add eax, 4
add ecx, 4
test dx, dx
jne 0x435088
xor eax, eax
jmp 0x4350b3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4350c4
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
add eax, 4
mov dword [esp + 0x10], eax
push 2
push ebp
call dword [sym.imp.USER32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
jne 0x434fc0
pop ebx
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov eax, dword [esp + esi*4 + 0x10]
test eax, eax
je 0x4350fa
push 0
push 0
push 0x404
push eax
call edi
inc esi
cmp esi, 0xa
jl 0x4350e0
mov ecx, dword [esp + 0x1b8]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004597c7
add esp, 0x1b0
ret
Function at 0x435130
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.0045db90
mov ebx, str.Statistic.ini
lea edi, [esp + 0x9c]
call fcn.00417940
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.0045db90
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.0045db90
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push str.0_121
push str.ShortKey
call fcn.00413560
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a630
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x435214
push 0x2c
push eax
call fcn.0045a822
add esp, 8
test eax, eax
je 0x435214
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x435214
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.00459b1f
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.0045a3d8
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.0045a3d8
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x435253
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.004597c7
add esp, 0x290
ret 4
Function at 0x435270
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.0045db90
mov ebx, str.Statistic.ini
lea edi, [esp + 0x9c]
call fcn.00417940
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.0045db90
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.0045db90
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0x48ce7c
push str.AltWndKey
call fcn.00413560
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a630
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x435354
push 0x2c
push eax
call fcn.0045a822
add esp, 8
test eax, eax
je 0x435354
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x435354
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.00459b1f
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.0045a3d8
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.0045a3d8
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x435393
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.004597c7
add esp, 0x290
ret 4
Function at 0x4353b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.0045db90
mov ebx, str.Statistic.ini
lea edi, [esp + 0x9c]
call fcn.00417940
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.0045db90
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.0045db90
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push str.2_81
push str.SndKey
call fcn.00413560
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.0040a630
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x435494
push 0x2c
push eax
call fcn.0045a822
add esp, 8
test eax, eax
je 0x435494
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x435494
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.00459b1f
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.0045a3d8
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.0045a3d8
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x4354d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.004597c7
add esp, 0x290
ret 4
Function at 0x435b00
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x910
mov eax, dword [0x4a05d0]
xor eax, esp
mov dword [esp + 0x90c], eax
push esi
mov esi, ecx
call fcn.0043bfd5
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x112]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x114], ax
call fcn.0045db90
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x1e]
push eax
mov word [esp + 0x20], dx
call fcn.0045db90
mov ecx, dword [esi + 0x78]
push ecx
mov edx, ecx
push edx
push str._DEFAULT__r_nBASEURL_s_r_n_000214A0_0000_0000_C000_000000000046__r_n19_2_r_n_InternetShortcut__r_nURL_s_r_nIDList_r_n
lea eax, [esp + 0x534]
push 0x200
push eax
call fcn.00459cf8
add esp, 0x2c
push 0
push 0
push 0x200
lea ecx, [esp + 0x31c]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x524]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x108]
push eax
push 0
push 0
push 6
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x80
lea ecx, [esp + 0xc]
push ecx
push 0x3fa
mov ecx, esi
call fcn.0043fa08
push 0x485764
lea edx, [esp + 0x10c]
push 0x104
push edx
call fcn.00459b8e
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x118]
push 0x104
push ecx
call fcn.00459b8e
push str..url
lea edx, [esp + 0x124]
push 0x104
push edx
call fcn.00459b8e
push 0x485b18
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0045b056
add esp, 0x30
lea eax, [esp + 0x310]
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x435c34
sub eax, edx
mov edx, dword [esp]
push edx
push 1
push eax
lea eax, [esp + 0x318]
push eax
call fcn.0045b20b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0045b304
mov ecx, dword [esp + 0x920]
add esp, 0x14
xor ecx, esp
call fcn.004597c7
add esp, 0x910
ret
Function at 0x436940
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x74]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x78]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esi + 0x80]
push eax
push edx
mov dword [esi + 0x7c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x80]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, esi
call fcn.0043c31d
push 0
push 0x80
push 0x40000
mov ecx, esi
call fcn.0043faf3
mov eax, dword [esi + 0x74]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push eax
push eax
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xffffffffffffffff
push eax
call ebp
call fcn.0043f814
mov eax, dword [eax + 8]
push 0x8040
push 0x2c
push 0x2c
push 1
push 0xad
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edx, dword [esi + 0x9c]
lea ebx, [esi + 0x9c]
push esi
mov dword [esi + 0x98], eax
mov eax, dword [edx + 0x13c]
push 0x9d
mov ecx, ebx
call eax
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x1a0]
mov dword [esi + 0x11c], ecx
lea ecx, [esi + 0x1a0]
lea edi, [esi + 0x128]
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], ecx
mov eax, dword [edx + 0x13c]
push esi
push 0xb0
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x13c]
push esi
push 0x9d
mov ecx, edi
mov dword [esi + 0x57c], ebx
mov dword [esi + 0x578], edi
call eax
mov ecx, dword [esi + 0x80]
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x19c], ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x148]
push 0x40
push 0x64
push pe_nt_image_headers32
add eax, 0x18
push eax
add ecx, 0xf
push ecx
push 0xffffffffffffffff
push edx
call ebp
mov eax, dword [esi + 0x148]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x438090
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push 0
push 0x9d
mov ecx, esi
call fcn.0043bf6e
lea edi, [esi + 0x7c]
mov ebx, 0x4857cc
mov dword [esi], vtable.CFlashBK.0
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
call fcn.00417940
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xc1
mov eax, edi
mov ecx, str.FLASH
call fcn.00417450
add esp, 4
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
pop edi
mov eax, esi
pop ebx
ret
Function at 0x438150
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0043c31d
push 0
push 0xa0
push 0x40000
mov ecx, esi
call fcn.0043faf3
mov eax, dword [esi + 0x20]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 0x20]
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 0x20]
push 1
push 0
push 0xff00ff
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 2
push 0
push 0
push 0
push 0
push 0x4a43e8
mov ecx, esi
call fcn.0043fe6b
push 0x29c
call fcn.00439ab6
mov edi, eax
add esp, 4
test edi, edi
je 0x438206
call fcn.00439100
mov dword [edi + 0x8c], vtable.ShockwaveFlashObjects::_IShockwaveFlashEvents.0
mov dword [edi], vtable.CFlashWnd.0
mov dword [edi + 4], vtable.CFlashWnd.1.0
mov dword [edi + 8], vtable.CFlashWnd.2.0
mov dword [edi + 0xc], vtable.CFlashWnd.3.0
mov dword [edi + 0x8c], vtable.CFlashWnd.4.0
mov dword [edi + 0x90], 0
jmp 0x438208
xor edi, edi
lea eax, [esi + 0x7c]
mov dword [esi + 0x74], edi
test eax, eax
je 0x43822e
xor ecx, ecx
cmp cx, word [eax]
je 0x43822e
push eax
push 0x104
add edi, 0x94
push edi
call fcn.00459b1f
add esp, 0xc
mov eax, dword [0x4a59c4]
mov edi, dword [0x48524c]
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push eax
mov eax, dword [esi + 0x20]
push eax
push 0x94000000
push 0x80000
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [0x485250]
mov dword [eax + 4], edi
mov edi, dword [0x485254]
mov dword [eax + 8], edi
mov edi, dword [0x485258]
mov dword [eax + 0xc], edi
call edx
mov eax, dword [esi + 0x20]
push 0
push 0x12c
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.00413560
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4382ad
push 2
mov ecx, esi
call fcn.0043bfab
pop edi
mov eax, 1
pop esi
ret
Function at 0x43b4fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43b546
call fcn.0043f814
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43b546
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43b589
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43b572
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43b572
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43b586
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44019f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x478581
call fcn.0045d9a1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4401c4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44020a
lea ecx, [ebp - 0x10]
call fcn.00409d70
mov ecx, dword [esi + 0x50]
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.00439b54
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040a360
mov eax, esi
call fcn.0045da79
ret 8

Function at 0x4467fc
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 0x446843
call fcn.0043f814
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x446843
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44685f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00446374
mov esi, eax
test edi, edi
je 0x44685d
test ebx, ebx
je 0x44685d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4597c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a05d0]
jne 0x4597d1
repz ret
jmp fcn.0045f806

Function at 0x46b89d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045f215
and dword [ebp - 4], 0
cmp dword [0x4a5344], 0
mov ebx, eax
jne 0x46b94e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46b9ff
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46b9ff
push eax
call fcn.0045f1a3
mov dword [esp], 0x4826a0
push edi
mov dword [0x4a5344], eax
call esi
push eax
call fcn.0045f1a3
mov dword [esp], 0x48268c
push edi
mov dword [0x4a5348], eax
call esi
push eax
call fcn.0045f1a3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a534c], eax
call esi
push eax
call fcn.0045f1a3
pop ecx
mov dword [0x4a5354], eax
test eax, eax
je 0x46b94e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045f1a3
pop ecx
mov dword [0x4a5350], eax
mov eax, dword [0x4a5350]
cmp eax, ebx
je 0x46b9a6
cmp dword [0x4a5354], ebx
je 0x46b9a6
push eax
call fcn.0045f21e
push dword [0x4a5354]
mov esi, eax
call fcn.0045f21e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46b9a6
test edi, edi
je 0x46b9a6
call esi
test eax, eax
je 0x46b99d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46b99d
test byte [ebp - 0xc], 1
jne 0x46b9a6
or dword [ebp + 0x10], 0x200000
jmp 0x46b9df
mov eax, dword [0x4a5348]
cmp eax, ebx
je 0x46b9df
push eax
call fcn.0045f21e
pop ecx
test eax, eax
je 0x46b9df
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46b9df
mov eax, dword [0x4a534c]
cmp eax, ebx
je 0x46b9df
push eax
call fcn.0045f21e
pop ecx
test eax, eax
je 0x46b9df
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a5344]
call fcn.0045f21e
pop ecx
test eax, eax
je 0x46b9ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46ba01
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret