Function at 0x462038
Capabilities:
Get file size

Disassembly:
push 0x5c
mov eax, 0x5c7713
call fcn.0058ec5e
xor esi, esi
mov dword [ebp - 4], esi
mov byte [ebp - 0x11], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
call fcn.00487670
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 2
or ebx, 0xffffffff
cmp edi, ebx
jne 0x462082
mov byte [ebp - 4], 1
mov dword [ebp - 4], ebx
lea ecx, [ebp + 0xc]
call fcn.004085f6
mov al, 1
jmp 0x4622f9
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [0x6c79e0]
shl eax, 0x14
cdq
mov ecx, dword [ebp - 0x34]
cmp ecx, edx
jl 0x4620b9
jg 0x4620ac
mov ecx, dword [ebp - 0x38]
cmp ecx, eax
jbe 0x4620b9
mov byte [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x462070
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00408586
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
call fcn.00408807
push 0x68cd50
xor ecx, ecx
lea esi, [ebp - 0x18]
call fcn.0042b6cc
cmp eax, ebx
jne 0x462301
push 0x68cd78
xor ecx, ecx
call fcn.0042b6cc
cmp eax, ebx
jne 0x462301
push str._threattank
xor ecx, ecx
call fcn.0042b6cc
cmp eax, ebx
jne 0x462301
call fcn.0046a19a
mov esi, eax
test esi, esi
je 0x46216a
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.00408586
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.004756e3
test al, al
je 0x462301
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.00408586
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.004758a7
test al, al
jne 0x462301
push edi
call fcn.0048b000
test al, al
jne 0x462301
lea eax, [ebp - 0x1c]
push eax
call fcn.0040844d
mov byte [ebp - 4], 6
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.00487690
pop ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x24]
call fcn.004170c4
test al, al
jne 0x46226d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004b5ce0
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
je 0x462261
lea eax, [ebp - 0x68]
push eax
call fcn.0040fdb0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
call fcn.0042c5a5
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x12]
lea edx, [ebp - 0x68]
call fcn.0042a667
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
test eax, 0xfffffffc
je 0x462247
xor edi, edi
lea esi, [ebp - 0x50]
call fcn.0041e10a
mov eax, dword [eax]
cmp dword [eax - 0xc], 1
jle 0x462244
push str..XEDR
call fcn.0041e10a
lea ecx, [ebp - 0x2c]
push ecx
mov esi, eax
call fcn.0041683c
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x1c]
call fcn.004084d8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.004084b5
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
push eax
call fcn.0040fde8
mov byte [ebp - 4], 8
lea eax, [ebp - 0x68]
push eax
call fcn.0040fde8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.004084b5
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x4622a3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00420afa
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push dword [eax]
push dword [ebp + 8]
call fcn.00409bc2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.004085f6
mov byte [ebp - 0x11], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
setne al
movzx eax, al
push eax
call fcn.0046638d
pop ecx
mov byte [ebp - 4], 6
lea ebx, [ebp - 0x24]
call fcn.004170a7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004084b5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004085f6
mov byte [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004085f6
mov al, byte [ebp - 0x11]
call fcn.0058ed03
ret 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004085f6
jmp 0x4620ac