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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51a9c2
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5913d0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x5913d0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
push str.updateinstall
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], esi
call fcn.00404a8a
xor ebx, ebx
mov dword [esp + 0xa0], ebx
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00404a8a
mov byte [esp + 0xa0], 1
lea edi, [esp + 0x10]
call fcn.00406022
call fcn.00404980
push 0x1000
call fcn.004baba0
pop ecx
push ebx
push eax
call fcn.004bab40
pop ecx
pop ecx
lea eax, [esp + 0x4c]
push eax
call fcn.004f73a0
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x20]
call fcn.00401c63
mov byte [esp + 0xa0], 3
push str.funshion
lea esi, [esp + 0x78]
call fcn.00402658
mov byte [esp + 0xa0], 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0xa0], 5
push 0x5a1ea4
call fcn.004f67bc
call fcn.004f1364
mov eax, dword [esp + 0x14]
mov ecx, str._tray
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5074e4
cmp dx, bx
je 0x5074e0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5074e4
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x5074be
xor eax, eax
jmp 0x5074e9
sbb eax, eax
sbb eax, 0xffffffff
xor esi, esi
inc esi
cmp eax, ebx
jne 0x5074f6
mov dword [0x5a1550], esi
test byte [0x5a4f68], 1
jne 0x507528
or dword [0x5a4f68], esi
mov byte [esp + 0xa0], 6
push esi
push str.enable_single_instance
call dword [0x53f080]
pop ecx
pop ecx
mov dword [0x5a4f64], eax
mov byte [esp + 0xa0], 5
push str.funshion_global_instance_event_name
push ebx
push esi
push ebx
call dword [0x53f26c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], bl
mov byte [esp + 0xa0], 7
cmp dword [0x5a4f64], ebx
je 0x507569
cmp dword [esp + 0x24], ebx
je 0x507569
call dword [0x53f194]
cmp eax, 0xb7
je 0x50757f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.004111f4
test eax, eax
jne 0x5076e0
push ebx
push str.funshion_player_tzdenjohn
call dword [0x53f784]
mov ecx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0x18]
push eax
call fcn.004111f4
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp edi, ebx
je 0x507639
push edi
call dword [0x53f6c8]
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push 0x548204
push eax
call fcn.00404a8a
mov byte [esp + 0xa4], 8
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00402594
mov byte [esp + 0xa8], 9
mov byte [esp + 0xa8], 7
call fcn.004ef8ee
cmp eax, ebx
pop ecx
pop ecx
je 0x50762b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], 1
mov eax, dword [eax - 0xc]
add eax, eax
lea esi, [esp + 0x10]
mov dword [esp + 0x34], eax
call fcn.004019cd
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
push ebx
push 0x4a
push edi
call dword [0x53f688]
jmp 0x507639
push ebx
push esi
push 0x539
push edi
call dword [0x53f5f0]
call fcn.00422817
mov byte [esp + 0xa0], 5
lea esi, [esp + 0x28]
call fcn.004229df
mov byte [esp + 0xa0], 4
lea esi, [esp + 0x3c]
call fcn.00420030
mov byte [esp + 0xa0], 3
push ebx
push 1
lea esi, [esp + 0x7c]
call fcn.00402125
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x20]
call fcn.00401c40
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x4c]
call fcn.004f7363
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0x10]
call fcn.00401c40
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401c40
or eax, 0xffffffff
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004891eb
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.004baa60
pop ecx
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.004f779b
mov byte [esp + 0xa0], 0xa
lea edi, [esp + 0x20]
call fcn.00404980
mov byte [esp + 0xa0], 7
lea ecx, [esp + 0x14]
call fcn.00401c40
mov eax, edi
mov edi, 0x5a2368
call fcn.00404980
push ebx
push ebx
push ebx
push ebx
call dword [0x53f6dc]
call fcn.004227f8
call fcn.0042272e
call fcn.00410e74
call fcn.0050629d
test al, al
jne 0x507855
push str.Loading_FunshionPlugin.dll_failed
lea eax, [esp + 0x18]
push eax
call fcn.004059fb
mov byte [esp + 0xa0], 0xb
push str.Information
lea eax, [esp + 0x20]
push eax
call fcn.004059fb
mov byte [esp + 0xa0], 0xc
push 0x173
lea eax, [esp + 0x18]
push eax
call fcn.00405a83
push 0x172
lea eax, [esp + 0x20]
push eax
call fcn.00405a83
push ebx
push dword [esp + 0x20]
push dword [esp + 0x1c]
push ebx
call dword [0x53f58c]
push esi
call fcn.004ba5f0
pop ecx
mov byte [esp + 0xa0], 0xb
lea eax, [esp + 0x1c]
push eax
call fcn.004059d6
mov byte [esp + 0xa0], 7
lea eax, [esp + 0x14]
push eax
call fcn.004059d6
or edi, 0xffffffff
mov byte [esp + 0xa0], 5
lea esi, [esp + 0x28]
call fcn.004229df
mov byte [esp + 0xa0], 4
lea esi, [esp + 0x3c]
call fcn.00420030
mov byte [esp + 0xa0], 3
push ebx
push 1
lea esi, [esp + 0x7c]
call fcn.00402125
mov byte [esp + 0xa0], 2
lea ecx, [esp + 0x20]
call fcn.00401c40
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x4c]
call fcn.004f7363
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0x10]
call fcn.00401c40
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401c40
mov eax, edi
jmp 0x5076ba
call fcn.0050715e
mov edi, eax
call fcn.00422817
push esi
call fcn.004ba5f0
pop ecx
jmp 0x5077d5