Function at 0x418cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x470426
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xdc]
push 0x258
push str.ZhiXiPkg_Window_D63F7A9D_E379_4AEA_B8F0_BE5C9F6B90D5
xor edx, edx
mov ecx, 0x190
mov esi, ebp
mov dword [esp + 0x48], ebp
call fcn.00415ec0
xor eax, eax
mov dword [esp + 0xd4], eax
lea ebx, [ebp + 0x20]
mov dword [ebp], vtable.MainWindow.0
mov ecx, 7
xor edx, edx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x14], eax
mov word [ebx + 4], dx
mov dword [ebp + 0x54], ecx
xor ecx, ecx
mov dword [ebp + 0x50], eax
mov word [ebp + 0x40], cx
mov byte [esp + 0xd4], 2
lea esi, [ebp + 0x60]
push esi
mov dword [ebp + 0x58], 0xffffffff
mov dword [ebp + 0x5c], eax
call fcn.0041edd0
lea edi, [ebp + 0x7c]
xor eax, eax
xor edx, edx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], eax
mov word [edi + 4], dx
mov byte [esp + 0xd4], 4
mov dword [ebp + 0x98], eax
call fcn.0041d290
mov dword [ebp + 0x78], eax
test eax, eax
jne 0x418dc4
push eax
mov eax, dword [ebp + 4]
push 0x4792cc
push 0x4792d4
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x47de5c
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], str.Create_ResMgr_error
call fcn.0044f4cb
mov eax, esi
call fcn.0041b1d0
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
test edx, edx
ja 0x418ddd
call fcn.0044cae8
mov ecx, dword [esi + 0xc]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov byte [esp + 0x17], 1
call fcn.004481f0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004042a0
mov eax, dword [ebp + 0x90]
cmp eax, 0x16
jbe 0x418edc
call fcn.0042ec20
test al, al
je 0x418edc
push edi
lea ecx, [esp + 0x78]
call fcn.0042c040
add esp, 4
push 0x13
mov ecx, 3
lea esi, [esp + 0x94]
lea edx, [esp + 0x78]
mov byte [esp + 0xd8], 5
call fcn.00418b90
mov eax, dword [esp + 0x94]
mov esi, 0x10
cmp dword [esp + 0xa8], esi
jae 0x418e71
lea eax, [esp + 0x94]
push str.Program_Files__x86_
push eax
call fcn.00463618
add esp, 8
test eax, eax
jne 0x418e87
mov byte [esp + 0x17], al
cmp dword [esp + 0xa8], esi
jb 0x418ea0
mov eax, dword [esp + 0x94]
push eax
call fcn.0044caf8
add esp, 4
mov byte [esp + 0xd4], 4
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
cmp dword [esp + 0x8c], esi
jb 0x418edc
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0044caf8
add esp, 4
cmp dword [ebp + 0x90], 0
je 0x418f6b
cmp byte [esp + 0x17], 0
je 0x418f6b
lea ecx, [esp + 0x74]
call fcn.0042d010
mov byte [esp + 0xd4], 0xb
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x74]
push edx
dec ecx
xor edx, edx
lea esi, [esp + 0xb0]
call fcn.0041b150
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov byte [esp + 0xdc], 0xc
call fcn.004042a0
mov esi, 8
cmp dword [esp + 0xc4], esi
jb 0x418f4d
mov eax, dword [esp + 0xb0]
push eax
call fcn.0044caf8
add esp, 4
mov byte [esp + 0xd4], 4
cmp dword [esp + 0x8c], esi
jb 0x419109
mov ecx, dword [esp + 0x78]
jmp 0x419100
lea ecx, [esp + 0xac]
call fcn.0041aca0
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov byte [esp + 0xdc], 6
call fcn.004042a0
mov byte [esp + 0xd4], 4
cmp dword [esp + 0xc4], 8
jb 0x418fac
mov edx, dword [esp + 0xb0]
push edx
call fcn.0044caf8
add esp, 4
cmp dword [ebp + 0x34], 0
jne 0x418fdf
mov eax, dword [ebp + 4]
push 0
push 0x4792cc
push 0x479304
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x47de5c
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], str.Get_DefaultPath_error
call fcn.0044f4cb
mov ecx, ebx
lea ebx, [esp + 0xac]
call fcn.0042cf20
push eax
mov ebx, str.ZhiXi
lea esi, [esp + 0x78]
mov byte [esp + 0xd8], 7
call fcn.004059c0
add esp, 4
push 0xffffffffffffffff
lea edi, [ebp + 0x20]
mov ebx, 8
push 0
mov ecx, edi
mov byte [esp + 0xdc], bl
call fcn.004042a0
cmp dword [esp + 0x8c], ebx
jb 0x419037
mov edx, dword [esp + 0x78]
push edx
call fcn.0044caf8
add esp, 4
xor eax, eax
mov byte [esp + 0xd4], 4
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
cmp dword [esp + 0xc4], ebx
jb 0x419075
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0044caf8
add esp, 4
mov ecx, edi
lea ebx, [esp + 0xac]
call fcn.0042cf20
push eax
mov ebx, str.ZXMind
lea esi, [esp + 0x78]
mov byte [esp + 0xd8], 9
call fcn.004059c0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
mov byte [esp + 0xdc], 0xa
call fcn.004042a0
mov esi, 8
cmp dword [esp + 0x8c], esi
jb 0x4190cb
mov edx, dword [esp + 0x78]
push edx
call fcn.0044caf8
add esp, 4
xor eax, eax
mov byte [esp + 0xd4], 4
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
cmp dword [esp + 0xc4], esi
jb 0x419109
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.0044caf8
add esp, 4
cmp dword [ebp + 0x90], 0
je 0x419405
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov edi, edi
call fcn.00449640
mov edx, dword [eax]
push eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x41913a
push 0x32
call edi
inc esi
cmp esi, 0x28
jl 0x419120
call fcn.00449640
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x419405
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419156
sub eax, edx
je 0x419405
call fcn.004481f0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push eax
lea ecx, [esp + 0xb0]
call fcn.0042c040
add esp, 4
mov byte [esp + 0xd4], 0xd
push 1
mov ebx, 0xf
push 0x479324
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edi
mov byte [esp + 0x9c], 0
call fcn.00403b10
mov byte [esp + 0xd4], 0xe
mov eax, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4191d2
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.00403b10
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xdc], 0xf
call fcn.0042d4d0
add esp, 8
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x41921f
mov edx, dword [esp + 0x28]
push edx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
mov byte [esp + 0xd4], 0x12
cmp dword [esp + 0xa8], esi
jb 0x41924d
mov eax, dword [esp + 0x94]
push eax
call fcn.0044caf8
add esp, 4
push 1
push 0x479324
lea ecx, [esp + 0x7c]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], edi
mov byte [esp + 0x9c], 0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
call fcn.00403b10
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 0x13
call fcn.0042d4d0
add esp, 8
cmp dword [esp + 0x8c], esi
jb 0x4192c0
mov eax, dword [esp + 0x78]
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [esp + 0xc0]
ja 0x4192ff
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x50]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
cmp eax, edi
jbe 0x419352
lea esi, [esp + 0x5c]
call fcn.004154c0
call fcn.0042db70
lea esi, [esp + 0x44]
mov dword [esp + 0x1c], eax
mov ebx, edx
call fcn.004154c0
call fcn.0042db70
cmp ebx, edx
jl 0x419350
jg 0x419335
cmp dword [esp + 0x1c], eax
jb 0x419350
cmp ebx, edx
jg 0x4193fc
jl 0x419349
cmp dword [esp + 0x1c], eax
ja 0x4193fc
inc edi
cmp edi, dword [esp + 0x18]
jb 0x419307
xor edi, edi
mov bl, 1
lea esi, [esp + 0x44]
call fcn.00415470
lea esi, [esp + 0x5c]
call fcn.00415470
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], 4
call fcn.004037b0
test bl, bl
je 0x419405
mov byte [0x48a82c], 1
call fcn.0041fe10
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
push 0xa
push str.vReInstall
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], edi
mov byte [esp + 0x80], 0
call fcn.00403b10
mov byte [esp + 0xd4], 0x14
call fcn.0041fe10
mov ecx, dword [eax]
lea edx, [esp + 0x74]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov byte [esp + 0xd4], 4
cmp dword [esp + 0x8c], 0x10
jb 0x4193f9
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0044caf8
add esp, 4
push edi
jmp 0x419407
xor bl, bl
xor edi, edi
jmp 0x419354
push 1
mov ecx, ebp
call fcn.00419770
mov eax, ebp
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.0044c790
add esp, 0xc4
ret 4