Function at 0x4038c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x198
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.0040b090
add esp, 0xc
mov dword [ebp - 0x680], 0
push 0x1a4
mov dword [ebp - 4], 0
call fcn.0040961d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0x1a4
push 0
push esi
mov byte [ebp - 4], 1
call fcn.0040b090
add esp, 0xc
mov ecx, esi
call fcn.00401540
mov byte [ebp - 4], 0
mov edi, eax
push edi
lea eax, [ebp - 0x648]
mov dword [ebp - 0x630], 0
push eax
push 3
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x5f0], 0
mov dword [ebp - 0x62c], 1
mov dword [ebp - 0x624], 1
mov dword [ebp - 0x61c], 1
mov dword [ebp - 0x614], 1
mov dword [ebp - 0x60c], 1
mov dword [ebp - 0x604], 1
mov dword [ebp - 0x5fc], 1
mov dword [ebp - 0x5f4], 2
mov dword [ebp - 0x5ec], 1
mov dword [ebp - 0x5e4], 1
mov dword [ebp - 0x5dc], 1
mov dword [ebp - 0x5d4], 1
mov dword [ebp - 0x648], 0x4ac4500a
mov dword [ebp - 0x644], 0xedb1b79
mov dword [ebp - 0x640], 1
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], edi
mov dword [ebp - 0x628], 0x435ac0
mov dword [ebp - 0x618], 0x435a74
mov dword [ebp - 0x610], 0x435ab0
mov dword [ebp - 0x608], 0x435a84
mov dword [ebp - 0x600], 0x435aa4
mov dword [ebp - 0x5f8], 0x435aac
mov dword [ebp - 0x5e8], 0x435ab8
mov dword [ebp - 0x5e0], 0x435ac4
mov dword [ebp - 0x5d8], 0x435a70
call dword [sym.imp.discord_game_sdk.dll_DiscordCreate]
mov esi, eax
test esi, esi
jne 0x403d0d
cmp dword [edi], eax
je 0x403d0d
push 0x5b8
push eax
lea eax, [ebp - 0x5d0]
mov dword [ebp - 0x680], edi
push eax
call fcn.0040b090
add esp, 0xc
lea eax, [ebp - 0x4c0]
push 0x80
push str._MUGP__Slow_Server
push eax
call fcn.0040d940
add esp, 0xc
mov byte [ebp - 0x441], 0
lea eax, [ebp - 0x540]
push 0x80
push str.www.muonlinegp.com
push eax
call fcn.0040d940
add esp, 0xc
mov byte [ebp - 0x4c1], 0
lea eax, [ebp - 0x430]
push 0x80
push str.gp_mu
push eax
call fcn.0040d940
add esp, 0xc
mov byte [ebp - 0x3b1], 0
lea eax, [ebp - 0x3b0]
push 0x80
push str.Mu_GP
push eax
call fcn.0040d940
mov eax, dword [0x437098]
add esp, 0xc
mov ecx, dword [0x43709c]
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x678]
mov byte [ebp - 0x331], 0
mov dword [ebp - 0x5d0], esi
mov dword [ebp - 0x43c], ecx
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_99014fba92fa4a7df72efcf73f4888ce___void__enum_discord::Result_.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_99014fba92fa4a7df72efcf73f4888ce___void__enum_discord::Result_.0
mov dword [ebp - 0x654], eax
mov byte [ebp - 4], 2
cmp dword [edi + 0x70], esi
jne 0x403b73
mov eax, dword [edi]
push eax
mov eax, dword [eax + 0x18]
call eax
mov dword [edi + 0x70], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4370a4]
cmp eax, dword [ecx + 4]
jle 0x403bab
push 0x4370a4
call fcn.00409547
add esp, 4
cmp dword [0x4370a4], 0xffffffff
jne 0x403bab
push 0x4370a4
call fcn.004094fd
add esp, 4
mov dword [ebp - 0x14], 0
push 0x28
mov byte [ebp - 4], 4
call fcn.0040961d
mov esi, eax
add esp, 4
mov dword [esi + 0x24], 0
mov ecx, dword [ebp - 0x654]
test ecx, ecx
je 0x403c13
lea eax, [ebp - 0x678]
cmp ecx, eax
jne 0x403c06
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp - 0x654]
test ecx, ecx
je 0x403c13
mov edx, dword [ecx]
lea eax, [ebp - 0x678]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x403c09
mov dword [esi + 0x24], ecx
mov dword [ebp - 0x654], 0
mov eax, dword [edi + 0x70]
lea ecx, [ebp - 0x5d0]
push 0x401320
push esi
push ecx
push eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], 0
call eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x654]
test ecx, ecx
je 0x403c5c
mov edx, dword [ecx]
lea eax, [ebp - 0x678]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x654], 0
push 0x403d60
push 2
call fcn.0040f6b4
mov eax, dword [edi]
add esp, 8
push eax
mov eax, dword [eax + 4]
call eax
mov esi, 1
mov dword [ebp - 0x650], 0x10
mov dword [ebp - 0x64c], 0
nop dword [eax]
mov eax, dword [edi]
push eax
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x650]
call fcn.004060a0
mov eax, 0x88888889
mul esi
mov eax, esi
shr edx, 6
mov ecx, edx
shl ecx, 4
sub ecx, edx
shl ecx, 3
sub eax, ecx
jne 0x403cd8
call fcn.00403730
test al, al
sete byte [0x4370a0]
movzx eax, byte [0x4370a0]
push eax
call fcn.00403f70
cmp byte [0x4370a0], 0
jne 0x403cea
inc esi
cmp esi, 0x8ca0
jl 0x403c90
push ecx
mov ecx, edi
call fcn.00401a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040942a
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x403d19
push ecx
mov ecx, edi
call fcn.00401a20
push esi
push ecx
mov edx, str.Failed_to_instantiate_discord_core___err
mov dword [ebp - 0x680], 0
mov ecx, 0x436138
call fcn.00405e30
add esp, 4
mov ecx, eax
call fcn.00403df0
mov edx, 0x431a38
mov ecx, eax
call fcn.00405e30
push 0xffffffffffffffff
call fcn.0040dd1f
int3