Function at 0x447096
Capabilities:
Get file size

Disassembly:
push 0x254
mov eax, 0x5c016e
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 0x4473de
push dword [ebp + 0x20]
push dword [ebp + 0x24]
call fcn.0044d8f5
sub eax, 8
pop ecx
pop ecx
cmp eax, 0xfffffff7
ja 0x4473ab
mov edi, dword [ebp + 0x10]
add eax, 8
cmp edi, eax
jb 0x4473ab
cmp dword [ebp + 8], ebx
jne 0x447158
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 0x447283
push 2
pop esi
cmp dword [ebp + 8], esi
jne 0x4473a1
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 0x447275
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 0x44725c
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, 0x447234
ret
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], ebx
call fcn.00450443
mov al, byte [ebp - 0x1bd]
jmp 0x447183
mov al, byte [ebp - 0x1be]
test al, al
je 0x4473a1
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 0x44730a
push 1
lea eax, [edi - 8]
push eax
mov eax, dword [ebp - 0x260]
lea ecx, [ebp + 0x20]
add eax, 8
push eax
call fcn.0044a32a
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 0x4475fa
cmp eax, 1
je 0x447347
cmp eax, esi
je 0x447347
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 0x4471d4
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 0x447341
mov edi, SysReAllocStringLen
jmp 0x44748b
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 0x447341
cmp dword [ebp + 0x14], 0xc0000000
jne 0x44740f
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 0x447483
cmp dword [ebp + 0x14], edi
jne 0x447448
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 0x447483
cmp dword [ebp + 0x14], 0xc0000001
jne 0x447488
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 0x44760f
lea ecx, [ebp - 0x23c]
call fcn.00450443
mov eax, dword [ebp - 0x1cc]
or eax, dword [ebp - 0x1c8]
je 0x4474aa
cmp dword [ebp - 0x1cc], 1
jne 0x44751f
cmp dword [ebp - 0x1c8], ebx
jne 0x44751f
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 0x447341
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 0x447580
test eax, eax
jne 0x44758f
lea ecx, [ebp - 0x24c]
call fcn.00450443
mov eax, dword [edi]
jmp 0x447577
push ebx
cmp eax, esi
je 0x4475c6
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 0x447341
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.0044a32a
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 0x447341