Function at 0x588dd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f6bb1
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x82f084]
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 edi, ecx
lea esi, [edi + 0x50]
xorps xmm0, xmm0
xor bl, bl
movlpd qword [ebp - 0xb4], xmm0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x588e1a
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0xb8], eax
cmp eax, 0xffffffff
jne 0x588e45
xor bl, bl
jmp 0x5891b2
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSizeEx]
test eax, eax
je 0x588e6a
mov eax, dword [ebp - 0x48]
mov bl, 1
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xac], eax
jmp 0x588e82
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb0], eax
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test bl, bl
je 0x5891b2
cmp dword [ebp - 0xac], 0
jl 0x5891b2
jg 0x588eb2
cmp dword [ebp - 0xb0], 0
jbe 0x5891b2
mov edx, dword [str.NGLClient_]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x588ed0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00430160
push 7
push str.default
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00441730
push 4
push str..log
lea ecx, [ebp - 0x28]
call fcn.00441730
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
call fcn.0050d0e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, esi
cmovae eax, dword [ebp - 0x40]
cmp dword [esi + 0x14], 8
jb 0x588f48
mov ecx, dword [esi]
push dword [ebp - 0x30]
mov edx, dword [esi + 0x10]
push eax
push 0
call fcn.00438ac0
add esp, 0xc
cmp eax, 0xffffffff
je 0x588fa1
lea ecx, [ebp - 0x40]
call fcn.0042fd70
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x588f9a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x588f90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5891d0
push edx
push ecx
call fcn.0067d8e3
add esp, 8
xor al, al
jmp 0x5891b4
cmp dword [edi + 0xdc], 0
je 0x588fda
lea ebx, [edi + 0x78]
lea ecx, [ebx + 0x18]
call fcn.004fd2a0
test eax, eax
jne 0x588fda
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0043acc0
push esi
lea ecx, [ebp - 0xa8]
call fcn.0042fc50
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.0042fc50
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00519940
xor eax, eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.0051c330
lea eax, [ebp - 0x90]
mov edx, 0x75c170
push eax
lea ecx, [ebp - 0xd0]
call fcn.00439e80
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x589053
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x60]
call fcn.0042ff20
lea ecx, [ebp - 0xd0]
call fcn.0042fd70
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
call fcn.00519b90
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.005199c0
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0xa8]
push eax
call fcn.0042fe00
lea ecx, [ebp - 0x78]
call fcn.0042fd70
lea ecx, [ebp - 0x90]
call fcn.0042fd70
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0042fd70
lea edx, [ebp - 0xa8]
mov ecx, esi
call fcn.00519c40
test al, al
je 0x589161
cmp dword [esi + 0x14], 8
jb 0x5890ed
mov esi, dword [esi]
push ecx
push 0x12
lea ebx, [edi + 0x78]
push esi
lea ecx, [ebx + 0x18]
call fcn.004fd370
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
add edx, ebx
test eax, eax
je 0x589116
xor eax, eax
mov ecx, 4
cmp dword [edx + 0x38], eax
cmovne ecx, eax
jmp 0x58912a
mov eax, edx
xor ecx, ecx
cmp dword [eax + 0x38], ecx
sete cl
lea ecx, [ecx*4 + 2]
or ecx, dword [eax + 0xc]
push 0
push ecx
mov ecx, edx
call fcn.0043acc0
lea ecx, [ebx + 0x18]
call fcn.004fd2a0
test eax, eax
jne 0x589161
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
xor eax, eax
add ecx, ebx
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0043acc0
mov edx, dword [edi]
lea eax, [edi + 0x78]
push eax
mov ecx, edi
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0xa8]
mov bl, al
call fcn.0042fd70
lea ecx, [ebp - 0x40]
call fcn.0042fd70
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5891b2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5891a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5891d0
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov al, bl
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.0067d651
mov esp, ebp
pop ebp
ret
call fcn.00692c65
int3