Function at 0x469be0
Capabilities:
Create thread
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1cfb
mov eax, dword fs:[0]
push eax
mov eax, 0x200a8
call fcn.004a1750
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 3
mov dword [ebp - 0x20040], eax
mov eax, dword [ebp + 0xc]
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x20044], ebx
cmp ebx, 0xffffffff
jne 0x469c48
xor al, al
jmp 0x46a0eb
push 0x5181b8
mov dword [ebp - 0x200a8], 0x5181b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x20058]
mov dword [ebp - 4], 0
push eax
push ebx
mov dword [0x51872c], 4
mov byte [ebp - 0x20035], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov dword [ebp - 0x20090], 0
mov ebx, 0x1a9fbe77
mov dword [ebp - 0x2004c], ecx
mul ebx
mov edi, 0x624dd2f
mov dword [ebp - 0x2005c], ecx
mov dword [ebp - 0x20064], eax
mov esi, edx
mov eax, ecx
mul edi
mov edi, eax
mov dword [ebp - 0x2003c], edx
mov eax, dword [ebp - 0x20058]
mul ebx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x20058]
mov edx, 0x624dd2f
mul edx
add ecx, esi
mov dword [ebp - 0x20048], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [ebp - 0x2003c]
adc ecx, 0
mov dword [ebp - 0x20064], edi
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x20048]
adc eax, eax
add ecx, ebx
mov ebx, dword [ebp - 0x2004c]
adc edx, eax
mov eax, dword [ebp - 0x20058]
sub ebx, ecx
sbb eax, edx
shrd ebx, eax, 1
shr eax, 1
add ebx, ecx
adc eax, edx
shrd ebx, eax, 9
mov dword [ebp - 0x20094], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0x4ed0f8
mov dword [ebp - 0x2008c], eax
mov dword [ebp - 0x20088], edx
call fcn.0049c580
push eax
push 0x4ed0f8
call fcn.0049c710
mov ebx, dword [sym.imp.USER32.dll_GetParent]
add esp, 0xc
cmp dword [ebp - 0x20094], 0
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x20084], eax
lea eax, [ebp - 0x20035]
mov dword [ebp - 0x20080], eax
mov dword [ebp - 0x2007c], 0
mov dword [ebp - 0x2006c], 0
je 0x469e3d
mov eax, dword [ebp - 0x20040]
test eax, eax
je 0x469dbb
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20078], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
jmp 0x469dd4
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 0x20078], eax
call esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20074], eax
mov eax, dword [ebp - 0x20040]
push 2
push eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x2006c], esi
test esi, esi
je 0x469e18
nop dword [eax]
call edi
cmp esi, eax
je 0x469e18
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x469e00
lea eax, [ebp - 0x200ac]
push eax
push 0
lea eax, [ebp - 0x20094]
push eax
push 0x41d9d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20070], eax
cmp byte [ebp - 0x20035], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movlpd qword [ebp - 0x20054], xmm0
jne 0x46a042
mov eax, dword [ebp - 0x20050]
mov ebx, dword [ebp - 0x20044]
mov dword [ebp - 0x2003c], eax
mov eax, dword [ebp - 0x20054]
mov dword [ebp - 0x20040], eax
nop word [eax + eax]
push 0
push dword [0x5186f0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x46a036
push 0
lea eax, [ebp - 0x20024]
push eax
push 0x20000
lea eax, [ebp - 0x20020]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46a036
mov ebx, dword [ebp - 0x20024]
test ebx, ebx
je 0x46a036
xor esi, esi
cmp ebx, 0x34
jb 0x46a036
lea edx, [ebp - 0x20020]
add edx, esi
mov eax, dword [edx + 0x2c]
movzx edi, word [edx + 0x28]
add eax, 0x34
lea edi, [eax + edi*4]
lea eax, [edi + esi]
mov dword [ebp - 0x20050], eax
cmp eax, ebx
ja 0x469fc5
push edi
push edx
call fcn.0046a5c0
mov ecx, dword [ebp - 0x20040]
add esp, 8
mov ebx, dword [ebp - 0x2003c]
add ecx, edi
mov eax, ecx
mov dword [ebp - 0x20040], ecx
adc ebx, 0
mov edx, 0x1a9fbe77
mul edx
mov eax, ecx
mov dword [ebp - 0x2003c], ebx
mov esi, edx
mov edi, 0x624dd2f
mul edi
mov ecx, 0x1a9fbe77
mov edi, eax
mov dword [ebp - 0x2004c], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x2003c]
mov edx, 0x624dd2f
mul edx
add ecx, esi
mov esi, dword [ebp - 0x20050]
mov dword [ebp - 0x20048], eax
adc ebx, 0
mov dword [ebp - 0x20098], edx
mov edx, dword [ebp - 0x20048]
add edi, ecx
mov ecx, dword [ebp - 0x2004c]
adc ecx, 0
xor eax, eax
add ebx, ecx
mov ecx, dword [ebp - 0x20040]
adc eax, eax
add edx, ebx
mov ebx, dword [ebp - 0x20098]
adc ebx, eax
mov eax, dword [ebp - 0x2003c]
sub ecx, edx
sbb eax, ebx
shrd ecx, eax, 1
shr eax, 1
add ecx, edx
adc eax, ebx
mov ebx, dword [ebp - 0x20024]
shrd ecx, eax, 9
mov eax, ebx
sub eax, esi
mov dword [ebp - 0x20090], ecx
cmp eax, 0x34
jae 0x469ed3
test esi, esi
je 0x46a036
push 0
mov ecx, 0x5181b8
call fcn.0042ccd0
sub esi, dword [ebp - 0x20024]
lea ecx, [ebp - 0x200a0]
mov ebx, dword [ebp - 0x20044]
mov eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
cdq
push ecx
push eax
push ebx
mov dword [ebp - 0x200a4], eax
mov dword [ebp - 0x200a0], edx
call esi
push 1
lea eax, [ebp - 0x20060]
push eax
push 0
push ebx
call esi
cmp byte [ebp - 0x20035], 0
mov dword [ebp - 0x20040], eax
mov dword [ebp - 0x20064], eax
mov eax, dword [ebp - 0x20060]
mov dword [ebp - 0x2003c], eax
je 0x469e80
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push dword [ebp - 0x20044]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20094], 0
mov dword [0x51872c], 0
je 0x46a0cb
mov eax, dword [ebp - 0x2007c]
test eax, eax
jne 0x46a07f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
mov eax, dword [ebp - 0x2007c]
test eax, eax
je 0x46a071
push 0
push 1
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push dword [ebp - 0x20070]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x20070]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2006c]
test esi, esi
je 0x46a0cb
call edi
cmp esi, eax
je 0x46a0cb
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x46a0b3
mov ecx, dword [ebp - 0x20084]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x46a0de
call fcn.0049c750
push 0x5181b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret