Function at 0x10032960
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x10052480
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
mov esi, ecx
cmp dword [esi + 0x184], 0
mov dword [esp + 0x24], 1
je 0x100329e7
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x100329b6
mov eax, dword [esp + 0x34]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x64], esi
mov word [esp + 0x34], cx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 7
jb 0x100329e0
mov edx, dword [esp + 0x50]
push edx
call fcn.100386ec
add esp, 4
xor al, al
jmp 0x10032c51
mov edi, 8
cmp dword [ebx + 0x18], edi
jb 0x100329fd
mov eax, dword [ebx + 4]
lea ebp, [ebx + 4]
mov dword [esp + 0x14], ebp
jmp 0x10032a06
lea eax, [ebx + 4]
mov dword [esp + 0x14], eax
mov ebp, eax
push 0
push 0
push 3
push 0
push 5
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
jne 0x10032a71
cmp dword [ebx + 0x18], edi
jb 0x10032a2e
mov eax, dword [ebp]
jmp 0x10032a30
mov eax, ebp
cmp dword [esi + 0x58], edi
jb 0x10032a3a
mov esi, dword [esi + 0x44]
jmp 0x10032a3d
add esi, 0x44
push eax
push esi
push 0x100580d4
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
cmp dword [esp + 0x48], edi
jb 0x10032a66
mov eax, dword [esp + 0x34]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x64], edi
jmp 0x100329bc
push 0xffffffffffffffff
push 0
lea ebp, [esi + 0x24]
push ebx
mov ecx, ebp
call fcn.10009230
cmp dword [esp + 0x44], 0
je 0x10032af6
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x38]
lea edi, [esi + 0x78]
push eax
mov ecx, edi
call fcn.10009230
cmp dword [edi + 0x18], 8
jb 0x10032aa5
mov eax, dword [edi + 4]
jmp 0x10032aa8
lea eax, [edi + 4]
push 0x5c
push eax
call fcn.100386f7
add esp, 8
test eax, eax
je 0x10032aca
add eax, 2
push eax
lea ecx, [esi + 0x5c]
call fcn.1000b7a0
mov edi, 8
jmp 0x10032b14
cmp dword [edi + 0x18], 8
jb 0x10032ae3
mov eax, dword [edi + 4]
push eax
lea ecx, [esi + 0x5c]
call fcn.1000b7a0
mov edi, 8
jmp 0x10032b14
lea eax, [edi + 4]
push eax
lea ecx, [esi + 0x5c]
call fcn.1000b7a0
mov edi, 8
jmp 0x10032b14
push 6
push 0x100580c4
lea ecx, [esi + 0x78]
call fcn.10009330
push 6
push 0x100580c4
lea ecx, [esi + 0x5c]
call fcn.10009330
cmp dword [esp + 0x60], 0
je 0x10032b31
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esi + 0xb0]
call fcn.10009230
jmp 0x10032b43
push 6
push 0x100580c4
lea ecx, [esi + 0xb0]
call fcn.10009330
cmp dword [ebp + 0x18], edi
jb 0x10032b4d
mov eax, dword [ebp + 4]
jmp 0x10032b50
lea eax, [ebp + 4]
push 0x5c
push eax
call fcn.100386f7
add esp, 8
test eax, eax
je 0x10032b64
add eax, 2
jmp 0x10032b71
cmp dword [ebp + 0x18], edi
jb 0x10032b6e
mov eax, dword [ebp + 4]
jmp 0x10032b71
lea eax, [ebp + 4]
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10032b76
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x94]
call fcn.10009330
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x18]
push edx
xor ebp, ebp
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
push 1
push ebp
push ebp
push ecx
mov edi, eax
call fcn.1003acd0
xor ecx, ecx
add eax, edi
adc edx, ecx
push 0x7530
lea ecx, [esi + 0xd0]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.10036c40
mov edi, 8
mov dword [esi + 0xcc], 1
cmp dword [ebx + 0x18], edi
jb 0x10032bef
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
jmp 0x10032bf3
mov eax, dword [esp + 0x14]
cmp dword [esi + 0x58], edi
jb 0x10032bfd
mov esi, dword [esi + 0x44]
jmp 0x10032c00
add esi, 0x44
push eax
push esi
push 0x10058090
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x14
cmp dword [esp + 0x48], edi
jb 0x10032c29
mov eax, dword [esp + 0x34]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], cx
cmp dword [esp + 0x64], edi
jb 0x10032c4f
mov edx, dword [esp + 0x50]
push edx
call fcn.100386ec
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x3c