Function at 0x11d7d940
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x11fad986
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [esp + 0x234]
push ebx
push ebp
mov ebp, dword [esp + 0x240]
push esi
push edi
xor edi, edi
mov dword [esp + 0x28], ecx
cmp eax, edi
mov dword [esp + 0x2c], edi
je 0x11d7dc80
cmp ebp, edi
je 0x11d7dc80
push eax
lea ecx, [esp + 0x14]
call fcn.11e7eae0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x23c], edi
mov eax, dword [ecx - 8]
cmp eax, 4
jle 0x11d7db43
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x18]
call fcn.11e817c0
mov ecx, dword [esp + 0x14]
push str..URL
push ecx
mov byte [esp + 0x244], 1
call fcn.11e67d22
add esp, 8
cmp eax, edi
je 0x11d7d9f0
mov edx, dword [esp + 0x14]
push str..TMP
push edx
call fcn.11e67d22
add esp, 8
cmp eax, edi
jne 0x11d7db69
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x11d7dc1b
cmp esi, 0x2800
ja 0x11d7dc1b
cmp esi, edi
je 0x11d7dc1b
push esi
call fcn.11e679bc
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x11d7db98
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 1
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
push eax
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call edi
push 0
push 0
push 0
push ebp
mov dword [esp + 0x40], eax
call edi
push 0
lea edx, [esp + 0x1c]
push 0
push edx
push esi
push ebx
push ebp
call fcn.11dbb760
mov ecx, dword [esp + 0x48]
add esp, 0x18
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
push ebp
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x11d7dbbf
cmp ecx, esi
jne 0x11d7dbbf
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x34]
push 0xff
push edx
push esi
push ebx
stosw word es:[edi], ax
call fcn.11d7d500
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11d7db0e
push esi
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
push eax
push str.IsUrlFile_5___s____s____lu____lu_
push str.IsUrlFile
push 1
call fcn.11ca5810
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.11e7f280
push ebx
call fcn.11e679b1
add esp, 4
mov eax, esi
jmp 0x11d7dc65
cmp dword [0x12133f80], edi
je 0x11d7dc4f
push ecx
push str.IsUrlFile_0___s_
push str.IsUrlFile
push 1
call fcn.11ca5810
add esp, 0x10
jmp 0x11d7dc4f
cmp dword [0x12133f80], edi
je 0x11d7dc3e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push str.IsUrlFile_1___s____s_
push str.IsUrlFile
push 1
call fcn.11ca5810
add esp, 0x14
jmp 0x11d7dc3e
cmp dword [0x12133f80], edi
je 0x11d7dc3e
mov eax, dword [esp + 0x10]
push eax
push str.IsUrlFile_3___s_
push str.IsUrlFile
push 1
call fcn.11ca5810
add esp, 0x10
jmp 0x11d7dc3e
mov edx, dword [0x12133f80]
test edx, edx
je 0x11d7dbe5
push eax
push esi
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push str.IsUrlFile_4___s____lu____lu____lu_
push str.IsUrlFile
push 1
call fcn.11ca5810
add esp, 0x1c
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.11e7f280
mov esi, dword [esp + 0x2c]
push ebx
call fcn.11e679b1
add esp, 4
mov eax, esi
jmp 0x11d7dc65
cmp dword [0x12133f80], edi
je 0x11d7dc3e
mov edx, dword [esp + 0x10]
push esi
push eax
push edx
push str.IsUrlFile_2___s____lu____lu_
push str.IsUrlFile
push 1
call fcn.11ca5810
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], 0
call fcn.11e7f280
lea ecx, [esp + 0x10]
mov dword [esp + 0x23c], 0xffffffff
call fcn.11e7f280
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 8
cmp dword [0x12133f80], edi
je 0x11d7dc63
push ebp
push eax
push str.IsUrlFile_lpwszFile_0x_x___NULL__hFile_0x_x___NULL
push str.IsUrlFile
push 1
call fcn.11ca5810
add esp, 0x14
jmp 0x11d7dc63