Function at 0x10030a47
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10030bcd
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10030ab4
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
and dword [eax], 0
jmp 0x10030bc8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 0x7f30
mov dword [ebp - 0x8c], 0x1000a690
cmp dword [ebp - 0x30], 0x803b
jle 0x10030b50
and dword [ebp - 0x28], 0
jmp 0x10030af0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x5690
jge 0x10030b50
and dword [ebp - 0x20], 0
jmp 0x10030b06
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5e41
jge 0x10030b4e
mov eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0xa8]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0xa8]
call fcn.1001b16c
jmp 0x10030aff
jmp 0x10030ae9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x7bfa
jge 0x10030b6f
push dword [ebp - 0x8c]
call fcn.1004f7a6
pop ecx
jmp 0x10030b8b
or dword [ebp - 4], 0xffffffff
jmp 0x10030b95
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10030bab
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], 2
jge 0x10030bc8
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.1001b465
mov dword [eax], 0x7304677
jmp 0x10030ba0
jmp 0x10030d3f
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0x78b5
mov dword [ebp - 0x40], 0x1000a6d0
cmp dword [ebp - 0x34], 0x7a7d
jle 0x10030ccf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 0x24], 0
jmp 0x10030c1d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6b1b
jge 0x10030ccf
and dword [ebp - 0x1c], 0
jmp 0x10030c37
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xc6b
jge 0x10030cca
and dword [ebp - 0x2c], 0
jmp 0x10030c51
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5b46
jge 0x10030cc5
and dword [ebp - 0x18], 0
jmp 0x10030c67
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6ec3
jge 0x10030cc3
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sar eax, cl
and eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
lea ecx, [ebp - 0xc0]
call fcn.1000defa
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.1001b176
push eax
call fcn.1004f7a6
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.1001b16c
jmp 0x10030c60
jmp 0x10030c4a
jmp 0x10030c30
jmp 0x10030c16
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x780c
jge 0x10030cee
push dword [ebp - 0x40]
call fcn.1004f7a6
pop ecx
jmp 0x10030d0a
or dword [ebp - 4], 0xffffffff
jmp 0x10030d14
push 0
push dword [ebp - 0x48]
push 0x6762
push 0x6eaf
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push 0x122d
call fcn.1002e768
add esp, 0x28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret