Function at 0x100483c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100aca88
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100de040]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100de040]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov esi, ecx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1004840d
mov eax, 0x80070057
jmp 0x100485df
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x1c]
lea edi, [esi + 0x28]
push ecx
call fcn.10049100
mov ebx, dword [esp + 0x18]
mov edx, dword [edi + 0x18]
mov eax, dword [edi]
mov dword [esp + 0x2c], edx
test ebx, ebx
je 0x10048434
cmp ebx, eax
je 0x10048439
call fcn.10062881
mov ebp, dword [esp + 0x1c]
cmp ebp, dword [esp + 0x2c]
jne 0x1004855e
push 0xffffffffffffffff
xor ebp, ebp
lea eax, [esi + 0xc]
push ebp
xor ecx, ecx
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], cx
call fcn.100028e0
push 1
push 0x100d4c88
lea eax, [esp + 0x50]
mov dword [esp + 0x7c], ebp
call fcn.10002450
mov ebx, dword [esp + 0x7c]
mov edx, dword [esi]
mov ecx, dword [edx + 0x1c]
lea eax, [esp + 0x34]
push eax
push 3
push ebx
push esi
call ecx
mov eax, 8
cmp word [esp + 0x34], ax
je 0x100484bd
cmp dword [esp + 0x60], eax
jb 0x100484b3
mov edx, dword [esp + 0x4c]
push edx
call fcn.1006243d
add esp, 4
mov eax, 0x80004005
jmp 0x100485df
mov edx, dword [esp + 0x3c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x100484c6
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x50]
call fcn.10002450
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x100484fa
lea eax, [esp + 0x4c]
push ebp
push ebp
push 3
push ebp
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10048529
call fcn.10002d30
lea esi, [esp + 0x48]
mov edi, eax
call fcn.100021c0
mov eax, edi
jmp 0x100485df
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
call fcn.10048d00
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.10049100
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
lea esi, [esp + 0x48]
call fcn.100021c0
test ebx, ebx
jne 0x1004859c
call fcn.10062881
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x10048573
call fcn.10062881
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov ecx, dword [ebp + 0x10]
push 0
push 0
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x100485a0
call fcn.10002d30
jmp 0x100485df
mov eax, dword [ebx]
jmp 0x10048569
mov dword [esp + 0x24], 0
test ebx, ebx
jne 0x10048600
call fcn.10062881
cmp ebp, dword [ebx + 0x18]
jne 0x100485bb
call fcn.10062881
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10048595
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.10062448
add esp, 0x64
ret 0x14
mov ebx, dword [ebx]
jmp 0x100485b1