joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41aae0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
push dword [eax + 4]
lea ebx, [eax + 4]
mov dword [eax + 0x9c], 0
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ac6c
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x41ab49
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0xfffffffffffffff0
push dword [ebx]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 3
cmp al, 3
jne 0x41ab93
push 0
push 0
push 0x147
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x41abf5
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.00418150
mov esi, dword [ebp - 0x10]
jmp 0x41abf5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edx, eax
add edx, 1
mov dword [ebp - 0x14], edx
jns 0x41abaf
push 0x80070057
call fcn.004049a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x41abcf
push edx
lea ecx, [ebp - 0x10]
call fcn.004053d0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push edx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi - 8]
push esi
call fcn.0052644e
add esp, 8
test eax, eax
js 0x41aba5
cmp eax, dword [esi - 8]
jg 0x41aba5
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebx]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xfffffa1c
mov ecx, dword [edx + 0x24]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x28], ecx
mov cl, byte [edx + 0x30]
mov byte [ebp - 0x24], cl
cmp dword [esi - 4], 1
jle 0x41ac34
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404ed0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x34]
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ac6c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ac90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fe28
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x41ace2
push 0
push 0
push 0x1008
push dword [esi + 4]
call edi
cmp eax, dword [ebp + 8]
je 0x41ae5f
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
je 0x41ae5f
push 0
push 0
push 0x1008
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ad27
push 0
push 0
push 0x1008
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ae54
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x41ad56
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 0
push 0x1001
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x41ad89
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [esi + 0x2c]
test eax, 0x400
je 0x41ad9b
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
test eax, 0x800
je 0x41adaa
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x38], eax
mov al, byte [esi + 0x30]
mov byte [ebp - 0x34], al
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], 0xfffffa1c
push str._04d_02d_02d_02d_02d_02d
push eax
call fcn.00404f50
mov esi, dword [ebp - 0x24]
add esp, 0x20
cmp dword [esi - 4], 1
jle 0x41ae19
push dword [esi - 0xc]
lea ecx, [ebp - 0x24]
call fcn.00404ed0
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], esi
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x44]
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ae51
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
Function at 0x41ae80
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548168
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41afc7
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x41aed9
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebx + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edx, eax
add edx, 1
mov dword [ebp - 0x14], edx
jns 0x41af08
push 0x80070057
call fcn.004049a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x41af28
push edx
lea ecx, [ebp - 0x10]
call fcn.004053d0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push edx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi - 8]
push esi
call fcn.0052644e
add esp, 8
test eax, eax
js 0x41aefe
cmp eax, dword [esi - 8]
jg 0x41aefe
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [ebx + 0x24]
mov edx, eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x24], ecx
mov cl, byte [ebx + 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 0xfffffa1c
mov byte [ebp - 0x20], cl
cmp dword [esi - 4], 1
jle 0x41af91
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00404ed0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
push edx
push 0x4e
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41afc7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c6d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540808
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, 0x300
cmp ax, word [ebp + 8]
jne 0x41c78a
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x41c71a
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x200
or eax, ecx
mov dword [ebp - 4], 0
jge 0x41c750
push 0x200
lea ecx, [ebp + 8]
call fcn.004053d0
mov esi, dword [ebp + 8]
push 0x200
push esi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
lea ecx, [edi + 0xd4]
call fcn.004296e0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c78a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41eec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x90
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x94
push 0
push eax
mov esi, ecx
mov edi, 0x158
call fcn.0051d400
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41ef16
cmp dword [ebp - 0x94], 6
jae 0x41ef1b
mov edi, 0x154
push 0x154
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1f0], edi
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea eax, [ebp - 0x1f0]
push 0
push eax
push 0x158
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
movups xmm0, xmmword [ebp - 0xd8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa0]
xor ecx, ebp
movups xmmword [esi], xmm0
pop edi
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [ebp - 0xa8]
movq qword [esi + 0x30], xmm0
mov dword [esi + 0x38], eax
pop esi
call fcn.005193a0
mov esp, ebp
pop ebp
ret
Function at 0x4220c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push esi
push 0x422770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x20], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x422410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi]
mov eax, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
cmp byte [edx + 0xd], 0
jne 0x422449
cmp dword [edx + 0x10], ebx
jge 0x42243f
mov edx, dword [edx + 8]
jmp 0x422443
mov eax, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x422435
cmp eax, ecx
je 0x422452
cmp ebx, dword [eax + 0x10]
jge 0x422454
mov eax, ecx
cmp eax, ecx
je 0x4224fc
cmp dword [eax + 0x14], 0
jle 0x4224fc
mov ecx, edi
shr ecx, 0x10
cmp ecx, dword [eax + 0x1c]
jb 0x422486
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
pop ebp
ret 0xc
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test ecx, ecx
je 0x4224a6
nop
mov eax, dword [eax]
lea edx, [ecx - 1]
shl edx, 0x10
movzx edi, di
or edi, edx
mov ecx, edi
shr ecx, 0x10
test ecx, ecx
jne 0x422490
movzx ecx, di
cmp ecx, dword [eax + 0x24]
jb 0x4224c4
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
pop ebp
ret 0xc
mov eax, dword [eax + 0x20]
mov eax, dword [eax]
test ecx, ecx
je 0x4224e1
nop dword [eax]
mov eax, dword [eax]
lea ecx, [edi - 1]
xor ecx, edi
movzx ecx, cx
xor edi, ecx
test di, di
jne 0x4224d0
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 0xc
Function at 0x428460
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 0x42849a
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42849a
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 0x4284c4
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4284e2
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.00498e40
test eax, eax
je 0x428546
push edi
mov edi, dword [ebp - 8]
mov ecx, esi
push edi
call fcn.00418db0
mov ecx, esi
test eax, eax
jne 0x42852f
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.004294a0
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.00425990
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x428580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [ecx - 0x20]
neg esi
push edi
mov edi, dword [ebp + 0xc]
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x4285c6
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x4285b7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4285cb
test edi, edi
jne 0x4285c6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4285cb
cmp edi, 1
je 0x4285e1
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x20]
push eax
call fcn.004249c0
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x428fc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0xb8], 0xffffffff
mov dword [esi + 0xbc], 0xffffffff
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x1e8]
jne 0x428ffd
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42901b
push 0
push dword [esi + 0x1e8]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx edi, ax
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xc4]
mov ebx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0xc]
dec ebx
add ebx, ecx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x18], ebx
je 0x429103
cmp dword [esi + 0x3c], 0
je 0x4290d5
cmp dword [esi + 0x58], 0
je 0x4290d5
mov eax, edi
sub eax, dword [esi + 0xec]
test eax, eax
jg 0x4290d5
cmp edi, dword [esi + 0xf4]
jge 0x42918b
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp eax, ebx
jl 0x42918b
push dword [esi + 0xdc]
mov ecx, esi
call fcn.004ae9e0
mov ecx, edi
sub ecx, dword [esi + 0xec]
add eax, ecx
test eax, eax
jle 0x4290c7
push dword [esi + 0xdc]
mov ecx, esi
call fcn.004ae9e0
sub edi, dword [esi + 0xec]
add eax, edi
mov dword [esi + 0xf0], eax
push eax
jmp 0x42917e
xor eax, eax
mov dword [esi + 0xf0], eax
push eax
jmp 0x42917e
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xf4], edi
pop edi
mov dword [esi + 0x60], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xf0]
xor ebx, ebx
sub eax, dword [esi + 0xf4]
add eax, edi
test eax, eax
cmovg ebx, eax
cmp dword [esi + 0x58], 0
je 0x429177
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
cmp eax, dword [ebp - 0x18]
jl 0x429177
push dword [esi + 0xdc]
mov ecx, esi
call fcn.004ae9e0
cmp ebx, eax
jge 0x429177
cmp dword [esi + 0x60], 0
jne 0x42918b
push 0
push 0x14
push 0x3e9
push dword [esi + 4]
mov dword [esi + 0x60], 1
mov dword [esi + 0xec], edi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x60], 0
jne 0x42918b
push ebx
push dword [esi + 0xdc]
mov ecx, esi
call fcn.0049f050
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret 4

Function at 0x4296b0
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.00425990
Function at 0x42acb0
Capabilities:
Get common file path
Get disk size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x104
lea eax, [ebp - 0x108]
mov ebx, ecx
push 0
push eax
call fcn.0051d400
add esp, 0xc
mov dword [ebp - 0x114], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x134]
movq qword [ebp - 0x110], xmm0
movups xmmword [ebp - 0x134], xmm0
push eax
movups xmmword [ebp - 0x124], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x118]
xor edx, edx
mov eax, 0x100000
mov dword [ebx + 0x34], 0x100000
div ecx
mov dword [ebx + 0x38], 0
test edx, edx
je 0x42ad3a
imul eax, ecx
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], eax
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebx + 0x2c], 0
push eax
mov dword [ebx + 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x42ada4
push 0
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x42ada4
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call fcn.00519c40
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push edx
push eax
call fcn.00519c00
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edx
mov eax, dword [ebx + 4]
sub dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
sbb dword [ebx + 0x30], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret
Function at 0x42af70
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, dword [eax + 0x38]
mov edi, dword [eax + 0x34]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00519c40
push esi
push edi
push edx
push eax
call fcn.00519c00
cmp dword [ebx + 4], eax
jne 0x42afba
cmp dword [ebx + 8], edx
jne 0x42afba
cmp dword [ebx], 0
je 0x42afc7
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx]
test eax, eax
je 0x42afc7
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [ebp - 4]
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 8], 0xffffffff
mov edi, dword [esi + 0x3c]
mov esi, dword [esi + 0x40]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00519c40
push esi
push edi
push edx
push eax
call fcn.00519c00
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov edi, dword [eax + 0x34]
mov esi, dword [eax + 0x38]
mov eax, dword [ebp + 0xc]
push esi
push edi
sbb eax, edx
push eax
push ecx
call fcn.00519c40
push esi
push edi
push edx
push eax
call fcn.00519c00
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
mov dword [ebp - 8], edx
call fcn.00519c40
push esi
push edi
push edx
push eax
call fcn.00519c00
mov esi, dword [ebp - 4]
mov dword [ebx + 4], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
mov dword [ebx + 8], edx
push eax
lea ecx, [esi + 0x44]
call fcn.0042adc0
mov eax, dword [eax]
cmp eax, dword [esi + 0x44]
jne 0x42b0b3
push 0
push dword [esi + 0x3c]
push 0
push 0x4000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x42b0f1
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 0x44]
push dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], edi
push eax
call fcn.0042a8b0
cmp byte [ebp + 0xc], 0
jne 0x42b0b6
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [eax + 0x18]
push dword [esi + 0x34]
push dword [ebp + 0x10]
push dword [ebp - 8]
push 6
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx], eax
test eax, eax
je 0x42b0e1
push 4
push 0x1000
push dword [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebx], eax
xor eax, eax
cmp dword [ebx], eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x14], vtable.std::bad_alloc.0
push 0x56bb94
lea eax, [ebp - 0x14]
movq qword [ebp - 0x10], xmm0
push eax
mov dword [ebp - 0x10], str.bad_allocation
call fcn.0051ca37
int3