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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x4f9771
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp ebx, 0x110
jne 0x4f95b3
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x44]
push edi
push 0x110
call fcn.004f7bc0
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
je 0x4f95b6
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
mov edx, dword [ebp + 0x18]
cmp ebx, 0x110
jne 0x4f95df
lea eax, [ebp + 0x1c]
mov ecx, esi
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.004f7cf0
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp ebx, 2
jne 0x4f9614
lea eax, [ebp + 0x1c]
mov dword [ebp + 0x1c], 1
push eax
push dword [ebp + 0x14]
mov ecx, esi
push edi
push ebx
call fcn.00459c60
cmp dword [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x4f9771
pop edi
pop esi
lea eax, [ebx - 1]
pop ebx
pop ebp
ret 0x18
cmp ebx, 5
jne 0x4f9638
lea eax, [ebp + 0x1c]
mov ecx, esi
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0045ba40
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
lea eax, [ebx - 4]
pop ebx
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x4f966a
cmp dword [esi + 0x38], 0xffffffff
je 0x4f9658
cmp dword [esi + 0x3c], 0xffffffff
je 0x4f9658
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x1c], eax
pop edi
pop esi
mov dword [edx], 0
mov eax, 1
pop ebx
pop ebp
ret 0x18
cmp ebx, 0x4e
jne 0x4f96cd
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffa87
jne 0x4f9699
lea ecx, [ebp + 0x1c]
push ecx
push eax
push edi
mov ecx, esi
call fcn.004f7e50
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
lea eax, [ebx - 0x4d]
pop ebx
pop ebp
ret 0x18
cmp ecx, 0xfffffa84
jne 0x4f9771
lea ecx, [esi + 0x44]
call fcn.004f5c00
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0x18]
mov eax, 1
pop edi
pop esi
pop ebx
mov dword [ecx], 0
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x4f9771
mov eax, 0x45f
cmp ax, di
jne 0x4f9717
shr edi, 0x10
xor eax, eax
cmp ax, di
jne 0x4f9771
lea eax, [ebp + 0x1c]
mov ecx, esi
push eax
push dword [ebp + 0x14]
push 0x45f
push 0
call fcn.004f78b0
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
mov ebx, 1
cmp bx, di
jne 0x4f9742
lea ecx, [ebp + 0x1c]
shr edi, 0x10
push ecx
push dword [ebp + 0x14]
mov ecx, esi
push ebx
push edi
call fcn.004f9220
mov ecx, dword [ebp + 0x18]
pop edi
pop esi
mov dword [ecx], eax
mov eax, ebx
pop ebx
pop ebp
ret 0x18
mov eax, 2
cmp ax, di
jne 0x4f9771
lea ecx, [esi + 0x44]
call fcn.004f5c00
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0x18]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword [ecx], 0
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
Function at 0x4fa020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.004f6ef0

Function at 0x4fa0e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x44]
call fcn.004f5c00
cmp dword [ebx + 0x68], 0
je 0x4fa11e
cmp dword [ebx + 0x70], 0
je 0x4fa11e
mov eax, dword [ebx + 0x10c]
cmp eax, 0xffffffff
je 0x4fa11e
mov esi, dword [ebx + 0x74]
lea ecx, [ebx + 0x44]
push eax
call fcn.004aa470
mov edx, dword [ebx + 0x44]
lea ecx, [ebx + 0x44]
push esi
push eax
call dword [edx + 0x10]
push 1
push 0xffffffffffffffff
push 3
lea ecx, [ebx + 0x44]
call fcn.00504dc0
push 1
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 8]
sub eax, 0
je 0x4fa1f0
sub eax, 1
jne 0x4fa262
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 0x457
push dword [ebx + 4]
mov dword [ebx + 0x3cc], eax
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 5
push 0x458
push dword [ebx + 4]
call edi
push eax
call esi
push 0
push 0x45d
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
push 0x45e
push dword [ebx + 4]
call edi
push eax
call esi
push 0x45f
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0xf1
push eax
call esi
push 0x45d
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf1
push eax
call esi
push 0x45e
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf1
push eax
call esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x457
push dword [ebx + 4]
mov dword [ebx + 0x3cc], 1
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0
push 0x458
push dword [ebx + 4]
call edi
push eax
call esi
push 1
push 0x45d
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 1
push 0x45e
push dword [ebx + 4]
call edi
push eax
call esi
push 0x45f
push dword [ebx + 4]
call edi
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4fd6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539430
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x583384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x30]
or esi, 0xffffffff
sub edx, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fd733
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x2c]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fd74d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x28]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fd767
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x24]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fd781
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x20]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fd79b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x1c]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fd7b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x18]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4fd7cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x502a40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 4], ebx
mov dword [ebx + 0xb8], 0xffffffff
mov dword [ebx + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 0x1e8]
jne 0x502a73
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x502a91
push 0
push dword [ebx + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetScrollPos]
push edi
push 0
push dword [ebx + 4]
call esi
push 1
push dword [ebx + 4]
mov edi, eax
call esi
mov esi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp - 4]
add esi, edi
mov ecx, esi
lea edi, [eax + 0x8c]
push edi
mov edx, dword [eax + 0x84]
cmp edx, esi
cmovl ecx, edx
cmovg esi, edx
mov edx, dword [ebp + 0xc]
add edx, ebx
mov dword [edi], ecx
mov ebx, eax
mov dword [eax + 0x94], esi
mov eax, edx
mov ecx, dword [ebx + 0x88]
cmp ecx, edx
cmovl eax, ecx
cmovg edx, ecx
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x98], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
pop edi
test eax, eax
je 0x502b09
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00500b40
push 0
push 0x14
push 0x3eb
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, esi
sub ecx, dword [ebx + 0xfc]
cmp ecx, 0xa
jbe 0x502b54
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00491880
test eax, eax
je 0x502b54
mov dword [ebx + 0xfc], esi
push 0x105
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x503970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x50398d
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5039ab
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x201
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00494df0
test eax, eax
je 0x503a00
test byte [ebp - 4], 1
je 0x503a00
push dword [ebp - 8]
mov ecx, esi
call fcn.00500c60
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004f74b0
test eax, eax
je 0x503a7b
mov eax, dword [esi + 4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
push eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 0x1c], 0xfffffa84
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x20]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5046b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x100], 0
je 0x5046ea
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x5046ea
mov dword [esi + 0x100], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x504714
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x504732
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004f74b0
test eax, eax
je 0x504796
push edi
mov edi, dword [ebp - 8]
mov ecx, esi
push edi
call fcn.0050f820
mov ecx, esi
test eax, eax
jne 0x50477f
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.00504f50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], eax
call fcn.00502390
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x505160
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.00502390
Function at 0x5096b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x50970d
mov eax, dword [ecx + 0x28]
cmp eax, dword [edx]
jne 0x50970d
mov edx, dword [ecx + 0x48]
test edx, edx
js 0x50970d
push esi
cmp edx, dword [ecx + 0x58]
jb 0x5096d2
xor esi, esi
jmp 0x5096d8
mov eax, dword [ecx + 0x54]
mov esi, dword [eax + edx*4]
mov esi, dword [esi + 0x24]
test esi, esi
je 0x50970c
push edi
mov edi, dword [ecx + 0x130]
cmp esi, edi
je 0x50970b
push 1
mov dword [ecx + 0x130], esi
call fcn.004a7690
test edi, edi
je 0x509704
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0xc

Function at 0x50ac20
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x508460
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push str..ACP
push 0
call fcn.005283f3
add esp, 8
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x50ac79
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jns 0x50accc
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10
push esi
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcA]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 8
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push edi
push 0
mov ecx, 0x58caa8
or esi, 0xffffffff
call fcn.0040f450
test eax, eax
js 0x50ad19
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0050a7b0
add esp, 8
mov esi, eax
mov ecx, 0x58caa8
call fcn.004115d0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop edi
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10
Function at 0x50b9f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [ecx - 0x28]
neg esi
push edi
mov edi, dword [ebp + 0xc]
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x50ba36
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x50ba27
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x50ba3b
test edi, edi
jne 0x50ba36
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x50ba3b
cmp edi, 1
je 0x50ba51
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x28]
push eax
call fcn.0050b620
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x510ec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push 0x3ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x100], 0
je 0x510efa
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x510efa
mov dword [esi + 0x100], 0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x510f24
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x510f42
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 4]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0xffffffff
push eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.004f74b0
test eax, eax
je 0x510fa6
push edi
mov edi, dword [ebp - 8]
mov ecx, esi
push edi
call fcn.0050f820
mov ecx, esi
test eax, eax
jne 0x510f8f
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.00511750
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
push eax
push edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], eax
call fcn.0050f140
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x511130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x6c], 0
je 0x511153
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x51117b
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x511199
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x24], 0
je 0x5111be
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x10], eax
jmp 0x5111c5
mov dword [ebp - 0x10], 0
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov edi, eax
mov eax, dword [ebp + 8]
cmp eax, 8
ja case.default.0x5111de
jmp dword [eax*4 + 0x5112bc]
xor edi, edi
jmp 0x51126c
mov eax, edi
xor edi, edi
sub eax, dword [esi + 0x9c]
test eax, eax
cmovg edi, eax
jmp 0x51126c
sub edi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, edi
xor edi, edi
test eax, eax
cmovg edi, eax
jmp 0x51126c
mov edi, dword [esi + 0x378]
imul edi, dword [esi + 0x9c]
jmp 0x51126c
add edi, dword [esi + 0x9c]
jmp 0x51126c
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
add edi, eax
jmp 0x51126c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], 0
push eax
xorps xmm0, xmm0
push 1
push dword [esi + 4]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0x1c
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x2c], 0x10
call dword [sym.imp.USER32.dll_GetScrollInfo]
test eax, eax
je case.default.0x5111de
mov eax, dword [ebp - 0x18]
cmp eax, edi
je case.default.0x5111de
mov edi, eax
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
push 0
push edi
push 1
mov ecx, esi
call fcn.00504dc0
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi + 0x70], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00513512
mov esp, ebp
pop ebp
ret 0xc

Function at 0x511960
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xa8], edx
mov dword [ecx + 0xac], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], edx
pop ebp
jmp fcn.0050f140
Function at 0x52e639
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052e4b8
Function at 0x10001025
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x100b7c0c], eax
je 0x10001047
cmp dword [0x100b7c0c], ebx
jne 0x100010db
push edi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x100b7c0c
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
test edi, edi
push eax
push dword [ebp - 4]
cmovne ebx, edi
mov edi, 0x100b7c0c
push 4
push edi
mov dword [0x100b7c0c], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x100b7c0c]
not eax
mov dword [0x101032f8], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002f03
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x100034c8
cmp dword [0x1010526c], edi
je 0x10002f69
push 2
pop esi
lea ecx, [ebp + 0xb]
mov dword [ebp - 0xc], esi
call fcn.10002f7a
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
push eax
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
or eax, esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebx + 0xc]
call fcn.1000a1f4
mov esi, eax
test esi, esi
je 0x100034fd
lea ecx, [ebp + 0xb]
call fcn.100034b6
inc edi
cmp edi, 2
jl 0x10002f11
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 1
jne 0x10002f69
push ebx
call fcn.100034e6
test al, al
je 0x10002f69
xor esi, esi
jmp 0x10002f27
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10003511
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push esi
call fcn.10003480
push dword [ebp - 4]
test eax, eax
jne 0x1000d680
call fcn.10002df5
test esi, esi
jne 0x10002f61
movzx ecx, word [ebx + 0x10]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x10], eax
jne 0x1000d6b4
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0xb]
mov dword [eax], 1
call fcn.100034b6
xor eax, eax
jmp 0x10002f71
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x10104f58
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x101033a0], esi
call fcn.100900ea
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 4], esi
or eax, dword [ebp - 0xc]
push esi
jmp 0x10002f46
cmp dword [ebp - 0x10], 3
jne 0x1000d6ce
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x1000d6ce
and cl, 0xf
cmp cl, 4
je 0x10003557
push 2
pop esi
jmp 0x10002f61