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

Disassembly:
push 0xffffffffffffffff
push 0x4b62d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
mov eax, dword [ebx + 4]
push edi
xor edi, edi
mov dword [esp + 0x28], ecx
cmp eax, edi
je 0x414280
mov edx, dword [ebx + 8]
sub edx, eax
sar edx, 4
cmp edx, 2
jb 0x414280
mov eax, dword [ecx + 4]
lea ebp, [ecx + 4]
mov ecx, ebp
mov dword [esp + 0x24], ebp
call dword [eax + 0xc]
mov cl, byte [esp + 0x13]
xor eax, eax
mov dword [esp + 0x138], edi
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
cmp esi, ecx
mov byte [esp + 0x138], 1
je 0x413f75
mov edx, dword [esp + 0x28]
lea ebp, [edx + 0x4c]
mov al, byte [esi]
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], al
call fcn.004061f0
mov ecx, dword [0x4b9364]
push ecx
push edi
push esi
lea ecx, [esp + 0x4c]
call fcn.00405de0
lea edx, [esp + 0x13]
lea eax, [esp + 0x37]
push edx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x140], 2
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.004142a0
lea ecx, [esp + 0x40]
mov byte [esp + 0x138], 3
push ecx
lea ecx, [esp + 0x7c]
call fcn.00405420
lea edx, [esp + 0x58]
lea ecx, [esp + 0x88]
push edx
mov byte [esp + 0x13c], 4
call fcn.00414b00
lea eax, [esp + 0x78]
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x140], 5
call fcn.00415780
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x38]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], eax
call fcn.00416b40
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x138], 6
call fcn.004143a0
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x13c], 3
call fcn.004061f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x138], 2
call fcn.004143a0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00416dd0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x13c], 1
call fcn.004061f0
mov eax, dword [ebx + 8]
add esi, 0x10
cmp esi, eax
jne 0x413e31
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x413f71
mov ebp, dword [esp + 0x1c]
sub ebp, eax
sar ebp, 2
cmp ebp, 2
mov dword [esp + 0x50], ebp
jae 0x413fbd
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x140], 0
call fcn.00416f90
mov eax, dword [esp + 0x18]
push eax
call fcn.004a5c41
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov edx, dword [ebp]
add esp, 4
mov ecx, ebp
mov dword [esp + 0x138], 0xffffffff
call dword [edx + 0x10]
jmp 0x414280
lea ecx, [ebp - 1]
cmp ecx, edi
jbe 0x414201
mov ebx, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], ebx
jmp 0x413fdb
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push 0
mov esi, dword [ecx + eax]
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], esi
mov dl, byte [esi + 0xc]
lea edi, [esi + 0xc]
mov byte [esp + 0x44], dl
call fcn.004061f0
mov eax, dword [0x4b9364]
lea ecx, [esp + 0x40]
push eax
push 0
push edi
call fcn.00405de0
cmp ebx, ebp
mov byte [esp + 0x138], 7
mov dword [esp + 0x70], ebx
jae 0x4141c7
mov ecx, dword [esp + 0x18]
push 0
mov edi, dword [ecx + ebx*4]
lea ecx, [esp + 0x5c]
mov dl, byte [edi + 0xc]
lea ebp, [edi + 0xc]
mov byte [esp + 0x5c], dl
call fcn.004061f0
mov eax, dword [0x4b9364]
lea ecx, [esp + 0x58]
push eax
push 0
push ebp
call fcn.00405de0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jne 0x41408c
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x414068
mov ecx, 0x4b9360
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x414075
mov eax, 0x4b9360
push ecx
push eax
call fcn.004a63a6
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41419d
lea ecx, [esp + 0xb0]
call fcn.00411500
lea edx, [esp + 0x58]
push eax
push edx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x140], 9
call fcn.00414410
push eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x140], 0xa
call fcn.00414370
mov esi, dword [eax]
lea ecx, [esp + 0xd0]
call fcn.00412620
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x13c], 8
call fcn.004061f0
add esi, 0x1c
mov edx, dword [esp + 0x144]
lea ebp, [esi + 0x10]
mov byte [ebp], 0
mov ecx, dword [0x4b9364]
push ecx
push 0
push edx
mov ecx, esi
call fcn.00405de0
lea ecx, [esp + 0x78]
call fcn.00411500
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0x140], 0xb
call fcn.00414410
lea ecx, [esp + 0xa8]
push eax
push ecx
lea ecx, [edi + 0x24]
mov byte [esp + 0x140], 0xc
call fcn.00414370
mov edi, dword [eax]
lea ecx, [esp + 0x100]
call fcn.00412620
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x13c], 8
call fcn.004061f0
add edi, 0x1c
mov eax, dword [esp + 0x144]
mov ecx, edi
lea ebx, [edi + 0x10]
mov byte [ebx], 0
mov edx, dword [0x4b9364]
push edx
push 0
push eax
call fcn.00405de0
mov dword [esi + 0x14], ebx
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x38]
mov dword [edi + 0x14], ebp
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x13c], 7
call fcn.004061f0
mov eax, dword [esp + 0x50]
inc ebx
cmp ebx, eax
mov dword [esp + 0x70], ebx
jb 0x414021
mov ebx, dword [esp + 0x28]
mov ebp, eax
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x13c], 1
call fcn.004061f0
mov edi, dword [esp + 0x30]
lea eax, [ebp - 1]
add edi, 4
inc ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], ebx
lea ecx, [ebx - 1]
cmp ecx, eax
jb 0x413fd7
mov ebx, dword [esp + 0x140]
xor edi, edi
mov edx, dword [esp + 0x144]
mov ecx, 0x4b9360
mov eax, dword [edx + 4]
cmp eax, edi
je 0x414216
mov ecx, eax
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x414221
xor ebx, ebx
jmp 0x414229
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 4
push ecx
push ebx
push str.Players_AssociateBevy:__u_on___s_
call fcn.0042feb0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov byte [esp + 0x138], 0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00416f90
mov edx, dword [esp + 0x18]
push edx
call fcn.004a5c41
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, dword [ecx]
add esp, 4
mov dword [esp + 0x138], 0xffffffff
call dword [eax + 0x10]
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret 8