Function at 0x458f70
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48df8a
mov eax, dword fs:[0]
push eax
sub esp, 0xd78
mov eax, dword [0x4c07e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xd84], eax
cmp byte [esi], 0
je 0x45928e
push 0
push 7
push 3
push 0
push 3
push accept
push esi
mov dword [ebp - 0xd7c], 0
mov dword [ebp - 0xd80], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x45900c
lea eax, [ebp - 0xd7c]
mov dword [ebp - 0xd7c], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [ebp - 0xd80], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xd78]
call fcn.00460200
push 0x200
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00466b60
push 0x200
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.00466b60
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x424]
push eax
push ebx
push esi
call fcn.00459550
add esp, 0x28
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x224]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0xcf3], al
test al, al
jne 0x459060
lea edx, [ebp - 0xaf2]
mov ecx, ebx
sub edx, ebx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x459080
lea ecx, [ebp - 0x584]
call fcn.00441bb0
lea ecx, [ebp - 0x224]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4590a1
sub ecx, edx
lea eax, [ebp - 0x224]
push ecx
push eax
lea ecx, [ebp - 0x584]
call fcn.00441bc0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x584]
call fcn.00441df0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xd78]
call fcn.00460830
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0xd78]
push edi
call fcn.00457a50
push 0x4c5090
lea ecx, [ebp - 0xd78]
call fcn.004579f0
push 0x1312d0
call fcn.0044d6b0
add esp, 4
lea ecx, [ebp - 0xd78]
add eax, 0x70000001
push eax
call fcn.00447080
push dword [ebp - 0xd84]
lea ecx, [ebp - 0xd78]
call fcn.00460860
lea eax, [ebp - 0xd78]
push eax
call fcn.00458390
add esp, 4
test eax, eax
jne 0x459283
lea eax, [ebp - 0xd78]
push eax
call fcn.004582e0
add esp, 4
test eax, eax
jne 0x459283
lea eax, [ebp - 0xcf2]
push eax
push edi
call fcn.00458220
add esp, 8
test eax, eax
jne 0x459283
push 0x5520
call fcn.0046506d
add esp, 4
mov dword [ebp - 0xd84], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4591a9
push 0x4c5090
push esi
push ebx
lea ecx, [ebp - 0xd78]
push ecx
push dword [0x4c3114]
mov ecx, eax
call fcn.00452640
mov edi, eax
jmp 0x4591ab
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x459283
mov ecx, edi
call fcn.00446f10
mov esi, eax
push edi
mov ecx, esi
call fcn.00430230
push eax
push 0
mov ecx, 0x4c6468
call fcn.00416d20
push dword [ebp - 0xd7c]
mov ecx, esi
call fcn.004302a0
push dword [ebp - 0xd80]
mov ecx, esi
call fcn.004302b0
push 1
push str.Starting...
mov ecx, edi
call fcn.00453e30
mov ecx, esi
call fcn.00462850
push eax
mov ecx, 0x4c64a8
call fcn.0045c2a0
push 0x1388
push 0x4c64c4
call fcn.004510e0
add esp, 8
test eax, eax
jne 0x459283
cmp dword [0x4c644c], eax
je 0x459283
mov ecx, dword [0x4c3118]
push 1
push str.aoupload
call fcn.004038d0
test eax, eax
je 0x459283
push 0
push 0x9c44
push 0x111
push dword [0x4c5118]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4c3118]
push 1
push str.aoupload_btf
call fcn.004038d0
push dword [0x4c644c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
call fcn.00459610
add esp, 4
lea ecx, [ebp - 0xd78]
call fcn.004604d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464e2f
mov esp, ebp
pop ebp
ret