Function at 0x10032d49
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ea67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10032f82
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], 0x41d2
mov dword [ebp - 0x38], 0x1000a6c4
cmp dword [ebp - 0x20], 0x447f
jle 0x10032e43
push 0xa04
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
and dword [ebp - 0x18], 0
jmp 0x10032dc9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7940
jge 0x10032e2c
and dword [ebp - 0x1c], 0
jmp 0x10032ddf
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3802
jge 0x10032e2a
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.1000d3ae
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.10011b30
push eax
call fcn.100489bf
pop ecx
lea ecx, [ebp - 0x90]
call fcn.10011b26
jmp 0x10032dd8
jmp 0x10032dc2
push 0x1d50
push 0
push 0x7c7
push 0x1130
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x4100
jge 0x10032e5f
push dword [ebp - 0x38]
call fcn.100489bf
pop ecx
jmp 0x10032e7b
or dword [ebp - 4], 0xffffffff
jmp 0x10032e85
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10032e9e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x10032f80
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xfffffffa
jmp 0x10032ee4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x1d
jg 0x10032f80
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10032f21
push 3
mov ecx, dword [ebp - 0x64]
call fcn.10011e16
mov dword [eax], 0x6076fda0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x6076fda0
jg 0x10032f21
and dword [ebp - 0x24], 0
jmp 0x10032f28
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0xfffffffb
jl 0x10032f37
mov dword [ebp - 0x28], 1
jmp 0x10032f3b
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
add eax, 7
cmp eax, 0xffff
jb 0x10032f51
mov dword [ebp - 0x2c], 1
jmp 0x10032f55
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jge 0x10032f6f
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x10032f6f
mov dword [ebp - 0x30], 1
jmp 0x10032f73
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x10032ed9
jmp 0x10032f94
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
push 1
call fcn.100217ae
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret