Function at 0x450470
Capabilities:
Get file size

Disassembly:
push ebp
mov ecx, 0x4b5d20
mov ebp, esp
push edi
lea eax, [ebp - 0x18]
mov edx, 0x450b66
push esi
push ebx
sub esp, 0xfc
mov ebx, 0x473640
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc0], edx
mov dword [esp], eax
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xbc], esp
call fcn.0047f180
mov edx, dword [ebp + 8]
mov eax, 0xffffffff
mov dword [ebp - 0xe0], eax
mov dword [esp], edx
call fcn.004503e0
test eax, eax
je 0x450620
mov dword [esp + 4], 0x450405
lea eax, [ebp - 0x28]
mov esi, 0x450410
mov dword [esp], eax
lea edi, [ebp - 0x58]
mov eax, 0xffffffff
mov dword [ebp - 0xe0], eax
call fcn.00456350
cld
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
movzx eax, word [0x450434]
mov word [edi], ax
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov eax, 0xd
mov dword [ebp - 0xe0], eax
call sub.msvcrt.dll__mktemp
mov dword [esp + 4], eax
lea edx, [ebp - 0x68]
mov dword [esp], edx
call fcn.00456350
mov eax, dword [ebp - 0x68]
inc dword [eax]
mov eax, dword [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0xe8], eax
mov eax, dword [eax]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x45056f
mov dword [esp], edx
mov eax, 0xc
mov dword [ebp - 0xe0], eax
call fcn.00456230
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call fcn.00475b80
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, 0xd
mov dword [ebp - 0xe0], eax
call fcn.00456470
lea eax, [ebp - 0x28]
mov edi, 0xd
lea edx, [ebp - 0x78]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0xe0], edi
call fcn.0044f950
mov eax, dword [0x4cfc30]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x4509e0
mov ecx, dword [0x4cfc40]
test ecx, ecx
je 0x4505e9
mov eax, dword [ebp + 8]
mov edx, 0xb
mov dword [ebp - 0xe0], edx
mov dword [esp], eax
call fcn.004503e0
cld
mov esi, eax
mov edi, 0x450436
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
je 0x450636
lea eax, [ebp - 0x78]
mov ebx, 0xd
mov dword [esp], eax
mov dword [ebp - 0xe0], ebx
call fcn.0044fe20
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0xe0], eax
call fcn.00456470
lea esi, [esi]
lea edi, [edi]
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call fcn.0047f230
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x88]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00433740
sub esp, 4
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x88]
mov dword [esp], eax
mov eax, 0xa
mov dword [esp + 4], edx
mov dword [ebp - 0xe0], eax
call fcn.00410db0
lea eax, [ebp - 0x88]
sub esp, 4
mov dword [esp], eax
mov eax, 0xb
mov dword [ebp - 0xe0], eax
call fcn.00456470
mov eax, 9
mov dword [ebp - 0xe0], eax
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x45043b
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
mov edx, dword [0x4cfc40]
mov dword [esp + 4], edx
call fcn.004b3360
mov dword [esp + 4], 0x450445
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
lea edx, [ebp - 0x68]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00457590
mov dword [esp + 8], eax
lea edx, [ebp - 0x78]
mov eax, dword [0x4cfc40]
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x45044a
mov dword [esp], eax
call fcn.00450140
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, 0xb
mov dword [ebp - 0xe0], eax
call fcn.00456470
mov eax, 1
test eax, eax
je 0x45076e
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
mov eax, 0xb
mov dword [ebp - 0xe0], eax
call sub.KERNEL32.DLL_GetFileSize
sub esp, 8
test eax, eax
jne 0x4509a0
mov dword [esp + 4], 0x45044d
lea eax, [ebp - 0x98]
mov dword [esp], eax
mov eax, 0xb
mov dword [ebp - 0xe0], eax
call fcn.00456350
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x98]
mov edi, 8
mov dword [esp + 4], eax
mov dword [ebp - 0xe0], edi
mov dword [esp + 8], edx
lea edx, [ebp - 0x68]
mov dword [esp], edx
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x88]
mov dword [esp + 8], 0x450458
mov esi, 7
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [ebp - 0xe0], esi
call fcn.00457c10
sub esp, 4
lea eax, [ebp - 0x88]
mov ebx, 6
mov dword [esp], eax
mov dword [ebp - 0xe0], ebx
call fcn.00426bf0
lea eax, [ebp - 0x88]
mov edx, 7
mov dword [esp], eax
mov dword [ebp - 0xe0], edx
call fcn.00456470
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, 8
mov dword [ebp - 0xe0], eax
call fcn.00456470
lea edx, [ebp - 0x98]
mov eax, 0xb
mov dword [esp], edx
mov dword [ebp - 0xe0], eax
call fcn.00456470
mov dword [esp + 4], 0x45044d
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00456350
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, 5
mov dword [esp + 8], edx
lea edx, [ebp - 0x88]
mov dword [esp], edx
mov dword [ebp - 0xe0], eax
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x88]
lea edx, [ebp - 0x98]
mov dword [esp + 4], eax
mov eax, 4
mov dword [esp + 8], 0x450458
mov dword [esp], edx
mov dword [ebp - 0xe0], eax
call fcn.00457c10
sub esp, 4
lea eax, [ebp - 0xb8]
mov dword [esp], eax
mov eax, 3
mov dword [esp + 4], 0x45044d
mov dword [ebp - 0xe0], eax
call fcn.00456350
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xb8]
mov edi, 2
mov dword [esp + 4], eax
mov dword [ebp - 0xe0], edi
mov dword [esp + 8], edx
lea edx, [ebp - 0xa8]
mov dword [esp], edx
call fcn.00457b60
sub esp, 4
lea eax, [ebp - 0x98]
lea edx, [ebp - 0xa8]
mov dword [esp + 4], eax
mov esi, 1
mov dword [esp], edx
mov dword [ebp - 0xe0], esi
call fcn.00427640
lea eax, [ebp - 0xa8]
mov ecx, 2
mov dword [esp], eax
mov dword [ebp - 0xe0], ecx
call fcn.00456470
lea eax, [ebp - 0xb8]
mov dword [esp], eax
mov eax, 3
mov dword [ebp - 0xe0], eax
call fcn.00456470
lea eax, [ebp - 0x98]
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0xe0], eax
call fcn.00456470
lea eax, [ebp - 0x88]
mov dword [esp], eax
mov eax, 5
mov dword [ebp - 0xe0], eax
call fcn.00456470
lea eax, [ebp - 0x68]
mov edi, 0xb
mov dword [esp], eax
mov dword [ebp - 0xe0], edi
call fcn.00456470
jmp 0x4505e9
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp], eax
lea edx, [ebp - 0x78]
mov dword [esp + 4], edx
call fcn.00450000
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
jmp 0x45076e
mov eax, dword [ebp + 8]
mov ebx, 0xb
mov dword [ebp - 0xe0], ebx
mov dword [esp], eax
call fcn.004503e0
cld
mov esi, eax
mov edi, 0x45045e
mov ecx, 4
repe cmpsb byte [esi], byte es:[edi]
jne 0x4505b8
call fcn.0042ea80
mov edx, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [edx + 0xc]
mov dword [esp + 4], 0x45043b
mov dword [esp], eax
call fcn.004b3360
mov dword [esp + 4], 0x4cfc30
mov dword [esp], eax
call fcn.00458390
mov dword [esp + 4], 0x450462
mov dword [esp], eax
call fcn.004b3360
mov dword [esp], eax
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
call fcn.00458390
mov dword [esp + 4], 0x42e600
mov dword [esp], eax
call fcn.00498ab0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00457590
mov dword [ebp - 0xf0], eax
mov dword [esp], 0x4cfc30
call fcn.00457590
mov dword [esp + 4], 0x450467
lea edx, [ebp - 0x78]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0xf0]
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00450140
jmp 0x45073c