joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
push ebx
mov ebx, ecx
cmp dword [ebx + 0x1c], 1
mov byte [ebx + 0x29], dl
je 0x42786f
push esi
test dl, dl
je 0x427754
mov esi, dword [ebx + 0x268]
mov byte [ebx + 0x2b], 0
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x427742
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x1a0], 0
mov ecx, dword [ebx + 8]
call fcn.004222a0
mov edx, dword [ebp + 8]
mov dword [ebx + 0x70], 0
mov esi, dword [ebx + 0x80]
push edi
mov edi, dword [ebx + 0x84]
cmp esi, edi
je 0x4277c2
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
cmp dword [ecx + 0x1c], 1
je 0x4277bb
mov eax, dword [ecx]
push edx
call dword [eax + 0x5c]
mov edx, dword [ebp + 8]
test dl, dl
je 0x4277bb
mov eax, dword [ebx + 0x1d8]
mov dword [ebp - 8], eax
test eax, eax
je 0x4277bb
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
add ecx, 0xb0
call fcn.00401d00
cmp dword [ebx + 0x1d0], 0
lea ecx, [ebx + 0x1d0]
je 0x4277b8
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push dword [ebp - 8]
call fcn.0042c320
mov edx, dword [ebp + 8]
add esi, 4
cmp esi, edi
jne 0x427765
test dl, dl
je 0x427841
push dword [ebp + 8]
lea ecx, [ebx + 0x8c]
push dword [ebx + 0x84]
push dword [ebx + 0x80]
push dword [ebx + 0x90]
call fcn.004242e0
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x98]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebx + 0xc8]
pop edi
mov dword [ebx + 0xcc], eax
pop esi
mov dword [ebx + 0xd4], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x90]
cmp esi, edi
je 0x42786d
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
cmp byte [eax + 0x64], 0
je 0x427866
push 0
push dword [eax + 0x60]
call ebx
add esi, 4
cmp esi, edi
jne 0x427857
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4280e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x450ffd
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
lea eax, [ebx + 0x290]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x428224
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax + 8]
mov edi, dword [edi]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x270]
sub ecx, 0x10
call fcn.00401980
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 1
cmp dword [esi - 0xc], 0
jne 0x4281a3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x428166
push 0x104
lea ecx, [ebp + 8]
call fcn.00401e30
mov esi, dword [ebp + 8]
push 0x104
push esi
push dword [ebx + 0x1d8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi - 8]
push esi
call fcn.0043cf47
add esp, 8
test eax, eax
js 0x428235
cmp eax, dword [esi - 8]
jg 0x428235
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x428204
push dword [ebx + 0x2a0]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x268]
mov dword [ebp + 8], eax
push dword [ecx + 0x74]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [ebx + 0x26c], 0
movq xmm0, qword [ebx + 0x290]
movq qword [ebp - 0x1c], xmm0
movq xmm0, qword [ebx + 0x298]
movq qword [ebp - 0x14], xmm0
je 0x4281ea
add dword [ebp - 0x1c], 0x14
push 0x24
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push esi
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp + 8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428222
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401fd0
int3
Function at 0x429f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00424850
lea ebx, [esi + 0x7c]
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00423450
mov dword [esi + method.CLayoutGroup.virtual_0], vtable.CLayoutGroup.0
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x170], 0
mov dword [esi], vtable.CWindowUI.0
mov dword [ebx], vtable.CWindowUI.1.0
mov word [esi + 0x64], 1
lea edi, [esi + 0x184]
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0042c430
mov dword [esi + method.CToolTipManager.virtual_0], vtable.CToolTipManager.0
mov dword [esi + 0x1d0], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1e8], 0
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1f4], eax
mov dword [esi + method.std::error_category.virtual_4], vtable.CUIWindowImpl_class_CUIWindowBase__class_ATL::CWindow__class_ATL::CWinTraits_1442840576__0__.0
add esi, 0x1fc
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.CUIMenu.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 6
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.0042f910
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], 0
mov word [esi + 0xc], 0x101
mov dword [esi + 0x38], 0
mov byte [esi + 0x30], 0
mov dword [esi + 0x34], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [eax + method.CDoDataExchange.virtual_0], vtable.CDoDataExchange.0
mov dword [edi], vtable.CUIWindowBase.5.0
pop edi
mov dword [esi], vtable.CUIWindowBase.2.0
mov dword [ebx], vtable.CUIWindowBase.6.0
pop esi
mov dword [eax], vtable.CUIWindowBase.0
mov dword [eax + method.CUIWindowBase.4.virtual_0], vtable.CUIWindowBase.4.0
mov dword [eax + method.CMainFrame.3.virtual_0], vtable.CUIWindowBase.3.0
mov dword [eax + method.CUIWindowBase.1.virtual_0], vtable.CUIWindowBase.1.0
mov dword [eax + 0x244], 0
mov dword [eax + 0x248], 0
mov dword [eax + 0x24c], 0
mov word [eax + 0x254], 0x100
mov dword [eax + 0x250], 0
mov dword [eax + 0x258], 0
mov dword [eax + 0x25c], 1
mov dword [eax + 0x260], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x431540
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x431561
push eax
call fcn.0043b668
add esp, 4
mov dword [esi + 4], 0
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4315ad
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push 0
push ebx
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 4], eax
call fcn.0043b0fb
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43164a
cmp dword [edi], 0x2e66622e
jne 0x43164a
cmp dword [edi + 0x3c], 0x10000
jne 0x43164a
cmp dword [edi + 0x40], 1
jne 0x43164a
mov eax, dword [ebp - 4]
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
cmp dword [edi + 0xfc], 0
je 0x431633
mov ecx, dword [edi + 0xf8]
add ecx, 0x100
add ecx, edi
mov dword [esi + 0x14], ecx
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], ecx
mov ecx, dword [ecx + 4]
add eax, 8
add eax, ecx
mov dword [esi + 0x18], eax
push ebx
mov byte [ebp + 0xb], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
je 0x431657
push edi
call fcn.0043b668
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x436370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov byte [ecx + 0xc], al
mov esi, dword [ecx + 0xbc]
push edi
mov edi, dword [ecx + 0xc0]
test al, al
jne 0x4363af
cmp esi, edi
je 0x4363d0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 0
push dword [eax + 0x60]
call ebx
add esi, 4
cmp esi, edi
jne 0x436396
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
cmp esi, edi
je 0x4363d0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea esp, [esp]
mov eax, dword [esi]
push 5
push dword [eax + 0x60]
call ebx
add esi, 4
cmp esi, edi
jne 0x4363c0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
Function at 0x436600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 4], ebx
mov byte [ebx + 0x29], al
test al, al
je 0x43662b
mov ecx, dword [ebx + 8]
mov word [ebx + 0x2a], 0
call fcn.004222a0
mov dword [ebx + 0x70], 0
mov esi, dword [ebx + 0x80]
mov edi, dword [ebx + 0x84]
cmp esi, edi
je 0x436652
mov ebx, dword [ebp + 8]
mov edi, edi
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x5c]
add esi, 4
cmp esi, edi
jne 0x436640
mov ebx, dword [ebp - 4]
cmp byte [ebp + 8], 0
je 0x4366d3
push dword [ebp + 8]
lea ecx, [ebx + 0x8c]
push dword [ebx + 0x84]
push dword [ebx + 0x80]
push dword [ebx + 0x90]
call fcn.004242e0
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x98]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebx + 0xc8]
pop edi
mov dword [ebx + 0xcc], eax
pop esi
mov dword [ebx + 0xd4], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x90]
cmp esi, edi
je 0x436706
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea esp, [esp]
mov eax, dword [esi]
cmp byte [eax + 0x64], 0
je 0x4366ff
push 0
push dword [eax + 0x60]
call ebx
add esi, 4
cmp esi, edi
jne 0x4366f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4371d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov byte [ebx + 0x29], dl
test dl, dl
je 0x4371fb
mov ecx, dword [ebx + 8]
mov byte [ebx + 0x2b], 0
call fcn.004222a0
mov edx, dword [ebp + 8]
mov dword [ebx + 0x70], 0
mov esi, dword [ebx + 0x80]
mov edi, dword [ebx + 0x84]
cmp esi, edi
je 0x43726d
jmp 0x437210
mov ecx, dword [esi]
mov dword [ebp - 4], ecx
cmp dword [ecx + 0x1c], 1
je 0x437266
mov eax, dword [ecx]
push edx
call dword [eax + 0x5c]
mov edx, dword [ebp + 8]
test dl, dl
je 0x437266
mov eax, dword [ebx + 0x1d8]
mov dword [ebp - 8], eax
test eax, eax
je 0x437266
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 8]
add ecx, 0xb0
call fcn.00401d00
cmp dword [ebx + 0x1d0], 0
lea ecx, [ebx + 0x1d0]
je 0x437263
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
push dword [ebp - 8]
call fcn.0042c320
mov edx, dword [ebp + 8]
add esi, 4
cmp esi, edi
jne 0x437210
test dl, dl
je 0x4372ec
push dword [ebp + 8]
lea ecx, [ebx + 0x8c]
push dword [ebx + 0x84]
push dword [ebx + 0x80]
push dword [ebx + 0x90]
call fcn.004242e0
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x98]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebx + 0xc8]
pop edi
mov dword [ebx + 0xcc], eax
pop esi
mov dword [ebx + 0xd4], 0
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [ebx + 0x254], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x90]
cmp esi, edi
je 0x437326
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea esp, [esp]
mov eax, dword [esi]
cmp byte [eax + 0x64], 0
je 0x43731f
push 0
push dword [eax + 0x60]
call ebx
add esi, 4
cmp esi, edi
jne 0x437310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4387a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x450308
push eax
mov dword fs:[0], esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x4387d7
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [section..data]
push ebx
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [esi + 0x20]
push str._s_s
push eax
call fcn.0040a530
mov esi, dword [ebp - 0x10]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor bl, bl
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4388c4
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4388ba
push edi
call fcn.0043b0fb
add esp, 4
lea ecx, [ebp + 8]
push 0
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4388ae
cmp dword [ebp + 8], edi
jne 0x4388ae
push 0x14
call fcn.0043b619
add esp, 4
test eax, eax
je 0x4388a3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], vtable.CImageData.0
mov dword [eax + 4], 0
mov dword [eax + 8], edx
mov dword [eax + 0x10], edx
mov dword [ecx], eax
mov bl, 1
jmp 0x4388ba
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov bl, 1
jmp 0x4388ba
mov edx, dword [ebp - 0x14]
push edx
call fcn.0043b668
add esp, 4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4388e5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x438a00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0xc]
push edi
push dword [eax + 0x14]
movzx eax, word [eax + 0x10]
push eax
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x438a89
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x438a89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x438a89
mov esi, dword [ebp - 4]
test ebx, ebx
je 0x438a89
cmp dword [eax], 0x2e66622e
jne 0x438a89
cmp dword [eax + 0x3c], 0x10000
jne 0x438a89
cmp dword [eax + 0x40], 0x10000
jne 0x438a89
lea ecx, [esi + 0x20]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], eax
call fcn.004390f0
lea ecx, [esi + 0x20]
call fcn.00438d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x438ff0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x439010
push eax
call fcn.0043b668
add esp, 4
mov dword [esi + 0x20], 0
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x439055
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 0
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp + 8], eax
call fcn.0043b0fb
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4390cb
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x4390cb
cmp dword [edi], 0x2e66622e
jne 0x4390cb
cmp dword [edi + 0x3c], 0x10000
jne 0x4390cb
cmp dword [edi + 0x40], 0x10000
jne 0x4390cb
cmp dword [edi + 0x64], 0
je 0x4390cb
mov ecx, esi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
call fcn.004390f0
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x4390e1
push edi
call fcn.0043b668
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4399d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4515c0
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439a0e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x45ce7c
push 0x17
push 0
push 0x457cc0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x439aef
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x439af2
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x439a6c
push eax
call fcn.00401fd0
mov eax, 8
push esi
mov word [ebp - 0x2c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x439aa1
test esi, esi
je 0x439aa1
mov eax, 0xa
push 0x8007000e
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x24], 0x8007000e
call fcn.00401fd0
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
movq xmm0, qword [ebp - 0x2c]
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
push eax
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ecx + 8], xmm0
call dword [edx + 0xe8]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp word [ebp - 0x14], 0
je 0x439aef
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ecx], edx
mov bl, 1
jmp 0x439af4
mov eax, dword [ebp - 0x18]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x439b05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x449f73
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x466c90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004410ce
mov dword [ebp - 0x14], eax
cmp dword [0x469ff8], edi
jne 0x44a064
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x449ff1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x44a144
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x44a144
push 0x45797c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44a144
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x469ff8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x469ffc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x46a000], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46a008], eax
test eax, eax
je 0x44a061
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46a004], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44a089
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44a07c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x44a09e
push 4
pop eax
jmp 0x44a146
cmp dword [ebp - 0x14], edi
je 0x44a09e
push dword [0x469ff8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x44a083
mov eax, dword [0x46a004]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x44a0fc
cmp dword [0x46a008], esi
je 0x44a0fc
push eax
call ebx
push dword [0x46a008]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44a0fc
test eax, eax
je 0x44a0fc
call ecx
test eax, eax
je 0x44a0f1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x44a0f1
test byte [ebp - 8], 1
jne 0x44a0fc
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x44a12c
mov eax, dword [0x469ffc]
cmp eax, esi
je 0x44a129
push eax
call ebx
test eax, eax
je 0x44a129
call eax
mov edi, eax
test edi, edi
je 0x44a129
mov eax, dword [0x46a000]
cmp eax, esi
je 0x44a129
push eax
call ebx
test eax, eax
je 0x44a129
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x469ff8]
call ebx
test eax, eax
je 0x44a144
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x44a146
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e3ac
leave
ret
Function at 0x494901
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
cmp eax, dword [ebp + 0x10]
jge 0x494941
mov cl, byte [ebp + 0x14]
xor byte [edx + eax], cl
mov cl, byte [edx + eax]
and cl, 0xf
xor ebx, ebx
mov bl, byte [edx + eax]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
mov byte [edx + eax], cl
mov ecx, esi
add cl, al
xor byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x494913
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x494947
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
cmp eax, dword [ebp + 0x10]
jge 0x494984
mov ecx, esi
add cl, al
xor byte [edx + eax], cl
mov cl, byte [edx + eax]
and cl, 0xf
xor ebx, ebx
mov bl, byte [edx + eax]
sar ebx, 4
and bl, 0xf
xor bl, cl
shl ebx, 4
or cl, bl
xor cl, byte [ebp + 0x14]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x494959
pop esi
pop ebx
pop ebp
ret 0x10