Function at 0x46548c
Capabilities:
Get file size

Disassembly:
push 0x80
mov eax, 0x4d6729
call fcn.004b6730
lea ecx, [ebp - 0x4c]
call fcn.0049ce85
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0049ce85
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
lea edi, [ebp - 0x38]
lea ebx, [ebp - 0x4c]
call fcn.00465a67
xor edi, edi
cmp eax, edi
jne 0x4654e6
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.0049d161
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0049d161
xor eax, eax
jmp 0x46557d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x30]
jne 0x4654c7
cmp eax, edi
je 0x4654c7
lea ecx, [ebp - 0x74]
call fcn.0049ce85
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0049ce85
lea esi, [ebp - 0x8c]
call fcn.00464b08
mov byte [ebp - 4], 4
call fcn.0049219b
push eax
lea ecx, [ebp - 0x24]
call fcn.00402802
xor ebx, ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x1c], edi
ja 0x465587
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402845
lea esi, [ebp - 0x8c]
call fcn.004656e6
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0049d161
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0049d161
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.0049d161
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.0049d161
xor eax, eax
inc eax
call fcn.004b6808
ret 0xc
xor edi, edi
cmp ebx, edi
jl 0x4656e0
cmp ebx, dword [ebp - 0x44]
jge 0x4656e0
mov eax, dword [ebp - 0x48]
lea eax, [eax + ebx*4]
push eax
lea ecx, [ebp + 0xc]
call fcn.004022fa
mov byte [ebp - 4], 6
cmp ebx, dword [ebp - 0x30]
jge 0x4656e0
mov eax, dword [ebp - 0x34]
lea eax, [eax + ebx*4]
push eax
lea ecx, [ebp - 0x18]
call fcn.004022fa
mov byte [ebp - 4], 7
call fcn.0049219b
push eax
lea ecx, [ebp - 0x10]
call fcn.00402802
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov edx, esi
call fcn.004651b7
test eax, eax
jne 0x465617
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402845
add esi, 0xfffffff0
mov ecx, esi
call fcn.00402845
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402845
jmp 0x4656ce
push edi
push edi
push 3
push edi
push 3
push edi
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x465638
add edi, 0xfffffff0
mov ecx, edi
jmp 0x4655f4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x20]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
ja 0x465661
add edi, 0xfffffff0
mov ecx, edi
call fcn.00402845
add esi, 0xfffffff0
mov ecx, esi
jmp 0x4656b7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
and dword [ebp - 0x78], 0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x88]
call fcn.004025ee
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x84]
call fcn.004025ee
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004025ee
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], ebx
lea ebx, [ebp - 0x8c]
call fcn.00466271
lea ecx, [edi - 0x10]
call fcn.00402845
lea ecx, [esi - 0x10]
call fcn.00402845
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00402845
mov ebx, dword [ebp - 0x14]
inc ebx
mov dword [ebp - 0x14], ebx
cmp ebx, dword [ebp - 0x1c]
jb 0x465585
jmp 0x465534
call fcn.004920bc
int3