Function at 0x47f8b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641948
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [eax + 0x14]
push ecx
push 0x675c14
lea ecx, [eax + 0x10]
call fcn.0040c880
xor ebx, ebx
cmp eax, ebx
jl 0x47fc7b
mov eax, dword [ebp - 0x48]
mov esi, eax
cmp eax, ebx
je 0x47fc7b
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp - 0x4c], ebx
call edx
test eax, eax
js 0x47fc7b
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
je 0x47fc7b
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], ebx
mov edx, dword [eax]
mov edx, dword [edx]
push 0x64eb1c
push eax
call edx
test eax, eax
js 0x47fc6c
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], ebx
mov ecx, dword [eax]
push str.USERDEFINETEXT
push eax
mov eax, dword [ecx + 0xb4]
call eax
test eax, eax
js 0x47fc5a
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x74]
push ecx
mov dword [ebp - 0x3c], ebx
call esi
lea eax, [ebp - 0x64]
mov edx, 3
push eax
mov word [ebp - 0x74], dx
mov dword [ebp - 0x6c], ebx
call esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, 8
push str.USERDEFINETEXT
mov word [ebp - 0x64], cx
call edi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
push ecx
push eax
call edx
mov ebx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ebp - 0x70]
mov dword [eax + 4], ebx
mov ebx, dword [ebp - 0x6c]
mov dword [eax + 8], ebx
mov ebx, dword [ebp - 0x68]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x64]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ebp - 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [ebp - 0x5c]
mov dword [eax + 8], ebx
mov ebx, dword [ebp - 0x58]
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0xc], ebx
call ecx
test eax, eax
js 0x47fc42
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x47fc58
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], 0
mov edx, dword [eax]
mov edx, dword [edx]
push 0x64eacc
push eax
call edx
test eax, eax
js 0x47fc42
lea eax, [ebp - 0x94]
push eax
call esi
lea ecx, [ebp - 0x84]
push ecx
call esi
push 0x675878
call edi
push 0x675878
mov dword [ebp - 0x7c], eax
call edi
lea ecx, [ebp - 0x94]
push ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push 2
push str.Name
push eax
call edx
test eax, eax
js 0x47fc42
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x84]
push edx
push 2
push 0x687d00
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
js 0x47fc42
mov eax, dword [ebp - 0x8c]
mov ecx, str.TEXT
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47fad7
test dx, dx
je 0x47fad3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47fad7
add eax, 4
add ecx, 4
test dx, dx
jne 0x47fab1
xor eax, eax
jmp 0x47fadc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47fc42
mov eax, dword [ebp - 0x7c]
mov ecx, 0x687df0
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47fb16
test dx, dx
je 0x47fb12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47fb16
add eax, 4
add ecx, 4
test dx, dx
jne 0x47faf0
xor eax, eax
jmp 0x47fb1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47fc42
mov ebx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x40]
mov esi, dword [ebx + 0x18]
call fcn.00484dd0
mov edi, dword [ebx + 0x18]
call fcn.004852c0
cmp dword [ebx + 0xcc], 0
je 0x47fb4f
cmp dword [ebx + 0xd0], 0
je 0x47fc42
lea ecx, [ebp - 0x34]
call fcn.00412290
lea esi, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004c4b60
push str.wwwUserFile.txt
mov ecx, esi
call fcn.004124f0
mov eax, dword [ebp - 0x30]
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jae 0x47fb82
lea eax, [ebp - 0x30]
test eax, eax
jne 0x47fb8d
call fcn.004c35a0
jmp 0x47fb98
push 0
push eax
call fcn.005fc7e0
add esp, 8
test eax, eax
jne 0x47fc33
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x47fbab
lea eax, [ebp - 0x30]
push str.r__ccsUNICODE
push eax
call fcn.005f5530
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47fc33
push ebx
call fcn.00610700
add esp, 4
push eax
call fcn.00630820
mov esi, eax
xor ecx, ecx
add esp, 4
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00563e10
mov edi, eax
add esp, 4
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.005ff630
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.005f5d00
push ebx
call fcn.005f64a0
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x48], esp
push ecx
call fcn.0043cc00
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 0x18]
call fcn.00485410
push edi
call fcn.005f0f30
add esp, 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00412410
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x47fc58
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x3c], 0
xor ebx, ebx
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x47fc6c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x47fc7b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 4