Function at 0x404130
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x203c]
mov eax, 0x203c
call fcn.00445d00
push 0xffffffffffffffff
push 0x45d38f
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x47b570]
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.004211f8
xor ebx, ebx
push 0x47cb9c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.00402ed7
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x4041cd
lea ecx, [eax - 0x10]
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421328
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.004432f5
add ebp, 0x203c
leave
ret
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040308c
mov esi, 0x463424
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00402cb3
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 0x404211
push esi
lea ecx, [ebp - 0x1c]
call fcn.00403269
push str.VDESK_ABCHINA
lea ecx, [ebp - 0x1c]
call fcn.00403269
push str..CFG
lea ecx, [ebp - 0x1c]
call fcn.00403269
mov esi, dword [ebp - 0x1c]
push 0x463404
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 0x28], ebx
call fcn.00445ca0
add esp, 0xc
test eax, eax
je 0x404262
lea ecx, [esi - 0x10]
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421328
mov eax, edi
jmp 0x4041aa
cmp dword [ebp - 0x28], ebx
je 0x404247
push 0x1fff
lea eax, [ebp + 0x39]
push ebx
push eax
mov byte [ebp + 0x38], bl
call fcn.00443310
push dword [ebp - 0x28]
lea eax, [ebp + 0x38]
push 0x2000
push edi
push eax
call fcn.00445ba8
push dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
call fcn.0044588c
mov eax, dword [ebp - 0x10]
add esp, 0x20
cmp eax, 0x2000
jg 0x404247
cmp eax, ebx
je 0x40432f
mov ecx, eax
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x4042ba
dec ecx
or ecx, 0xfffffff8
inc ecx
jne 0x40432f
push eax
call fcn.00425fde
mov dword [ebp - 0x20], eax
xor eax, eax
pop ecx
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x18], eax
jmp 0x4042d7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
jle 0x4042e9
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.0041079d
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x18], eax
cmp eax, 0x100
jge 0x4042d4
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
push 8
push dword [ebp - 0x20]
call fcn.00410959
test al, al
jne 0x40434c
push dword [ebp - 0x20]
call fcn.00425fd3
pop ecx
lea ecx, [esi - 0x10]
call fcn.004010f6
mov ebx, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00421328
mov eax, ebx
jmp 0x4041aa
push dword [ebp - 0x24]
call fcn.00425fde
push dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
call fcn.00442e5a
push dword [ebp - 0x20]
call fcn.00425fd3
add esp, 0x18
push dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x10]
call fcn.00421514
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00401492
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 0xf
call fcn.00401492
push str.VDESK_CONFIG
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00403364
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0041fd13
push ebx
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
call fcn.004014f6
push dword [ebp - 0x10]
call fcn.00425fd3
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x404463
push str.USE_VDESK
lea ecx, [ebp]
call fcn.0040332a
mov ecx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041fe35
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.00402007
push ebx
push edi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.004014f6
lea eax, [ebp + 0x1c]
push 3
push eax
call fcn.0041fe98
pop ecx
pop ecx
push 0x463428
lea ecx, [ebp + 0x1c]
call fcn.00402eb5
test eax, eax
jne 0x404463
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004014f6
push ebx
push edi
lea ecx, [ebp]
call fcn.004014f6
lea ecx, [esi - 0x10]
call fcn.004010f6
jmp 0x404339
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004014f6
push ebx
push edi
lea ecx, [ebp]
call fcn.004014f6
jmp 0x40432f