Function at 0x44308b
Capabilities:
Get file size

Disassembly:
push 0x98
mov eax, 0x489f8f
call fcn.0048485f
mov dword [ebp - 0x3c], edx
mov eax, ecx
mov dword [ebp - 0x38], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x78
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 4], ebx
call fcn.00482f97
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4430d3
push ecx
mov ecx, eax
call fcn.0044744b
mov dword [ebp - 0x34], eax
jmp 0x4430d8
mov eax, ebx
mov dword [ebp - 0x34], ebx
mov esi, eax
mov dword [ebp - 0x5c], esi
mov ecx, dword [ebp - 0x38]
push 2
pop eax
mov byte [ebp - 4], al
test ecx, ecx
jne 0x443105
mov dword [ebp - 0x90], 0x810002
lea eax, [ebp - 0x90]
push 0x495c1c
push eax
call sub.msvcrt.dll__CxxThrowException
test edi, edi
je 0x443634
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x443634
cmp dword [edx + 8], 5
jne 0x44354a
cmp dword [edx], 0
je 0x44353a
mov edi, dword [edx]
cmp word [edi], bx
mov edi, dword [ebp - 0x58]
je 0x44353a
cmp dword [edx + 4], ebx
je 0x44314f
mov dword [ebp - 0x80], 5
lea eax, [ebp - 0x80]
push 0x495cc8
jmp 0x4430ff
cmp dword [ecx + 0x758], 0
mov dword [ebp - 0x40], ebx
jle 0x44316c
mov dword [ebp - 0x68], 5
lea eax, [ebp - 0x68]
push 0x495cc8
jmp 0x4430ff
movzx eax, word [edx + 0xc]
add ecx, 0x4b8
mov dword [ebp - 0x4c], ecx
cmp eax, 0xffffffff
jne 0x443181
push 9
pop eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x438], eax
mov byte [ecx + 0x219], 1
lea ecx, [ebp - 0x30]
push dword [edx]
call fcn.0041a8b2
push ecx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.00442af9
push ebx
push 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
call fcn.0041b746
cmp dword [ebp - 0x40], 0
jne 0x44334f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax]
push dword [ecx]
mov esi, dword [eax + 0x84]
mov ecx, esi
call dword [0x49943c]
mov ecx, dword [ebp - 0x34]
call esi
test al, al
je 0x443332
mov eax, dword [ebp - 0x3c]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44322f
push 3
mov edx, 0x92
pop ecx
call fcn.004429cf
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push 0x495cb8
jmp 0x4430ff
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x443308
cmp dword [ebp - 0x44], 0
jne 0x443308
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x48]
mov ecx, dword [eax + 0x48]
movzx eax, byte [esi + ecx - 1]
shl ax, 8
movzx edx, ax
movzx eax, byte [esi + ecx - 2]
or edx, eax
movzx eax, byte [esi + ecx - 3]
shl ax, 8
movzx eax, ax
shl edx, 0x10
or edx, eax
movzx eax, byte [esi + ecx - 4]
or edx, eax
mov eax, esi
sub eax, edx
add ecx, edx
sub eax, 4
cmp edx, esi
jb 0x4432b1
push 3
mov edx, 0x92
pop ecx
call fcn.004429cf
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push 0x495cb8
jmp 0x4430ff
push eax
mov byte [ebp - 4], 0xd
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00451881
mov eax, dword [ebp - 0x34]
mov esi, ebx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 2
add ecx, 0x754
mov dword [edi + 4], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x5c], esi
call fcn.00444eab
jmp 0x4434d7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 3
mov edx, 0x92
pop ecx
call fcn.004429cf
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push 0x495cb8
jmp 0x4430ff
push 3
mov edx, 0x92
pop ecx
call fcn.004429cf
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push 0x495cb8
jmp 0x4430ff
push 0x34
mov byte [ebp - 4], 4
call fcn.00482f97
mov edi, eax
pop ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x44339f
or dword [edi + 0xc], 0xffffffff
lea ecx, [edi + 0x14]
mov dword [edi], 0x404064
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
call fcn.00446eb3
xor eax, eax
mov dword [edi + 0x24], 1
mov byte [edi + 0x28], bl
mov dword [edi + 0x2c], 7
mov word [edi + 0x30], ax
jmp 0x4433a4
mov edi, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 6
mov eax, dword [edi]
push ebx
push dword [ebp - 0x40]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x49943c]
mov ecx, dword [ebp - 0x34]
call edi
test eax, eax
jne 0x4433eb
push 3
mov edx, 0x86
mov dword [ebp - 0x40], ebx
pop ecx
call fcn.004429cf
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
push 0x495cb8
jmp 0x4430ff
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x49943c]
mov ecx, dword [ebp - 0x34]
call edi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x49943c]
mov ecx, dword [ebp - 0x34]
call edi
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00451881
mov ecx, dword [ebp - 0x34]
push ecx
mov eax, dword [ecx]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x49943c]
call edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], 0x403f88
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
call fcn.00444fb7
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x443483
mov edi, dword [eax]
lea ecx, [ebp - 0x2c]
cmp eax, ecx
setne al
mov ecx, dword [edi + 0xc]
movzx eax, al
push eax
call dword [0x49943c]
mov ecx, dword [ebp - 0x1c]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x4c]
push eax
add ecx, 0x754
mov byte [ebp - 4], 8
call fcn.00444eab
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
call fcn.004447bf
jmp 0x4434d0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x8f0]
mov word [edi + 0x14], ax
mov eax, dword [edi]
mov dword [edi + 0x10], 1
test eax, eax
je 0x443616
cmp dword [edi + 8], ebx
jbe 0x443616
xor ecx, ecx
mov word [eax], cx
jmp 0x443616
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push 0x495cc8
jmp 0x4430ff
cmp dword [edx + 8], 3
je 0x443566
cmp dword [edx + 8], 4
je 0x443566
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push 0x495cc8
jmp 0x4430ff
push 0x24
call fcn.00482f97
pop ecx
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x44358e
push ecx
mov ecx, dword [ebp - 0x3c]
push dword [ecx + 8]
mov ecx, eax
call fcn.004490bc
mov ecx, eax
mov dword [ebp - 0x3c], ecx
jmp 0x443593
mov ecx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [edi + 8]
mov eax, dword [edi]
test edx, edx
je 0x4435c1
test eax, eax
jne 0x4435c5
mov dword [ebp - 0x84], 2
lea eax, [ebp - 0x84]
push 0x495cc8
jmp 0x4430ff
test eax, eax
je 0x4435ce
test edx, edx
je 0x4435ce
xor edx, edx
mov word [eax], dx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], ebx
mov eax, dword [ecx + 0x1c]
mov al, byte [eax + 0x26]
movzx eax, al
mov dword [edi + 0x10], eax
mov eax, dword [ecx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x49943c]
mov ecx, dword [ebp - 0x3c]
call edi
mov ecx, eax
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x58]
mov word [eax + 0x14], cx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ecx + 0x764]
call fcn.00444eab
mov byte [ebp - 4], bl
test esi, esi
je 0x443630
mov eax, dword [esi]
push 1
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x49943c]
mov ecx, esi
call edi
xor eax, eax
jmp 0x443669
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push 0x495cc8
jmp 0x4430ff
call fcn.0048479d
ret 4