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

Disassembly:
push 0xffffffffffffffff
push 0x58a14b
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x108]
lea ecx, [esp + 0xc4]
xor eax, eax
mov dword [esp + 0xd4], 0
push 0xffffffffffffffff
push eax
mov word [esp + 0xcc], ax
lea eax, [edi + 0x4c]
mov dword [esp + 0xe0], 0
push eax
mov dword [esp + 0xe4], 7
mov dword [esp + 0xe0], 0
call fcn.00404960
mov dword [esp + 0x100], 0
lea ecx, [esp + 0xc4]
push 0x12
push str.ximalaya_2345zj_sc
call fcn.00404880
mov eax, dword [0x7e2178]
test al, 1
jne 0x42075e
or eax, 1
mov dword [0x7e2178], eax
mov byte [esp + 0x100], 1
call fcn.004175a0
push 0x59fdc0
call fcn.00565027
add esp, 4
mov byte [esp + 0x100], 0
push 0xffffffffffffffff
push 0
push 0x7e23b8
lea ecx, [esp + 0xd0]
call fcn.004047c0
push 4
push 0x5a9aa8
lea ecx, [esp + 0xcc]
call fcn.00404880
cmp byte [esp + 0x10c], 0
je 0x420963
mov ecx, ebx
call fcn.0042c180
mov esi, 0x3c
test al, al
jne 0x4207d1
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebx]
test esi, esi
jle 0x4207c9
push 0x1388
call ebp
mov ecx, ebx
call fcn.0042c180
dec esi
test al, al
je 0x4207b0
jmp 0x4207d1
test al, al
je 0x420959
push str.electron.app.
lea ecx, [esp + 0x68]
call fcn.00403a70
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x64]
call fcn.00407360
mov byte [esp + 0x100], 0
cmp dword [esp + 0x78], 8
jb 0x42080b
push dword [esp + 0x64]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
mov word [esp + 0x64], ax
mov al, byte [edi + 0x7c]
mov dword [esp + 0x74], 0
test al, al
jne 0x420959
mov ecx, edi
call fcn.004290c0
push str.100006
lea ecx, [esp + 0x50]
call fcn.004039b0
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x34]
push str.ximalaya
call fcn.004039b0
mov byte [esp + 0x100], 4
lea ecx, [esp + 0x1c]
push str.jifen012_ximalaya
call fcn.004039b0
mov byte [esp + 0x100], 5
call fcn.004187c0
sub esp, 0x18
xor edx, edx
mov ecx, esp
mov dword [esp + 0x30], esp
add eax, 4
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00404960
mov byte [esp + 0x118], 6
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x124], 5
mov ecx, edi
call fcn.00428c10
mov byte [esp + 0x100], 4
cmp dword [esp + 0x30], 0x10
jb 0x4208e4
push dword [esp + 0x1c]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x100], 3
cmp dword [esp + 0x48], 0x10
jb 0x420914
push dword [esp + 0x34]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x100], 0
cmp dword [esp + 0x60], 0x10
jb 0x420944
push dword [esp + 0x4c]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov byte [esp + 0x17], 1
jmp 0x420bea
lea eax, [esp + 0xc4]
push eax
lea ecx, [edi + 0x64]
call fcn.0040be40
lea ecx, [esp + 0xc4]
call fcn.004bbf20
lea ecx, [esp + 0xc4]
call fcn.004b24f0
test al, al
je 0x4209b2
push str.RC::RCPackagesInstall::InstallXiMaLaYa
push str._s_error:_DeleteFileAlways_Failed.
push 1
push 3
call fcn.004c3cc0
push eax
call fcn.004c4520
add esp, 0x14
xor bl, bl
jmp 0x420bee
cmp dword [ebx + 0x7c], 8
lea eax, [ebx + 0x68]
mov byte [esp + 0x17], 0
jb 0x4209c2
mov eax, dword [eax]
lea ecx, [esp + 0xc4]
push ecx
push eax
call fcn.00567674
add esp, 4
add eax, 0x7d0
push eax
call fcn.00422230
test al, al
je 0x420bba
xor eax, eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
mov byte [esp + 0x100], 7
cmp dword [edi + 0x28], eax
jne 0x420a3c
push 0x5aa7d8
lea ecx, [esp + 0xe0]
call fcn.0040bc40
jmp 0x420a5d
cmp dword [edi + 0x2c], 8
lea eax, [edi + 0x18]
jb 0x420a47
mov eax, dword [eax]
push eax
lea eax, [esp + 0xe0]
push str._S__D__s_ximalaya__
push eax
call fcn.004b0200
add esp, 0xc
push 1
lea eax, [esp + 0xe0]
mov ecx, edi
push eax
push 0
push dword [ebx + 0x9c]
lea eax, [esp + 0xd4]
push eax
call fcn.0041b2c0
mov byte [esp + 0x17], al
test al, al
je 0x420b70
mov ecx, ebx
call fcn.0042c180
test al, al
je 0x420b70
lea ecx, [edi + 0x7c]
mov al, 1
xchg byte [ecx], al
mov ecx, edi
call fcn.004290c0
push str.100006
lea ecx, [esp + 0xb0]
call fcn.004039b0
mov byte [esp + 0x100], 8
lea ecx, [esp + 0x94]
push str.ximalaya
call fcn.004039b0
mov byte [esp + 0x100], 9
lea ecx, [esp + 0x7c]
push str.jifen012_ximalaya
call fcn.004039b0
mov byte [esp + 0x100], 0xa
call fcn.004187c0
sub esp, 0x18
add eax, 4
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00404120
mov byte [esp + 0x118], 0xb
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x124], 0xa
mov ecx, edi
call fcn.00428c10
mov byte [esp + 0x100], 9
lea ecx, [esp + 0x7c]
call fcn.00403a00
mov byte [esp + 0x100], 8
lea ecx, [esp + 0x94]
call fcn.00403a00
mov byte [esp + 0x100], 7
lea ecx, [esp + 0xac]
call fcn.00403a00
jmp 0x420b77
lea ecx, [edi + 0x7c]
xor al, al
xchg byte [ecx], al
mov byte [esp + 0x100], 0
cmp dword [esp + 0xf0], 8
jb 0x420b98
push dword [esp + 0xdc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
jmp 0x420bea
push str.RC::RCPackagesInstall::InstallXiMaLaYa
push str._s_error:_ExtractBinResource_Failed.
push 1
push 3
call fcn.004c3cc0
push eax
call fcn.004c4520
add esp, 0x14
push 0
push 0x5a9bfc
push 0x5aac4c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov bl, byte [esp + 0x17]
mov dword [esp + 0x100], 0xffffffff
cmp dword [esp + 0xd8], 8
jb 0x420c12
push dword [esp + 0xc4]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xd8], 7
mov word [esp + 0xc4], ax
mov al, bl
mov dword [esp + 0xd4], 0
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.00564de8
add esp, 0xf0
ret 8