Function at 0x4b3980
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x588e74]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x1c]
or esi, 0xffffffff
mov dword [ebp - 0x18], eax
mov edi, 0x80000000
mov eax, dword [ebp + 0x18]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x6c], eax
xor al, al
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], edx
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4f], al
mov byte [ebp - 0x61], al
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x54], al
mov dword [ebp - 0x58], 0
cmp dword [ebp + 8], 1
mov dword [ebp - 4], 0
je 0x4b3c30
mov eax, dword [ebp + 0x10]
cmp eax, 0xc
jb 0x4b3f11
cmp dword [ebp + 8], 0
jne 0x4b3a37
push dword [ebp - 0x18]
push edx
push eax
push ecx
lea eax, [ebp - 0x60]
push eax
call fcn.004b2850
add esp, 0x14
jmp 0x4b3b86
xor edi, edi
cmp dword [ebp + 8], 2
jne 0x4b3dc5
xor al, al
movlpd qword [ebp - 0x48], xmm0
mov byte [ebp - 0x4d], al
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
test al, al
jne 0x4b3b7a
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], al
mov dword [ebp - 0x2c], 0
push edx
push 0xc0000000
push dword [ecx]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
push 0
call fcn.004b37a0
mov eax, dword [ebp - 0x30]
cmp esi, 0xffffffff
mov edx, dword [ebp - 0x5c]
mov edi, esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dl, byte [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x28]
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x28], dl
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 7
je 0x4b3acc
push edi
call dword [0x582078]
mov dword [ebp - 0x34], 0xffffffff
push dword [ebp - 0x78]
call fcn.005163cb
add esp, 4
mov byte [ebp - 0x4e], 1
mov byte [ebp - 0x4d], 1
jmp 0x4b3b5d
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.004b7c30
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x74]
jmp 0x4b3a53
xor edi, edi
cmp byte [ebp - 0x4e], 0
je 0x4b3dc5
push 0
push dword [ebp + 0x10]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.004b7b10
push 0xffffffffffffffff
push dword [ebp - 0x6c]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x3c], 0
push 0
push 0
push 0
push 0xc0000000
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
push eax
movups xmmword [ebp - 0x4c], xmm0
call fcn.004b2080
mov esi, dword [ebp - 0x4c]
mov ecx, 1
mov byte [ebp - 4], 0xc
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x4b3c13
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x20]
add edx, 8
sub eax, 0
je 0x4b3bef
sub eax, 1
je 0x4b3bf8
sub eax, 1
jne 0x4b3bf8
test edx, edx
je 0x4b3bf8
mov eax, dword [ebp + 0x24]
xchg dword [edx], eax
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x4c]
push eax
call fcn.004b7a20
mov eax, 2
xchg dword [esi], eax
lea ecx, [ebp - 0x4c]
jmp 0x4b3e9d
cmp eax, 1
je 0x4b3f75
cmp eax, 2
je 0x4b3f75
jmp 0x4b3f4c
mov eax, dword [ebp + 0x14]
cmp eax, 0xc0000000
jne 0x4b3cab
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xc0000000
push dword [ecx]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], 0
push 1
call fcn.004b37a0
mov eax, dword [ebp - 0x30]
cmp esi, 0xffffffff
mov dword [ebp - 0x5c], eax
mov edx, esi
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x28]
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 2
je 0x4b3c9a
push edx
call dword [0x582078]
push 0
call fcn.005163cb
add esp, 4
xor edi, edi
jmp 0x4b3dc1
cmp eax, 0x80000000
jne 0x4b3d3d
push eax
push dword [ecx]
movzx eax, byte [0x598f18]
lea ecx, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.004b4ba0
mov eax, dword [ebp - 0x24]
mov edx, esi
mov dword [ebp - 0x24], esi
xor ecx, ecx
mov esi, eax
mov byte [ebp - 0x4f], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x18]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 3
cmp edx, 0xffffffff
je 0x4b3d2d
push edx
call dword [0x582078]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x24], 0xffffffff
je 0x4b3d2a
push dword [ebp - 0x1c]
call fcn.005163cb
add esp, 4
xor edi, edi
jmp 0x4b3dc1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005163cb
add esp, 4
xor edi, edi
jmp 0x4b3dc1
xor edi, edi
cmp eax, 0xc0000001
jne 0x4b3dc5
movzx eax, byte [0x598f18]
push 0x80000000
push dword [ecx]
lea ecx, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.004b4ba0
mov eax, dword [ebp - 0x24]
mov edi, esi
mov edx, dword [ebp - 0x5c]
xor ecx, ecx
mov dword [ebp - 0x24], esi
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov al, byte [ebp - 0x18]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 4
cmp edi, 0xffffffff
je 0x4b3db3
push edi
call dword [0x582078]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x24], 0xffffffff
je 0x4b3db0
push dword [ebp - 0x1c]
jmp 0x4b3db4
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005163cb
add esp, 4
mov edi, 1
mov byte [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [0x582064]
test eax, eax
je 0x4b3ee1
lea ecx, [ebp - 0x48]
call fcn.004b7c30
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x18]
or eax, ecx
je 0x4b3de0
cmp edx, 1
jne 0x4b3e14
test ecx, ecx
je 0x4b3fc8
cmp byte [ebp - 0x4f], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
je 0x4b3e2f
mov edi, 0x80000000
jmp 0x4b3e35
add edi, 0xc0000000
push 0xffffffffffffffff
push dword [ebp - 0x6c]
lea eax, [ebp - 0x60]
push 0
push 0
push 0
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.004b2080
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], 0
nop dword [eax]
cmp eax, 1
je 0x4b3e79
test eax, eax
jne 0x4b3e85
lea ecx, [ebp - 0x48]
call fcn.004b7c30
mov eax, dword [esi]
jmp 0x4b3e70
cmp eax, 2
jne 0x4b3ff1
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x38]
push eax
call fcn.004b7a20
lea ecx, [ebp - 0x38]
call fcn.004b5330
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], 0x13
cmp eax, 0xffffffff
je 0x4b3eb8
push eax
call dword [0x582078]
push dword [ebp - 0x58]
call fcn.005163cb
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005168d0
mov esp, ebp
pop ebp
ret 0x20
call fcn.004b6db0
push eax
lea ecx, [ebp - 0x7c]
call fcn.004b46b0
push 0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.004b4790
push 0x57ae68
lea eax, [ebp - 0x18c]
push eax
call fcn.0052e4a7
push 0
push 0x12
lea ecx, [ebp - 0x1c]
call fcn.004b46f0
push eax
lea ecx, [ebp - 0xb0]
call fcn.004b4790
push 0x57ae68
lea eax, [ebp - 0xb0]
push eax
call fcn.0052e4a7
push 0
push 0
call fcn.0052e4a7
push 0
push 0
call fcn.0052e4a7
push 0
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.004b46f0
push eax
lea ecx, [ebp - 0xdc]
call fcn.004b4790
push 0x57ae68
lea eax, [ebp - 0xdc]
push eax
call fcn.0052e4a7
push 0
push 9
lea ecx, [ebp - 0x1c]
call fcn.004b46f0
push eax
lea ecx, [ebp - 0x108]
call fcn.004b4790
push 0x57ae68
lea eax, [ebp - 0x108]
push eax
call fcn.0052e4a7
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x60]
push dword [ebp - 0x18]
mov byte [ebp - 4], 0x10
push 0
push 1
push eax
call fcn.004b40f0
add esp, 0x10
push 0
push 0
mov dword [ebp - 4], 0xf
call fcn.0052e4a7
push 0
push 0x13
lea ecx, [ebp - 0x7c]
call fcn.004b46f0
push eax
lea ecx, [ebp - 0x134]
call fcn.004b4790
push 0x57ae68
lea eax, [ebp - 0x134]
push eax
call fcn.0052e4a7
push 0
push 0x13
lea ecx, [ebp - 0x1c]
call fcn.004b46f0
push eax
lea ecx, [ebp - 0x160]
call fcn.004b4790
push 0x57ae68
lea eax, [ebp - 0x160]
push eax
call fcn.0052e4a7
int3