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

Disassembly:
push 0xffffffffffffffff
push 0x4b1cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ce090]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
test esi, esi
jne 0x41602c
call fcn.004599e0
cmp dword [esi + 8], 0
ja 0x416037
call fcn.004599e0
cmp dword [0x513dbc], 0
je 0x416045
call fcn.004599e0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
mov dword [0x4d2470], eax
mov eax, dword [esp + 0x74]
mov dword [0x4d2480], edx
mov edx, dword [edi + 4]
mov esi, dword [edx]
mov dword [0x4d2474], ecx
mov dword [0x4d2478], ebx
mov dword [0x4d247c], edi
mov dword [0x4d246c], eax
lea esp, [esp]
cmp esi, edx
sete al
test al, al
sete al
test al, al
je 0x4160d6
cmp esi, dword [edi + 4]
je 0x4160cc
mov ebp, dword [ebx + 4]
mov edi, dword [esi + 8]
mov eax, dword [ebp]
lea esp, [esp]
cmp eax, ebp
je 0x4160bd
cmp eax, dword [ebx + 4]
je 0x4160d1
mov ecx, dword [eax + 8]
mov bl, byte [ecx]
cmp bl, byte [edi]
mov ebx, dword [esp + 0x68]
je 0x4160ba
mov eax, dword [eax]
jmp 0x4160a0
mov dword [edi + 2], ecx
mov ecx, dword [esp + 0x6c]
cmp esi, dword [ecx + 4]
je 0x4160cc
mov esi, dword [esi]
mov edi, ecx
jmp 0x416080
jmp 0x426dd0
jmp 0x426b10
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
mov esi, dword [eax]
mov dword [esp + 0x68], eax
cmp esi, eax
sete al
test al, al
sete al
test al, al
je 0x416131
mov eax, dword [esp + 0x70]
cmp esi, dword [eax + 4]
je 0x41612c
mov ebp, dword [ebx + 4]
mov edi, dword [esi + 8]
mov eax, dword [ebp]
cmp eax, ebp
je 0x41611b
mov ecx, dword [eax + 8]
mov dl, byte [ecx]
cmp dl, byte [edi + 2]
je 0x416115
mov eax, dword [eax]
jmp 0x416103
mov dword [edi + 0x228], ecx
mov eax, dword [esp + 0x70]
cmp esi, dword [eax + 4]
je 0x41612c
mov esi, dword [esi]
mov eax, dword [esp + 0x68]
jmp 0x4160e3
jmp 0x427090
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
cmp eax, dword [ecx + 4]
mov edx, dword [esp + 0x7c]
mov dword [0x4d2484], ecx
mov dword [0x4d2488], edx
jne 0x416154
jmp fcn.0040b1c0
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x74]
mov dword [0x4d2468], eax
mov ebp, dword [ecx + 4]
mov esi, dword [ebp]
cmp esi, ebp
sete al
test al, al
sete al
test al, al
je 0x4161a9
mov edx, dword [esp + 0x74]
cmp esi, dword [edx + 4]
je 0x4161a4
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea ebx, [esp + 0x14]
lea edi, [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call fcn.0041a8e0
mov edx, dword [esp + 0x74]
cmp esi, dword [edx + 4]
je 0x4161a4
mov esi, dword [esi]
jmp 0x416166
jmp 0x427350
mov eax, dword [0x4d2484]
mov edx, dword [eax + 4]
mov ecx, dword [edx]
mov esi, eax
test esi, esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], eax
je 0x41673d
lea ecx, [ecx]
cmp esi, dword [esp + 0x24]
jne 0x41673d
cmp ecx, edx
sete al
test al, al
sete al
test al, al
je 0x416355
cmp ecx, dword [esi + 4]
je 0x41614f
mov esi, dword [ecx + 8]
movzx eax, byte [esi + 0xa]
push eax
call fcn.00416ca0
mov ecx, dword [esi + 6]
add esp, 4
push ecx
mov dword [esi + 0x14], eax
call fcn.00416750
mov edi, dword [0x4d2474]
add esp, 4
xor ebx, ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov ebp, dword [edi + 4]
mov eax, dword [ebp]
cmp edi, ebx
je 0x416350
cmp edi, edi
jne 0x416350
cmp eax, ebp
je 0x41624d
mov ecx, dword [eax + 8]
mov dl, byte [ecx]
cmp dl, byte [esi + 2]
je 0x41624a
mov eax, dword [eax]
jmp 0x416228
mov dword [esi + 0x1c], ecx
mov edi, dword [0x4d2478]
mov dword [esi + 0x20], ebx
mov ebp, dword [edi + 4]
mov eax, dword [ebp]
lea esp, [esp]
cmp edi, ebx
je 0x41634b
cmp edi, edi
jne 0x41634b
cmp eax, ebp
je 0x416285
mov ecx, dword [eax + 8]
mov dl, byte [ecx]
cmp dl, byte [esi + 3]
je 0x416282
mov eax, dword [eax]
jmp 0x416260
mov dword [esi + 0x20], ecx
mov edx, dword [0x4d2480]
mov dword [esi + 0x24], ebx
mov edi, dword [edx + 4]
mov eax, dword [edi]
cmp edx, ebx
je 0x416346
cmp edx, edx
jne 0x416346
cmp eax, edi
je 0x4162ba
mov ecx, dword [eax + 8]
mov bp, word [ecx]
cmp bp, word [esi + 4]
je 0x4162b7
mov eax, dword [eax]
jmp 0x416293
mov dword [esi + 0x24], ecx
cmp byte [esi + 2], 0
je 0x4162eb
cmp byte [esi + 3], 0
jne 0x4162eb
cmp word [esi + 4], bx
jne 0x4162eb
push str.GlobalManager
call fcn.00416d00
add esp, 4
cmp dword [esi + 0x14], eax
jne 0x4162eb
mov eax, dword [esi + 0x1c]
mov cx, word [esi]
mov word [eax + 0x121], cx
push str.MachineManager
call fcn.00416d00
add esp, 4
cmp dword [esi + 0x14], eax
jne 0x416307
mov edx, dword [esi + 0x18]
mov ax, word [esi]
mov word [edx + 0x45], ax
mov cx, word [esi]
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x2c]
mov word [esp + 0x1c], cx
mov dword [esp + 0x20], esi
call fcn.0041a230
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp eax, dword [edx + 4]
je 0x41614f
mov eax, dword [eax]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov ecx, eax
jmp 0x4161d0
jmp 0x427100
jmp 0x426b80
jmp 0x4268c0
mov edi, dword [0x4d2488]
test edi, edi
mov ebp, dword [edi + 4]
mov esi, dword [ebp]
mov dword [esp + 0x24], edi
je 0x416738
lea ecx, [ecx]
cmp edi, dword [esp + 0x24]
jne 0x416738
cmp esi, ebp
sete al
test al, al
sete al
test al, al
je 0x4163c3
cmp esi, dword [edi + 4]
je 0x4163be
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
mov dword [eax + 0xd], 0
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0x30]
push eax
mov ebx, 0x513dc0
mov dword [esp + 0x24], ecx
call fcn.0041a420
cmp esi, dword [edi + 4]
je 0x4163be
mov esi, dword [esi]
jmp 0x416370
jmp fcn.0040af20
call fcn.00415c20
mov eax, dword [0x4d2480]
mov ebp, dword [eax + 4]
mov esi, dword [ebp]
mov ecx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
lea ecx, [ecx]
cmp ecx, dword [esp + 0x24]
jne 0x416346
cmp esi, ebp
sete al
test al, al
sete al
test al, al
je 0x416430
cmp esi, dword [ecx + 4]
je 0x41612c
mov eax, dword [esi + 8]
mov cx, word [eax]
lea ebx, [esp + 0x1c]
lea edi, [esp + 0x2c]
mov word [esp + 0x1c], cx
mov dword [esp + 0x20], eax
call fcn.00419e20
mov edx, dword [esp + 0x14]
cmp esi, dword [edx + 4]
je 0x41612c
mov esi, dword [esi]
mov ecx, edx
jmp 0x4163e0
mov eax, dword [0x4d24bc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416456
mov ecx, dword [0x4d24bc]
push 0
push 0
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.0040a370
xor edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], edi
mov eax, dword [0x4d2468]
movzx ecx, word [eax]
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00415990
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
mov ebx, edx
add esp, 8
mov dword [esp + 0x2c], ebx
mov ebp, ecx
mov dword [esp + 0x28], eax
jmp 0x4164a0
lea edx, [esp + 0x38]
cmp ebx, edx
jne 0x416738
cmp ebp, dword [esp + 0x28]
sete al
test al, al
sete al
test al, al
je 0x416661
cmp ebp, dword [ebx + 4]
je 0x4163be
mov esi, dword [ebp + 8]
mov edi, dword [0x4d2468]
call fcn.004168a0
mov esi, eax
test esi, esi
je 0x4165c3
mov eax, dword [esi + 0x14]
mov al, byte [eax]
cmp al, 2
je 0x4164f6
cmp al, 3
je 0x4164f6
cmp al, 4
je 0x4164f6
cmp al, 5
jne 0x416512
mov ecx, dword [0x4d2468]
mov edx, dword [ecx + 0x14]
cmp al, byte [edx]
jne 0x416508
call fcn.004599e0
cmp dword [esi + 0x24], 0
jne 0x4165d6
mov eax, dword [0x4d2468]
cmp dword [eax + 0x24], 0
je 0x416527
cmp dword [esi + 0x24], 0
jne 0x4165c3
mov edx, dword [0x513e44]
mov eax, dword [edx + 4]
cmp byte [eax + 0xf], 0
mov ecx, edx
jne 0x416555
movzx edi, word [esi]
jmp 0x416540
cmp word [eax + 0xc], di
jae 0x41654b
mov eax, dword [eax + 8]
jmp 0x41654f
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xf], 0
je 0x416540
cmp ecx, edx
mov edi, 0x513e40
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edi
je 0x416575
mov ax, word [esi]
cmp ax, word [ecx + 0xc]
jb 0x416575
lea eax, [esp + 0x1c]
jmp 0x416581
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
lea eax, [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
mov eax, dword [eax + 4]
je 0x41665c
cmp ecx, edi
jne 0x41665c
cmp eax, edx
jne 0x4165c3
mov ecx, dword [esi + 0x14]
movzx edx, word [esi]
add ecx, 1
push ecx
push edx
push str.Add_ServerNotify_:___d_____s
push 0
call fcn.0040df00
add esp, 0x10
mov ebx, esi
lea edi, [esp + 0x44]
call fcn.0041b510
mov ebx, dword [esp + 0x2c]
cmp ebp, dword [ebx + 4]
je 0x4163be
mov ebp, dword [ebp]
xor edi, edi
jmp 0x4164a0
push str.kek____why_did_you_assign_shard_to_common_manager_server______plz_check_out_server_license_table____
call fcn.00458840
add esp, 4
push str.kek____why_did_you_assign_shard_to_common_manager_server______plz_check_out_server_license_table____
push 0x2000000
call fcn.0040df00
add esp, 8
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x40], 0
je 0x416635
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.00480ed5
mov ecx, dword [esp + 0x40]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x416620
push ecx
call fcn.00480ed5
add esp, 4
mov dword [esp + 0x3c], 0
xor al, al
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
jmp fcn.00420790
cmp dword [0x513e48], edi
jne 0x4166d7
push str.There_is_no_server_notify_target_____check_whether_Farm_has_assigned_shard_or_not..._
call fcn.00458840
add esp, 4
push str.There_is_no_server_notify_target_____check_whether_Farm_has_assigned_shard_or_not..._
push 0x2000000
call fcn.0040df00
add esp, 8
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x40], edi
je 0x4166c5
jmp 0x4166b0
mov esi, dword [eax]
push eax
call fcn.00480ed5
mov ecx, dword [esp + 0x40]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x4166b0
push ecx
call fcn.00480ed5
add esp, 4
mov dword [esp + 0x3c], edi
jmp 0x416646
mov dword [esp + 0x58], 0xffffffff
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x40], edi
je 0x416715
lea ebx, [ebx]
mov esi, dword [eax]
push eax
call fcn.00480ed5
mov ecx, dword [esp + 0x40]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x416700
push ecx
call fcn.00480ed5
add esp, 4
mov dword [esp + 0x3c], edi
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
jmp 0x40af90
jmp fcn.0040b230