Function at 0x4b3d60
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x5de55e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov edi, dword [esp + 0x104]
mov ebx, dword [esp + 0xfc]
xor ebp, ebp
mov dword [esp + 0xf4], ebp
mov esi, ebx
mov dword [esp + 0x48], ebp
call fcn.004383a0
mov dword [esp + 0xf4], ebp
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
mov edx, eax
and eax, ecx
mov esi, ecx
mov dword [esp + 0x48], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
cmp eax, 0xffffffff
jne 0x4b3e12
mov ecx, dword [esp + 0x100]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4b447c
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
cmp esi, ebp
ja 0x4b3e1e
cmp edx, ebp
jbe 0x4b447c
cmp esi, 0xffffffff
ja 0x4b447c
jb 0x4b3e32
cmp edx, 0xffffffff
jae 0x4b447c
mov eax, dword [edi]
cmp dword [eax], ebp
je 0x4b3e41
cmp dword [eax + 4], ebp
jne 0x4b3edf
cmp esi, ebp
jb 0x4b3e5a
ja 0x4b3e4f
cmp edx, 0x10000
jbe 0x4b3e5a
mov ecx, 0x10000
mov dword [esp + 0x28], ebp
jmp 0x4b3e60
mov ecx, edx
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x100]
push ebp
push ebp
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00498670
add esp, 0x10
mov ebx, eax
mov dword [esp + 0xf4], 2
mov esi, dword [edi]
add dword [esi + 8], 0xffffffff
jne 0x4b3e9a
xor edi, edi
call fcn.0043b870
mov edi, dword [esp + 0x104]
mov eax, dword [ebx]
inc dword [eax + 8]
mov dword [edi], eax
mov byte [esp + 0xf4], 0
mov eax, dword [esp + 0x1c]
dec dword [eax + 8]
mov esi, eax
add eax, 8
cmp dword [eax], ebp
jne 0x4b3ed8
xor edi, edi
call fcn.0043b870
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0059392f
mov edi, dword [esp + 0x108]
add esp, 4
mov dword [esp + 0x1c], ebp
mov ebx, dword [esp + 0xfc]
mov eax, dword [edi]
cmp dword [eax], ebp
je 0x4b447c
cmp dword [eax + 4], ebp
je 0x4b447c
or ecx, 0xffffffff
push ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x4c], 1
mov byte [esp + 0x2b], 0
call fcn.0049b090
mov dword [esp + 0xf4], 3
lea esi, [esp + 0x64]
call fcn.0049b160
cmp eax, 1
jne 0x4b42b7
mov eax, dword [esp + 0xa4]
cmp eax, 1
jne 0x4b3f51
mov eax, dword [esp + 0x108]
mov dword [eax], 1
jmp 0x4b3f5f
cmp eax, 2
jne 0x4b3f5f
mov ecx, dword [esp + 0x108]
mov dword [ecx], eax
cmp dword [esp + 0xa0], 0
mov dword [esp + 0x1c], 0
jbe 0x4b42b7
mov edi, dword [esp + 0x100]
xor ebp, ebp
mov edi, edi
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x4b3f96
xor esi, esi
mov byte [esp + 0x23], 0
xor bl, bl
jmp 0x4b4009
mov edx, dword [esp + 0x84]
mov edx, dword [edx + 0x10]
mov esi, dword [ecx + ebp + 0x10]
cmp edx, dword [ecx + ebp + 0xc]
lea eax, [ecx + ebp]
je 0x4b3fd1
mov ecx, dword [0x6ebf84]
mov edx, dword [ecx - 0xc]
push edx
push ecx
push eax
call fcn.00598b64
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov byte [esp + 0x23], 0
test eax, eax
jne 0x4b3fd6
mov byte [esp + 0x23], 1
test ecx, ecx
jne 0x4b3fde
xor bl, bl
jmp 0x4b4009
test dword [ecx + ebp + 0x24], 0x20000000
lea eax, [ecx + ebp]
jne 0x4b4007
mov ecx, dword [0x6ebf8c]
mov edx, dword [ecx - 0xc]
push edx
push ecx
push eax
call fcn.00598b64
add esp, 0xc
test eax, eax
je 0x4b4007
xor bl, bl
jmp 0x4b4009
mov bl, 1
test esi, esi
je 0x4b414f
test bl, bl
jne 0x4b401f
cmp byte [esp + 0x23], bl
je 0x4b414f
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x64]
call fcn.0049b290
test al, al
jne 0x4b414f
lea eax, [esp + 0x4c]
push eax
call fcn.0041d3b0
mov byte [esp + 0xf4], 4
cmp byte [esp + 0x23], 0
je 0x4b409c
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4b405d
or eax, 0xffffffff
jmp 0x4b4061
mov eax, dword [eax + ebp + 0x14]
push 0
push esi
push 0
push eax
lea ecx, [esp + 0xc8]
push edi
push ecx
call fcn.004b4760
add esp, 0x18
mov byte [esp + 0xf4], 5
push eax
lea edx, [esp + 0x50]
push edx
call fcn.004b5b60
mov byte [esp + 0xf4], 4
lea eax, [esp + 0xb8]
jmp 0x4b40ed
test bl, bl
je 0x4b40f3
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4b40b0
or eax, 0xffffffff
jmp 0x4b40b4
mov eax, dword [eax + ebp + 0x14]
push 0
push esi
push 0
push eax
lea ecx, [esp + 0xe0]
push edi
push ecx
call fcn.004b44a0
add esp, 0x18
mov byte [esp + 0xf4], 6
push eax
lea edx, [esp + 0x50]
push edx
call fcn.004b5b60
mov byte [esp + 0xf4], 4
lea eax, [esp + 0xd0]
push eax
call fcn.004b5ae0
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
sar eax, 2
test eax, eax
je 0x4b413d
xor esi, esi
test eax, eax
jbe 0x4b4131
cmp esi, eax
jb 0x4b4111
call fcn.0059471a
mov ecx, dword [esp + 0x58]
lea edi, [ecx + esi*4]
lea eax, [esp + 0x34]
call fcn.004bce30
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4b4111
mov edi, dword [esp + 0x100]
mov byte [esp + 0x1b], 1
mov byte [esp + 0xf4], 3
lea edx, [esp + 0x4c]
push edx
call fcn.004b5ae0
mov eax, dword [esp + 0x1c]
inc eax
add ebp, 0x28
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0xa0]
jb 0x4b3f80
cmp byte [esp + 0x1b], 0
je 0x4b42b7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xb4]
xor ebx, ebx
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
call fcn.0049b3b0
mov edi, eax
mov eax, dword [esp + 0x24]
mov ebp, edx
cmp eax, ebx
je 0x4b4239
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4b4239
xor edx, edx
lea esi, [ecx + eax]
cmp edx, dword [esp + 0x30]
ja 0x4b4239
jb 0x4b41c7
cmp esi, dword [esp + 0x2c]
ja 0x4b4239
cmp ecx, 0x100000
jb 0x4b41d4
mov ecx, 0x100000
push 0
push eax
mov eax, dword [esp + 0x108]
push eax
lea edx, [esp + 0x30]
push edx
call fcn.00498670
mov byte [esp + 0x104], 7
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004bcf50
add esp, 0x18
mov byte [esp + 0xf4], 8
mov ebx, dword [esp + 0x114]
call fcn.0040d9a0
mov byte [esp + 0xf4], 7
lea ecx, [esp + 0x1c]
call fcn.0040b720
mov byte [esp + 0xf4], 3
lea ebx, [esp + 0x24]
call fcn.004b7990
cmp ebp, dword [esp + 0x30]
ja 0x4b42ac
jb 0x4b4247
cmp edi, dword [esp + 0x2c]
jae 0x4b42ac
mov eax, dword [esp + 0x2c]
sub eax, edi
cmp eax, 0x4000
jbe 0x4b4259
mov eax, 0x4000
mov edx, dword [esp + 0x100]
push ebp
push edi
push edx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.00498670
add esp, 0x10
mov byte [esp + 0xf4], 9
lea eax, [esp + 0x1c]
call fcn.004428e0
test al, al
jne 0x4b4296
lea edi, [esp + 0x1c]
lea eax, [esp + 0x34]
call fcn.004bce30
jmp 0x4b429b
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf4], 3
lea ebx, [esp + 0x1c]
call fcn.004b7990
cmp byte [esp + 0x1b], 0
jne 0x4b4419
mov edi, dword [esp + 0x104]
lea eax, [esp + 0x34]
call fcn.004bce30
mov eax, dword [esp + 0x30]
test eax, eax
ja 0x4b434b
jb 0x4b42db
cmp dword [esp + 0x2c], 0x30000
ja 0x4b434b
test eax, eax
ja 0x4b42ed
cmp dword [esp + 0x2c], 0x10000
jbe 0x4b4419
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x2c]
push 0
push 0x10000
push edx
lea eax, [esp + 0x28]
add ecx, 0xffff0000
push eax
call fcn.00498670
add esp, 0x10
mov byte [esp + 0xf4], 0xa
lea eax, [esp + 0x1c]
call fcn.004428e0
test al, al
jne 0x4b433a
lea edi, [esp + 0x1c]
lea eax, [esp + 0x34]
call fcn.004bce30
mov byte [esp + 0x1b], 1
mov byte [esp + 0xf4], 3
lea ebx, [esp + 0x1c]
jmp 0x4b440d
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x100]
mov ecx, esi
mov edx, ebp
shrd ecx, edx, 1
shr edx, 1
add ecx, 0xffff8000
adc edx, 0xffffffff
push edx
push ecx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x10000
call fcn.00498670
add esp, 0x10
mov bl, 0xb
mov byte [esp + 0xf4], bl
lea eax, [esp + 0x24]
call fcn.004428e0
test al, al
jne 0x4b4401
lea edi, [esp + 0x24]
lea eax, [esp + 0x34]
call fcn.004bce30
mov edx, dword [esp + 0x100]
add esi, 0xffff0000
adc ebp, 0xffffffff
push ebp
push esi
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, 0x10000
call fcn.00498670
add esp, 0x10
mov byte [esp + 0xf4], 0xc
lea eax, [esp + 0x1c]
call fcn.004428e0
test al, al
jne 0x4b43f1
lea edi, [esp + 0x1c]
lea eax, [esp + 0x34]
call fcn.004bce30
mov byte [esp + 0x1b], 1
mov byte [esp + 0xf4], bl
lea ebx, [esp + 0x1c]
call fcn.004b7990
mov byte [esp + 0xf4], 3
lea ebx, [esp + 0x24]
call fcn.004b7990
cmp byte [esp + 0x1b], 0
je 0x4b4461
cmp byte [esp + 0x3c], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
not eax
not ecx
jne 0x4b4461
push ecx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004b58c0
add esp, 0xc
mov byte [esp + 0xf4], 0xd
mov ebx, dword [esp + 0xfc]
push eax
call fcn.004b3700
mov byte [esp + 0xf4], 3
lea ebx, [esp + 0x24]
call fcn.004b7990
mov byte [esp + 0xf4], 0
lea edx, [esp + 0x64]
push edx
call fcn.0049b110
mov eax, dword [esp + 0xfc]
jmp 0x4b447e
mov eax, ebx
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret