Function at 0x10002871
Capabilities:
Get file size
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10050153
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov dword [esp + 0x20], edx
mov byte [esp + 0x24], cl
push ebx
push esi
push edi
push 0
test cl, cl
je 0x100028b0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x10002dea
mov dword [esp + 0x28], 0x2a8b
cmp dword [esp + 0x28], 0x2e2e
pop ebx
jle 0x10002936
mov esi, ebx
mov dword [esp + 0x10], ebx
mov edi, ebx
mov dword [esp + 0x14], ebx
mov eax, esi
mov esi, ebx
cdq
idiv edi
mov edi, edx
mov eax, edi
lea ecx, [esp + 0xa0]
and eax, esi
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100028f5
mov eax, dword [eax]
push eax
call fcn.100379e3
pop ecx
push ebx
push 1
lea ecx, [esp + 0xa8]
call fcn.1000384d
inc esi
cmp esi, 0x5720
jl 0x100028d8
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x14], edi
cmp edi, 0x2c5c
jl 0x100028cf
inc esi
mov dword [esp + 0x10], esi
cmp esi, 0x1fc2
jl 0x100028c9
cmp dword [esp + 0x24], 0x2846
jge 0x1000294b
push str.osqd_qtoqcboun_kkodzb_kwmud_zpawk_hfbcenwz_unyb_bpigfj_hnvjotsbx_ivazlwsfk_jlgzwk_cvogqhdv_cwqkw
call fcn.100379e3
pop ecx
or dword [esp + 0xdc], 0xffffffff
push 2
mov dword [esp + 0x14], 0x256915a
mov dword [esp + 0x14], ebx
pop ecx
jmp 0x10002970
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x7c], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10002964
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x10], ebx
jl 0x100029a5
lea eax, [esp + 0x2b]
mov byte [esp + 0x2b], bl
push eax
push ebx
push 1
mov edx, 0x2144
mov cl, 1
call fcn.10001ceb
add esp, 0xc
dec dword [esp + 0x10]
jns 0x10002981
push 2
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x100029bf
push 1
mov ecx, 0x7d0f
call fcn.100026de
inc dword [esp + 0x14]
pop ecx
push 2
pop ecx
cmp dword [esp + 0x10], ecx
jle 0x100029ab
push 7
pop edi
xor eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0x38]
push dword [ebp + 0xc]
call fcn.10003482
mov eax, dword [0x10068b00]
test al, 1
jne 0x10002a1c
or eax, 1
mov dword [0x10068b00], eax
push 0x14fb
mov byte [esp + 0xe0], 3
call fcn.1002d02d
pop ecx
mov word [0x10069eac], ax
mov byte [esp + 0xdc], 2
push 0x553e
push 1
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 9
push ebx
mov dword [esp + 0x28], 0x29b8
mov edx, 0x44a0
push eax
mov ecx, 0x7173
call fcn.10001d57
add esp, 0x14
mov dword [esp + 0x1c], ebx
jmp 0x10002a9e
mov dword [esp + 0x18], 0x76c51653
mov dword [esp + 0x10], ebx
jmp 0x10002a71
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x50], 0xa7084bc9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10002a61
mov dword [esp + 0x58], 1
cmp dword [esp + 0x18], ebx
jne 0x10002a92
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], 0xf928d9ba
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0x1d
jle 0x10002a53
mov eax, dword [0x10068b00]
test al, 2
jne 0x10002ad7
or eax, 2
mov dword [0x10068b00], eax
push 0xb6b
mov byte [esp + 0xe0], 4
call fcn.1002d02d
pop ecx
mov word [0x10069edc], ax
mov byte [esp + 0xdc], 2
mov dword [esp + 0x18], 3
mov dword [esp + 0x18], 0x1cb6
mov dword [esp + 0x18], 0xccae
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x10002b11
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x20], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x10002b05
mov dword [esp + 0x10], ebx
jmp 0x10002b2e
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x6c], 0x45fe46c2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10002b1e
mov eax, dword [esp + 0x20]
imul ecx, eax, 0xf390
mov eax, dword [esp + 0x14]
dec dword [esp + 0x14]
cmp eax, ecx
jne 0x10002b50
xor eax, eax
inc eax
jmp 0x10002b52
mov eax, ebx
mov ecx, dword [esp + 0x18]
xor edx, edx
add ecx, eax
mov eax, dword [esp + 0x20]
imul ecx, eax
mov eax, dword [esp + 0x20]
cmp ecx, eax
sete dl
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x20]
neg eax
sbb eax, eax
inc eax
sub eax, edx
jne 0x10002b89
cmp dword [esp + 0x20], ebx
jne 0x10002b89
mov eax, ebx
jmp 0x10002b8c
xor eax, eax
inc eax
mov ecx, 0xffff
cmp ecx, eax
mov eax, dword [esp + 0x20]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setne cl
mov dword [esp + 0x18], ecx
mov byte [esp + 0x29], bl
cmp byte [esp + 0x29], 0
je 0x10002bb6
call fcn.100027c5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10002c8e
xor ecx, ecx
lea eax, [esp + 0x2a]
inc ecx
mov edx, 0x37e5
push eax
push ecx
push ebx
push ecx
mov dword [esp + 0x20], ecx
mov ecx, 0x5cc2
mov byte [esp + 0x3a], bl
push 0x2cfb
call fcn.10001d57
mov dword [esp + 0x24], edi
add esp, 0x14
cmp dword [esp + 0x10], 0xffffffef
jne 0x10002c4e
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
jmp 0x10002c10
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x60], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10002c00
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x68]
setne dl
xor ebx, ebx
cmp eax, edx
mov eax, dword [esp + 0x10]
push 0
setle bl
xor ecx, ecx
cmp ebx, eax
pop ebx
setge cl
mov dword [esp + 0x18], ecx
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffef
je 0x10002bf6
call fcn.10001a8d
push 0x34
pop ecx
xor edx, edx
div ecx
push 0x478b
push 0x10069edc
push ecx
push 0x481d
lea eax, [esp + 0x48]
mov dword [esp + 0x44], edx
push eax
push 1
push ecx
lea edx, [esp + 0x50]
mov ecx, 0x10069eac
call fcn.10001b0e
add esp, 0x1c
dec esi
jne 0x10002bc1
mov dword [esp + 0x18], 0x5727
cmp dword [esp + 0x18], 0x59c9
jle 0x10002d19
mov esi, ebx
mov edi, ebx
mov eax, ebx
mov dword [esp + 0x14], ebx
mov ecx, ebx
mov dword [esp + 0x24], ebx
add eax, ecx
lea ecx, [edi + esi]
or eax, ecx
lea ecx, [esp + 0x88]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10002cd0
mov eax, dword [eax]
push eax
call fcn.100379e3
pop ecx
push ebx
push 1
lea ecx, [esp + 0x90]
call fcn.1000384d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, 0x7ced
jl 0x10002cb0
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x30f2
jl 0x10002caa
inc edi
cmp edi, 0x593a
jl 0x10002ca4
inc esi
cmp esi, 0xf6f
jl 0x10002ca2
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x10002d30
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.10003891
mov dword [esp + 0x2c], 0x4377
cmp dword [esp + 0x2c], 0x4391
jle 0x10002dde
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], 0x2880
mov edi, ebx
mov eax, ebx
mov dword [esp + 0x14], 0x56ca
mov dword [esp + 0x24], eax
xor eax, esi
lea ecx, [esp + 0xb8]
cdq
push edx
push eax
call fcn.10001a55
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10002d8a
mov eax, dword [eax]
push eax
call fcn.100379e3
pop ecx
push ebx
push 1
lea ecx, [esp + 0xc0]
call fcn.1000384d
mov eax, dword [esp + 0x24]
add eax, edi
dec dword [esp + 0x14]
mov dword [esp + 0x24], eax
jne 0x10002d6f
inc edi
cmp edi, 0x2505
jl 0x10002d61
dec esi
dec dword [esp + 0x20]
jne 0x10002d5f
mov esi, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x1c], esi
cmp esi, 0x1ae2
jl 0x10002d53
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.100039bf
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret