Function at 0x446ae1
Capabilities:
Get file size

Disassembly:
push 0x254
mov eax, 0x5c0128
call fcn.005893a6
mov eax, ecx
mov dword [ebp - 0x1d0], eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
or dword [ebp - 0x34], 0xffffffff
mov edi, SysReAllocStringLen
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1dc], eax
mov al, bl
mov dword [ebp - 0x1d4], esi
mov byte [ebp - 0x1be], bl
mov byte [ebp - 0x1c0], al
mov byte [ebp - 0x1bf], al
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 8], 1
mov dword [ebp - 4], ebx
je 0x446e29
push dword [ebp + 0x20]
push dword [ebp + 0x24]
call fcn.0044d8d1
sub eax, 8
pop ecx
pop ecx
cmp eax, 0xfffffff7
ja 0x446df6
mov edi, dword [ebp + 0x10]
add eax, 8
cmp edi, eax
jb 0x446df6
cmp dword [ebp + 8], ebx
jne 0x446ba3
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x34]
push dword [ebp - 0x1dc]
push edi
push esi
push eax
call fcn.00446349
add esp, 0x14
push 2
pop esi
jmp 0x446cce
push 2
pop esi
cmp dword [ebp + 8], esi
jne 0x446dec
mov al, bl
mov dword [ebp - 0x224], ebx
xorps xmm0, xmm0
mov byte [ebp - 0x1bd], al
movlpd qword [ebp - 0x22c], xmm0
mov dword [ebp - 0x220], ebx
test al, al
jne 0x446cc0
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push dword [ebp - 0x1dc]
push edi
push dword [ebp - 0x1d4]
push eax
call fcn.00446349
add esp, 0x14
mov byte [ebp - 0x1be], 1
mov byte [ebp - 0x1bd], 1
jmp 0x446ca7
call fcn.005906af
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x54]
push 0xc0000000
mov byte [ebp - 4], 3
push dword [eax]
movzx eax, byte [0x63a459]
push eax
call fcn.0044942b
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x34]
call fcn.0044fd28
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x1be], 0
mov byte [ebp - 0x1bd], 1
call fcn.00449ba3
mov eax, 0x446c7f
ret
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], ebx
call fcn.00450443
mov al, byte [ebp - 0x1bd]
jmp 0x446bce
mov al, byte [ebp - 0x1be]
test al, al
je 0x446dec
push ebx
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0044ffc9
push 0xffffffffffffffff
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x34]
push ebx
push ebx
push ebx
push 0xc0000000
push eax
lea ecx, [ebp - 0x260]
call fcn.00445637
mov edx, dword [ebp - 0x260]
xor ecx, ecx
mov byte [ebp - 4], 6
inc ecx
mov dword [ebp - 0x1c8], edx
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x446d55
push 1
lea eax, [edi - 8]
push eax
mov eax, dword [ebp - 0x260]
lea ecx, [ebp + 0x20]
add eax, 8
push eax
call fcn.0044a308
mov ecx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x260]
push eax
call fcn.0044fce0
mov eax, dword [ebp - 0x1c8]
xchg dword [eax], esi
lea ecx, [ebp - 0x260]
jmp 0x447045
cmp eax, 1
je 0x446d92
cmp eax, esi
je 0x446d92
push ebx
lea eax, [ebp - 0x1e8]
mov dword [ebp - 0x1e8], ebx
push eax
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x1e4], 0x13
call fcn.00449152
push 0x61f954
lea eax, [ebp - 0xe0]
push eax
jmp 0x446c1f
push ebx
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], ebx
push eax
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x1dc], 9
call fcn.00449152
push 0x61f954
lea eax, [ebp - 0x10c]
jmp 0x446d8c
mov edi, SysReAllocStringLen
jmp 0x446ed6
push ebx
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], ebx
push eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x1d4], 0x12
call fcn.00449152
push 0x61f954
lea eax, [ebp - 0x138]
jmp 0x446d8c
cmp dword [ebp + 0x14], 0xc0000000
jne 0x446e5a
movzx eax, byte [0x63a459]
lea ecx, [ebp - 0x74]
push 0xc0000000
push dword [esi]
push eax
call fcn.0044942b
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x74]
call fcn.0044fd28
lea ecx, [ebp - 0x74]
jmp 0x446ece
cmp dword [ebp + 0x14], edi
jne 0x446e93
movzx eax, byte [0x63a459]
lea ecx, [ebp - 0x94]
push edi
push dword [esi]
push eax
call fcn.0044942b
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x94]
call fcn.0044fd28
mov byte [ebp - 0x1c0], 1
lea ecx, [ebp - 0x94]
jmp 0x446ece
cmp dword [ebp + 0x14], 0xc0000001
jne 0x446ed3
movzx eax, byte [0x63a459]
lea ecx, [ebp - 0xb4]
push edi
push dword [esi]
push eax
call fcn.0044942b
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0044fd28
mov byte [ebp - 0x1bf], 1
lea ecx, [ebp - 0xb4]
call fcn.00449ba3
push 2
pop esi
xorps xmm0, xmm0
mov dword [ebp - 0x234], ebx
movlpd qword [ebp - 0x1cc], xmm0
movlpd qword [ebp - 0x23c], xmm0
mov dword [ebp - 0x230], ebx
lea eax, [ebp - 0x1cc]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x44705a
lea ecx, [ebp - 0x23c]
call fcn.00450443
mov eax, dword [ebp - 0x1cc]
or eax, dword [ebp - 0x1c8]
je 0x446ef5
cmp dword [ebp - 0x1cc], 1
jne 0x446f6a
cmp dword [ebp - 0x1c8], ebx
jne 0x446f6a
push ebx
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], ebx
push eax
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x1ec], 0x13
call fcn.00449152
push 0x61f954
lea eax, [ebp - 0x164]
jmp 0x446d8c
xor eax, eax
lea ecx, [ebp - 0x214]
cmp byte [ebp - 0x1bf], al
push 0xffffffffffffffff
push dword [ebp - 0x1e4]
setne al
push ebx
add eax, 0xc0000000
cmp byte [ebp - 0x1c0], 0
push ebx
push ebx
cmovne eax, edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00445637
mov edi, dword [ebp - 0x214]
mov byte [ebp - 4], 0xc
mov eax, dword [edi]
xorps xmm0, xmm0
mov dword [ebp - 0x244], ebx
movlpd qword [ebp - 0x24c], xmm0
mov dword [ebp - 0x240], ebx
cmp eax, 1
je 0x446fcb
test eax, eax
jne 0x446fda
lea ecx, [ebp - 0x24c]
call fcn.00450443
mov eax, dword [edi]
jmp 0x446fc2
push ebx
cmp eax, esi
je 0x447011
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x1f8], ebx
push eax
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x1f4], 0x13
call fcn.00449152
push 0x61f954
lea eax, [ebp - 0x190]
jmp 0x446d8c
mov eax, dword [ebp - 0x210]
lea ecx, [ebp + 0x20]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp - 0x214]
add eax, 8
push eax
call fcn.0044a308
mov ecx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x214]
push eax
call fcn.0044fce0
lea ecx, [ebp - 0x214]
call fcn.0044f022
lea ecx, [ebp - 0x34]
call fcn.00449ba3
call fcn.005892f3
ret 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [ebp - 0x200], eax
call fcn.0044ed8b
pop ecx
mov dword [ebp - 0x1fc], eax
lea ecx, [ebp - 0x1bc]
push ebx
lea eax, [ebp - 0x200]
push eax
call fcn.00449152
push 0x61f954
lea eax, [ebp - 0x1bc]
jmp 0x446d8c