Function at 0x531d00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6079d4
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x631220]
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 - 0xf0], eax
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf4], eax
xor al, al
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x104], edi
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 0xe7], 0
mov byte [ebp - 0xe8], al
mov byte [ebp - 0xea], al
mov byte [ebp - 0xe6], al
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x38], 0x80000000
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp eax, 1
je 0x5320a7
mov esi, dword [ebp + 0x10]
cmp esi, 0xc
jae 0x531df2
push 0
lea eax, [ebp - 0x100]
mov dword [ebp - 0x100], 0
push eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 0xfc], 0x12
call fcn.00532800
push 0x61a49c
lea eax, [ebp - 0x184]
push eax
call fcn.005e0491
test eax, eax
jne 0x531e0d
push dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
push ecx
push esi
push edi
push eax
call fcn.005318f0
add esp, 0x14
jmp 0x531f6b
cmp eax, 2
jne 0x53219b
xor al, al
movlpd qword [ebp - 0x140], xmm0
mov byte [ebp - 0xe5], al
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
lea ebx, [ebx]
test al, al
jne 0x531f5e
push dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push ecx
push esi
push edi
push eax
call fcn.005318f0
add esp, 0x14
mov byte [ebp - 0xe7], 1
mov byte [ebp - 0xe5], 1
jmp 0x531f3b
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0
call fcn.00537770
mov al, byte [ebp - 0xe5]
mov ecx, dword [ebp - 0xfc]
jmp 0x531e40
cmp byte [ebp - 0xe7], 0
je 0x53219b
push 0
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
call fcn.005371d0
push 0xffffffffffffffff
push dword [ebp - 0xf4]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push 0
push 0
push 0xc0000000
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
push eax
movdqu xmmword [ebp - 0x50], xmm0
call fcn.00531070
mov esi, dword [ebp - 0x50]
mov ecx, 1
mov byte [ebp - 4], 0xa
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x532002
mov eax, dword [ebp + 0x20]
sub eax, 0
je 0x531fcc
dec eax
je 0x531fd9
dec eax
jne 0x531fd9
mov edx, dword [ebp - 0x50]
add edx, 8
je 0x531fd9
mov eax, dword [ebp + 0x24]
xchg dword [edx], eax
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0x50]
push eax
call fcn.00536fa0
mov dword [ebp - 4], 0xa
mov eax, 2
xchg dword [esi], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
jmp 0x53230c
cmp eax, 1
je 0x532045
cmp eax, 2
je 0x532045
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 0
push eax
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x104], 0x13
call fcn.00532800
push 0x61a49c
lea eax, [ebp - 0x1dc]
push eax
call fcn.005e0491
push 0
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0
push eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0xf4], 9
call fcn.00532800
push 0x61a49c
lea eax, [ebp - 0x234]
push eax
call fcn.005e0491
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x3c]
push 0
push 1
mov byte [ebp - 4], 0xe
call fcn.005371d0
push 0
push 0
mov dword [ebp - 4], 0xd
call fcn.005e0491
mov eax, 0x532091
ret
mov eax, dword [ebp + 0x14]
cmp eax, 0xc0000000
jne 0x5320f5
push eax
push dword [edi]
movzx eax, byte [0x6379ed]
lea ecx, [ebp - 0xa4]
push eax
movdqu xmmword [ebp - 0xa4], xmm0
movdqu xmmword [ebp - 0x94], xmm0
call fcn.00532b20
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa4]
call fcn.00536ff0
lea ecx, [ebp - 0xa4]
jmp 0x532192
cmp eax, 0x80000000
jne 0x532141
push eax
push dword [edi]
movzx eax, byte [0x6379ed]
lea ecx, [ebp - 0x84]
push eax
movdqu xmmword [ebp - 0x84], xmm0
movdqu xmmword [ebp - 0x74], xmm0
call fcn.00532b20
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x84]
call fcn.00536ff0
mov byte [ebp - 0xe8], 1
lea ecx, [ebp - 0x84]
jmp 0x532192
cmp eax, 0xc0000001
jne 0x53219b
movzx eax, byte [0x6379ed]
lea ecx, [ebp - 0xe4]
push 0x80000000
push dword [edi]
movdqu xmmword [ebp - 0xe4], xmm0
push eax
movdqu xmmword [ebp - 0xd4], xmm0
call fcn.00532b20
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xe4]
call fcn.00536ff0
mov byte [ebp - 0xe6], 1
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0
call fcn.00533220
mov esi, dword [0x6290a4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x154], xmm0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x3c]
call esi
test eax, eax
je 0x53233e
lea ecx, [ebp - 0x154]
call fcn.00537770
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x18]
or eax, ecx
je 0x5321c5
cmp edx, 1
jne 0x53222a
test ecx, ecx
jne 0x53222a
push ecx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], ecx
push eax
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x114], 0x13
call fcn.00532800
push 0x61a49c
lea eax, [ebp - 0x1b0]
push eax
call fcn.005e0491
cmp byte [ebp - 0xe8], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
je 0x532249
mov eax, 0x80000000
jmp 0x532259
xor eax, eax
cmp byte [ebp - 0xe6], al
setne al
add eax, 0xc0000000
push 0xffffffffffffffff
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x64]
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00531070
mov esi, dword [ebp - 0x64]
mov byte [ebp - 4], 0x10
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
movlpd qword [ebp - 0x130], xmm0
mov dword [ebp - 0x124], 0
lea esp, [esp]
cmp eax, 1
je 0x5322a9
test eax, eax
jne 0x5322b8
lea ecx, [ebp - 0x130]
call fcn.00537770
mov eax, dword [esi]
jmp 0x5322a0
cmp eax, 2
je 0x5322f6
push 0
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x10c], 0x13
call fcn.00532800
push 0x61a49c
lea eax, [ebp - 0x208]
push eax
call fcn.005e0491
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0x64]
push eax
call fcn.00536fa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.005331c0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00533220
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.005e0482
mov esp, ebp
pop ebp
ret 0x20
call dword [0x629230]
push eax
lea ecx, [ebp - 0x120]
call fcn.005327c0
push 0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x260]
call fcn.00532800
push 0x61a49c
lea eax, [ebp - 0x260]
push eax
call fcn.005e0491
int3