joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52fe90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x214], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
mov dword [esp + 8], 0
push ecx
mov word [esp + 0x18], ax
call fcn.0058e300
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Desktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x52ff1d
mov dword [esp], eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 8]
push edx
push 0
push 0x5caac0
push eax
mov dword [esp + 0x20], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [esp + 0x10]
call fcn.00406c20
mov ecx, dword [esp + 0x214]
xor ecx, esp
mov eax, esi
call fcn.005886fc
add esp, 0x218
ret

Function at 0x530640
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5badb8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea esi, [esp + 0xc]
call fcn.0052fac0
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x53069c
mov ecx, 0x104
mov eax, esi
call fcn.00406a80
mov edx, dword [esp + 0xc]
push str.safemonwdefence.dll
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0058a3a5
add esp, 8
test eax, eax
jl 0x530793
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x530793
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x530757
mov edi, dword [esp + 0xc]
call fcn.0044edc0
test eax, eax
je 0x530757
mov eax, dword [esp + 0xc]
call fcn.00416110
test eax, eax
je 0x530757
push str.Execute
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x530731
lea ecx, [esp + 0xc]
call fcn.004066e0
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push str.sg_b_rl_pe
call eax
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004066e0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53071d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push 0x80070057
call fcn.00406af0
int3
Function at 0x531620
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x210
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
push 0
push 0x5cc7b4
push 0
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x531739
test esi, esi
je 0x531739
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0058e300
add esp, 0xc
push 0x103
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x531739
lea eax, [esp + 0xc]
push eax
push str.EdgeUiInputWndClass
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x5316be
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.005886fc
add esp, 0x210
ret
push ebx
push ebp
mov dword [esp + 0x10], 0
cmp edi, esi
je 0x531714
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
test esi, esi
je 0x531710
call ebp
cmp esi, eax
je 0x531710
push esi
call ebx
mov esi, eax
cmp edi, esi
jne 0x5316d8
pop ebp
pop ebx
mov dword [esp + 8], 1
mov eax, dword [esp + 8]
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.005886fc
add esp, 0x210
ret
cmp edi, esi
jne 0x53171c
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.005886fc
add esp, 0x210
ret
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.005886fc
add esp, 0x210
ret

Function at 0x531a00
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x18
push esi
mov dword [esp + 4], 0
call fcn.00516560
cmp dword [0x6230c0], 0x4000
je 0x531aa8
call fcn.00516560
cmp dword [0x6230c0], 0x8000
je 0x531aa8
call fcn.00516560
cmp dword [0x6230c0], 0x400
jl 0x531a5e
lea eax, [esp + 4]
push eax
push 0x531930
push 0
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [esp + 4]
pop esi
add esp, 0x18
ret
push 0
push 0x5cc7b4
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x531a55
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 5
push 5
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
pop esi
add esp, 0x18
ret
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push 0x5cc7b4
push 0
push 0
call esi
test eax, eax
jne 0x531ac4
pop esi
add esp, 0x18
ret
push 0
push str.Start
push 0
push eax
call esi
pop esi
add esp, 0x18
ret
Function at 0x537a90
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b403a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov esi, ecx
test esi, esi
je 0x537c14
test ebp, ebp
je 0x537c14
cmp dword [esp + 0x4c], 0
je 0x537c14
lea eax, [esp + 0x24]
push eax
call fcn.005377b0
mov dword [esp + 0x40], 0
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x40], 1
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x40], 2
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x104
or eax, ecx
jge 0x537b48
mov ecx, 0x104
lea eax, [esp + 0x1c]
call fcn.00406a80
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x537b6e
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00406a80
mov edi, dword [esp + 0x18]
push 0
call fcn.00527b0f
mov eax, dword [edi - 8]
add esp, 4
push eax
push edi
call fcn.0058a3a5
add esp, 8
test eax, eax
jl 0x537cd7
cmp eax, dword [edi - 8]
jg 0x537cd7
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0058a3a5
add esp, 8
test eax, eax
jl 0x537cd7
cmp eax, dword [ebx - 8]
jg 0x537cd7
xor edx, edx
mov dword [ebx - 0xc], eax
push edi
mov word [ebx + eax*2], dx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x537bea
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004879a0
add esp, 4
mov ecx, eax
call fcn.00487a80
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
jne 0x537c2a
lea ecx, [esp + 0x1c]
call fcn.004066e0
lea ecx, [esp + 0x18]
call fcn.004066e0
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x44], 0xffffffff
call fcn.00537810
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ebx, dword [esp + 0x4c]
push ebx
push ebp
push esi
call fcn.00527f22
add esp, 0xc
test eax, eax
je 0x537c90
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x537c42
sub eax, edx
sar eax, 1
je 0x537c90
lea ecx, [esp + 0x1c]
call fcn.004066e0
lea ecx, [esp + 0x18]
call fcn.004066e0
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x44], 0xffffffff
call fcn.00537810
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push ebx
push ebp
push edi
call fcn.00538230
add esp, 0xc
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004066e0
lea ecx, [esp + 0x18]
call fcn.004066e0
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00537810
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x80070057
call fcn.00406af0
int3
Function at 0x53b1a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x60
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [0x6246b8]
test eax, eax
jne 0x53b234
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [0x622074]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x53b1e0
mov eax, 0xfffffff4
jmp 0x53b1f8
push 0x64
cmp eax, 1
jne 0x53b1ed
mov edx, dword [ecx + 4]
push edx
jmp 0x53b1f0
mov eax, dword [ecx]
push eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp], eax
mov dword [esp + 0x10], 0x190
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
mov ecx, 0x20
lea edx, [esp + 0x1c]
mov eax, 0x5e4230
jae 0x53b220
mov eax, 0x5e423c
call fcn.0041c020
lea ecx, [esp]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x6246b8], eax
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.005886fc
add esp, 0x60
ret
Function at 0x540f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
test ebx, ebx
je 0x54107e
mov esi, dword [eax + 0x78]
test esi, esi
je 0x54107e
lea edi, [esp + 0x20]
call fcn.00554ee0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x541078
test edi, edi
je 0x541078
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
mov ebp, esi
call edx
mov ebx, eax
sub ebx, 1
js 0x541059
mov eax, dword [ebp]
mov edx, dword [eax + 0x44]
push ebx
mov ecx, ebp
call edx
mov esi, eax
test esi, esi
je 0x541054
lea edi, [esp + 0x20]
call fcn.00554ee0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x1c], edx
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x541054
test edi, edi
je 0x541054
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
mov ebx, eax
mov ebp, esi
dec ebx
test ebx, ebx
jge 0x540fe7
mov eax, dword [esp + 0x34]
mov dword [eax], ebp
test ebp, ebp
je 0x54106c
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
mov dword [ebx], 0
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
add esp, 0x20
ret 0xc
Function at 0x545640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b3161
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CXElement.0
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esp + 0x14], 0
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
push eax
mov byte [esp + 0x18], 1
call fcn.005463e0
lea eax, [esi + 0x30]
push eax
mov byte [esp + 0x18], 2
call fcn.00428c80
xor eax, eax
mov dword [esi + 0x4c], esi
mov dword [esi + 0x48], vtable.TGeneralObserverObj_class_CXElement_.0
mov dword [esi + 8], eax
mov dword [esi + 0x50], 0x545c90
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x54d3a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
mov eax, dword [edx + 0xa4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi + 0x84]
sub dword [esp + 0x10], ecx
mov edx, dword [esi + 0x88]
mov eax, dword [ebp + 8]
sub dword [esp + 0x14], edx
xor edi, edi
mov dword [eax], edi
mov ecx, dword [esi + 0x160]
sub ecx, dword [esi + 0x15c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x54d518
mov dword [esp + 0xc], edi
mov ecx, dword [esi + 0x160]
mov edx, dword [esp + 0x14]
sub ecx, dword [esi + 0x15c]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x54d442
call fcn.00588c45
mov eax, dword [esi + 0x15c]
mov ecx, dword [esp + 0x1c]
add eax, dword [esp + 0xc]
push ecx
push ebx
add eax, 8
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x54d4e5
mov ecx, dword [esi + 0x160]
sub ecx, dword [esi + 0x15c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x54d48a
call fcn.00588c45
mov ecx, dword [esi + 0x15c]
mov ebx, dword [esp + 0xc]
cmp dword [ecx + ebx + 0x20], 0
je 0x54d4e5
mov edx, dword [ebp + 8]
mov dword [edx], 1
mov ecx, dword [esi + 0x160]
sub ecx, dword [esi + 0x15c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x54d4ca
call fcn.00588c45
mov ecx, dword [esi + 0x15c]
mov edx, dword [ebx + ecx + 0x24]
push 1
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x160]
sub ecx, dword [esi + 0x15c]
add dword [esp + 0xc], 0x2c
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x54d410
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x54d527
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push esi
push 0x384
mov ecx, esi
call eax
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x563d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b7d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
cmp ecx, edi
je 0x563d5f
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
call edx
push 0x6211f4
push 0x208
call fcn.0058a96c
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edi
cmp eax, edi
je 0x563d87
push eax
call fcn.0054f930
mov ebx, eax
jmp 0x563d89
xor ebx, ebx
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi + 0x158], ebx
je 0x563dbd
cmp ebx, edi
je 0x563da5
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov eax, dword [esi + 0x158]
cmp eax, edi
je 0x563db7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x158], ebx
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x158]
mov dword [eax + 0xc8], edi
mov ebx, dword [esi + 0x198]
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esi + 0x19c]
mov dword [eax + 4], ebx
mov ebx, dword [esi + 0x1a0]
mov dword [eax + 8], ebx
mov ebx, dword [esi + 0x1a4]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [esi + 0x158]
mov dword [eax + 0xc0], 1
mov ecx, dword [esi + 0x158]
mov ebx, dword [ecx]
xor edx, edx
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x6c]
call edx
mov ecx, dword [esi + 0x158]
test ecx, ecx
je 0x563e57
lea eax, [esi + 0x184]
test eax, eax
je 0x563e57
push eax
push 0
call fcn.00545b30
push 0x19c
call fcn.005851c0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 1
test eax, eax
je 0x563e7e
push eax
call fcn.0054bfa0
mov edi, eax
jmp 0x563e80
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi + 0x15c], edi
je 0x563eb4
test edi, edi
je 0x563e9c
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x563eae
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x15c], edi
mov ecx, dword [esi + 0x15c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push esi
call eax
mov ecx, dword [esi + 0x15c]
mov dword [ecx + 0xc8], 4
mov esi, dword [esi + 0x15c]
mov ebx, dword [esi]
sub esp, 0x10
mov eax, esp
xor edx, edx
mov ecx, 5
mov dword [eax], ecx
mov dword [eax + 4], edx
xor edi, edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x6c]
mov ecx, esi
mov dword [esp + 0x30], edx
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x565f00
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5b4d05
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push esi
call fcn.00545640
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CXFont.0
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
lea edi, [esi + 0x58]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 1
mov ecx, dword [0x622074]
mov dword [esi + 0x54], ebx
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x565f6b
lea eax, [ebx - 0xc]
jmp 0x565f83
push 0x64
cmp eax, 1
jne 0x565f78
mov eax, dword [ecx + 4]
push eax
jmp 0x565f7b
mov ecx, dword [ecx]
push ecx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
mov eax, edi
jb 0x565fa4
push 0x5e4230
mov ebx, 4
jmp 0x565fae
push 0x5e423c
mov ebx, 2
call fcn.00406b40
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x566e80
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14c]
test eax, eax
je 0x566ec6
cmp dword [esp + 8], 0
jne 0x566ea6
mov eax, dword [eax + 0x58]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 4
mov edx, dword [esi]
mov eax, dword [edx + 0xac]
call eax
test eax, eax
je 0x566ec6
mov ecx, dword [esi + 0x14c]
mov edx, dword [ecx + 0x58]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 4

Function at 0x567be0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp]
mov edx, dword [eax + 0x60]
push esi
push edi
mov ecx, ebp
call edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [0x623e4c]
add ebx, 0x10
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x623888]
lea ecx, [esp + 0x14]
call fcn.0042e060
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x567c34
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov eax, dword [esi + 8]
lea edi, [esi + 4]
xor ecx, ecx
lea ebx, [ebp + 0x124]
test eax, eax
jle 0x567c60
mov edx, dword [edi]
cmp dword [edx], ebx
je 0x567c56
inc ecx
add edx, 4
cmp ecx, eax
jl 0x567c48
jmp 0x567c60
cmp ecx, 0xffffffff
je 0x567c60
call fcn.0042dfa0
mov eax, dword [ebp + 0x58]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x56a2a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5aa9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor eax, eax
cmp dword [esi + 0x13c], eax
je 0x56a410
mov ebx, dword [esi + 0x60]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
cmp ebx, dword [esi + 0x64]
jbe 0x56a2f5
call fcn.00588c45
mov edi, dword [esi + 0x54]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov ebx, dword [esi + 0x64]
cmp dword [esi + 0x60], ebx
jbe 0x56a30d
call fcn.00588c45
mov eax, dword [esi + 0x54]
test edi, edi
je 0x56a318
cmp edi, eax
je 0x56a31d
call fcn.00588c45
cmp dword [esp + 0x20], ebx
je 0x56a3e6
test edi, edi
jne 0x56a3db
call fcn.00588c45
mov eax, dword [esp + 0x20]
cmp eax, dword [edi + 0x10]
jb 0x56a342
call fcn.00588c45
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx]
mov dword [esp + 0x18], esi
test esi, esi
je 0x56a358
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x68], 0
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call edx
mov edi, dword [eax + 8]
sub edi, dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
lea ebx, [eax + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
add eax, edi
add eax, dword [ebx]
push esi
add dword [esp + 0x28], eax
mov dword [esp + 0x6c], 0xffffffff
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x56a3e2
call fcn.00588c45
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x56a3c9
call fcn.00588c45
add dword [esp + 0x20], 4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
jmp 0x56a300
mov edi, dword [edi]
jmp 0x56a334
mov eax, dword [eax]
jmp 0x56a3bb
mov ecx, dword [esi + 0x80]
sub ecx, dword [esi + 0x78]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x7c]
sub ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x80]
mov eax, dword [ebp + 8]
sub edx, dword [esi + 0x78]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4