Function at 0x404a0e
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x203c]
mov eax, 0x203c
call fcn.00448ed0
push 0xffffffffffffffff
push 0x460625
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x47d550]
xor eax, ebp
mov dword [ebp + 0x2038], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x4c]
call fcn.00421743
xor ebx, ebx
push 0x47ebb4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0040349b
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x404aab
lea ecx, [eax - 0x10]
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421873
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2038]
xor ecx, ebp
call fcn.004464e5
add ebp, 0x203c
leave
ret
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004038d8
mov esi, 0x4663f4
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040324d
mov ecx, dword [ebp - 0x10]
test eax, eax
setne byte [ebp - 0x11]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010f6
cmp byte [ebp - 0x11], bl
je 0x404aef
push esi
lea ecx, [ebp - 0x1c]
call fcn.00403b47
push str.VDESK_ABCHINA
lea ecx, [ebp - 0x1c]
call fcn.00403b47
push str..CFG
lea ecx, [ebp - 0x1c]
call fcn.00403b47
mov esi, dword [ebp - 0x1c]
push 0x4663d4
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 0x28], ebx
call fcn.00448e74
add esp, 0xc
test eax, eax
je 0x404b40
lea ecx, [esi - 0x10]
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421873
mov eax, edi
jmp 0x404a88
cmp dword [ebp - 0x28], ebx
je 0x404b25
push 0x1fff
lea eax, [ebp + 0x39]
push ebx
push eax
mov byte [ebp + 0x38], bl
call fcn.00446500
push dword [ebp - 0x28]
lea eax, [ebp + 0x38]
push 0x2000
push edi
push eax
call fcn.00448d93
push dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
call fcn.00448a77
mov eax, dword [ebp - 0x10]
add esp, 0x20
cmp eax, 0x2000
jg 0x404b25
cmp eax, ebx
je 0x404c0d
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x404b98
dec ecx
or ecx, 0xfffffff8
inc ecx
jne 0x404c0d
push eax
call fcn.00429370
mov dword [ebp - 0x20], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x18], eax
jmp 0x404bb5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
jle 0x404bc7
sub ecx, eax
mov dword [ebp - 0x2c], ecx
push str.EnterSafe_2010Feitian__0
push dword [ebp - 0x2c]
lea ecx, [ebp + eax + 0x38]
push ecx
mov ecx, dword [ebp - 0x20]
add eax, ecx
push eax
call fcn.00410a2d
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x18], eax
cmp eax, 0x100
jge 0x404bb2
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
push 8
push dword [ebp - 0x20]
call fcn.00410be9
test al, al
jne 0x404c2a
push dword [ebp - 0x20]
call fcn.00429365
pop ecx
lea ecx, [esi - 0x10]
call fcn.004010f6
mov ebx, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421873
mov eax, ebx
jmp 0x404a88
push dword [ebp - 0x24]
call fcn.00429370
push dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.0044604f
push dword [ebp - 0x20]
call fcn.00429365
add esp, 0x18
push dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x10]
call fcn.00421a5f
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00401484
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 0xf
call fcn.00401484
push str.VDESK_CONFIG
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00403c42
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0042025e
push ebx
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
call fcn.004014e8
push dword [ebp - 0x10]
call fcn.00429365
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x404d41
push str.USE_VDESK
lea ecx, [ebp]
call fcn.00403c08
mov ecx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00420380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.00403a43
push ebx
push edi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.004014e8
lea eax, [ebp + 0x1c]
push 3
push eax
call fcn.004203e3
pop ecx
pop ecx
push 0x4663f8
lea ecx, [ebp + 0x1c]
call fcn.00403479
test eax, eax
jne 0x404d41
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004014e8
push ebx
push edi
lea ecx, [ebp]
call fcn.004014e8
lea ecx, [esi - 0x10]
call fcn.004010f6
jmp 0x404c17
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004014e8
push ebx
push edi
lea ecx, [ebp]
call fcn.004014e8
jmp 0x404c0d