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

Disassembly:
push 0xffffffffffffffff
push 0x721a2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 4]
mov ebx, 1
mov dword [esp + 0x24], ebx
jb 0x5a3862
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
mov ecx, dword [esi + 8]
imul eax, eax, 0xb0
push ebp
push edi
mov edi, dword [eax + ecx + 0xa8]
inc edi
mov eax, edi
imul eax, eax, 0xb4
mov dword [esp + 0x3c], eax
add eax, 4
push eax
mov dword [esp + 0x48], edi
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x48], eax
xor edx, edx
cmp eax, edx
mov dword [esp + 0x58], edx
je 0x5a38c2
push 0x59f5e0
push 0x59f5b0
push edi
lea ebp, [eax + 4]
push 0xb4
push ebp
mov dword [eax], edi
call fcn.006fb55f
mov dword [esp + 0x1c], ebp
xor edx, edx
jmp 0x5a38c8
mov dword [esp + 0x1c], edx
mov ebp, edx
or edi, 0xffffffff
mov dword [ebp + 0xc], edi
mov dword [ebp + 0xb0], edi
mov eax, dword [esi + 0x64]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
cmp eax, edx
mov dword [esp + 0x58], edi
jne 0x5a38ef
xor eax, eax
mov dword [esp + 0x24], eax
jmp 0x5a3900
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
jmp 0x5a3900
mov eax, dword [esp + 0x24]
xor edx, edx
mov edi, edi
cmp eax, edx
je 0x5a3939
mov ecx, dword [esp + 0x64]
cmp ecx, edi
je 0x5a392a
cmp dword [eax], ecx
je 0x5a392a
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x38]
push edx
call fcn.005e9b90
mov dword [esp + 0x24], eax
jmp 0x5a3e42
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x7c], ecx
jmp 0x5a3943
cmp dword [esp + 0x64], edi
jne 0x5a3e52
mov ebx, dword [esi + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x70]
imul edx, edx, 0xb0
cmp dword [edx + ebx + 0xa8], 0
mov ecx, 1
mov dword [esp + 0x20], ecx
jbe 0x5a3ccf
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
lea eax, [ebx + ebp - 4]
lea edi, [ebp + 0x144]
lea ebx, [ebx + ebp - 0xb4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], eax
lea ebp, [ecx + ebp - 0x30]
jmp 0x5a39a0
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 8]
imul edx, edx, 0xb0
mov ecx, dword [edx + eax + 0xac]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x60]
add ecx, eax
push ecx
push edx
mov ecx, esi
call fcn.0059ec90
test eax, eax
je 0x5a3afc
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x5a3a31
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x5a3a31
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 8]
imul eax, eax, 0xb0
mov edx, dword [eax + ecx + 0xac]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax + 0x10]
mov eax, dword [esi + 0x10]
imul edi, edi, 0xb4
add edi, eax
push edi
mov ecx, ebx
call fcn.005a0360
mov ecx, dword [edi + 0xa8]
mov dword [ebx + 0xa8], ecx
mov edx, dword [edi + 0xac]
mov dword [ebx + 0xac], edx
mov eax, dword [edi + 0xb0]
jmp 0x5a3b9f
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 8]
imul edx, edx, 0xb0
mov ecx, dword [edx + eax + 0xac]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx + 0x10]
mov ecx, dword [esi + 0x10]
imul eax, eax, 0xb4
add eax, ecx
push eax
lea ecx, [edi - 0x90]
mov dword [esp + 0x44], eax
call fcn.0059f140
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5a3a7a
add eax, 0x84
mov dword [esp + 0x30], eax
jmp 0x5a3a82
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
push eax
lea ecx, [edi - 0xc]
call fcn.005e5c50
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov dword [edi - 4], ecx
mov edx, dword [eax + 0xc]
mov dword [edi], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 4], ecx
mov edx, dword [eax + 0x14]
mov dword [edi + 8], edx
mov cx, word [eax + 0x18]
mov word [edi + 0xc], cx
mov edx, dword [eax + 0x1c]
mov dword [edi + 0x10], edx
mov eax, dword [eax + 0x20]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xa8]
mov dword [edi + 0x18], ecx
mov edx, dword [eax + 0xac]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x1c], edx
mov eax, dword [eax + 0xb0]
mov dword [edi + 0x20], eax
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x20]
inc ecx
add edi, 0xb4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edi
jmp 0x5a3bd1
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 8]
imul edx, edx, 0xb0
mov ecx, dword [edx + eax + 0xac]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5a3bd1
mov edi, dword [eax + 0x10]
mov edx, dword [esi + 0x10]
imul edi, edi, 0xb4
add edi, edx
push edi
mov ecx, ebx
mov dword [esp + 0x44], edi
call fcn.0059f140
test edi, edi
je 0x5a3b47
add edi, 0x84
jmp 0x5a3b49
xor edi, edi
push edi
mov ecx, ebp
call fcn.005e5c50
mov eax, dword [edi + 8]
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [ebp + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [ebp + 0x14], eax
mov cx, word [edi + 0x18]
mov word [ebp + 0x18], cx
mov edx, dword [edi + 0x1c]
mov dword [ebp + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xa8]
mov dword [ebx + 0xa8], ecx
mov edx, dword [eax + 0xac]
mov dword [ebx + 0xac], edx
mov eax, dword [eax + 0xb0]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov dword [ebx + 0xb0], eax
mov eax, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
sub ebp, 0xb4
sub ebx, 0xb4
inc ecx
sub eax, 0xb4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov edx, dword [esi + 0x70]
mov ecx, dword [esp + 0x14]
imul edx, edx, 0xb0
mov eax, dword [esp + 0x18]
add ecx, 0x18
inc eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
cmp eax, dword [edx + ecx + 0xa8]
mov dword [esp + 0x18], eax
jb 0x5a39a0
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x5a3cc0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
sub edx, eax
imul edx, edx, 0xb4
lea ebp, [edx + ecx + 0xa8]
mov edx, dword [esp + 0x20]
imul edx, edx, 0xb4
lea edi, [edx + ecx + 0x90]
mov dword [esp + 0x40], eax
jmp 0x5a3c40
lea eax, [ebp - 0xa8]
push eax
lea ecx, [edi - 0x90]
call fcn.0059f140
lea ecx, [ebp - 0xa8]
test ecx, ecx
je 0x5a3c61
lea ebx, [ebp - 0x24]
jmp 0x5a3c63
xor ebx, ebx
push ebx
lea ecx, [edi - 0xc]
call fcn.005e5c50
mov edx, dword [ebx + 8]
mov dword [edi - 4], edx
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov ecx, dword [ebx + 0x10]
mov dword [edi + 4], ecx
mov edx, dword [ebx + 0x14]
mov dword [edi + 8], edx
mov ax, word [ebx + 0x18]
mov word [edi + 0xc], ax
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x10], ecx
mov edx, dword [ebx + 0x20]
mov dword [edi + 0x14], edx
mov eax, dword [ebp]
mov dword [edi + 0x18], eax
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 0x1c], ecx
mov edx, dword [ebp + 8]
mov dword [edi + 0x20], edx
add ebp, 0xb4
add edi, 0xb4
dec eax
mov dword [esp + 0x40], eax
jne 0x5a3c40
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
or edi, 0xffffffff
test eax, eax
je 0x5a3dce
mov edx, dword [esp + 0x48]
mov dword [esi + 0x7c], edx
mov edx, dword [esp + 0x10]
lea ebx, [edx + ecx]
cmp ebx, 1
jbe 0x5a3d4e
cmp ecx, 2
jne 0x5a3d2d
mov edi, dword [esi + 0x70]
mov ebx, dword [esi + 8]
imul edi, edi, 0xb0
mov edi, dword [edi + ebx + 0xac]
mov edx, dword [ebp + 0x164]
lea edx, [edx + edx*2]
mov edx, dword [edi + edx*8 + 0x10]
mov edi, dword [esi + 0x10]
imul edx, edx, 0xb4
mov ebx, dword [edx + edi + 0xa8]
or edi, 0xffffffff
test ebx, ebx
jne 0x5a3d2d
mov dword [esi + 0x6c], 1
cmp dword [esp + 0x64], edi
jne 0x5a3d36
mov dword [esi + 0x74], edi
mov edx, dword [esi + 0x6c]
push edx
mov edx, dword [esi + 0x70]
push edx
mov edx, dword [esp + 0x18]
push edx
dec ecx
push ecx
lea ecx, [ebp + 0xb4]
push ecx
jmp 0x5a3d9d
mov ebx, dword [esi + 0x8c]
test ebx, ebx
mov dword [esi + 0x6c], 1
je 0x5a3d89
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jne 0x5a3d89
cmp dword [esp + 0x64], edi
jne 0x5a3d70
mov dword [esi + 0x74], edi
mov ebx, dword [esi + 0x70]
push 1
push ebx
push edx
mov edx, dword [eax + 4]
dec ecx
push ecx
xor ecx, ecx
mov cl, byte [eax + 8]
mov eax, dword [eax]
push ebp
push ecx
push edx
push eax
jmp 0x5a3daa
cmp dword [esp + 0x64], edi
jne 0x5a3d92
mov dword [esi + 0x74], edi
mov ecx, dword [esi + 0x70]
push 1
push ecx
push 0
push 1
push ebp
mov ecx, dword [eax + 4]
xor edx, edx
mov dl, byte [eax + 8]
push edx
mov edx, dword [eax]
push ecx
push edx
mov ecx, esi
call fcn.005a1c00
mov ecx, dword [esi + 0x64]
mov ebx, eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x30], 0
call fcn.005e9b90
mov dword [esp + 0x24], eax
jmp 0x5a3e42
mov edx, 1
cmp ecx, edx
jbe 0x5a3e24
cmp ecx, 2
jne 0x5a3e13
mov ecx, dword [esi + 0x70]
mov ebx, dword [esi + 8]
imul ecx, ecx, 0xb0
mov eax, dword [ebp + 0x164]
mov ecx, dword [ecx + ebx + 0xac]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 0x10]
mov ecx, dword [esi + 0x10]
imul eax, eax, 0xb4
mov ebx, dword [eax + ecx + 0xa8]
test ebx, ebx
jne 0x5a3e13
mov dword [esi + 0x6c], edx
mov edx, dword [esi + 0x70]
mov eax, dword [ebp + 0x164]
push 0
push edx
push 0
push eax
jmp 0x5a3e36
mov ecx, dword [esi + 0x70]
push 0
push ecx
mov dword [esi + 0x6c], edx
mov edx, dword [ebp + 0xb0]
push 0
push edx
mov ecx, dword [esp + 0x70]
push edi
call fcn.004cb480
mov ebx, eax
test ebx, ebx
je 0x5a3e52
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x5a38f8
mov eax, dword [ebp - 4]
push 0x59f5e0
lea edi, [ebp - 4]
push eax
push 0xb4
push ebp
call fcn.006fa852
push edi
call fcn.006fa390
mov edi, dword [esp + 0x64]
mov eax, dword [edi + 0x34]
add esp, 4
test eax, eax
je 0x5a3fed
mov eax, dword [esp + 0x64]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x5a3e9b
mov dword [esi + 0x68], 1
mov dword [esi + 0x74], ecx
jmp 0x5a3fed
mov eax, dword [esi + 0x74]
cmp eax, ecx
je 0x5a3fed
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x7c]
imul edx, edx, 0xb0
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 8]
mov ecx, dword [edx + ecx + 0xac]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 0x10]
mov eax, dword [esi + 0x10]
imul edx, edx, 0xb4
lea ecx, [edx + eax + 0x84]
push ecx
lea ecx, [esp + 0x4c]
call fcn.005e5b00
push 0x73d71c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], 5
call fcn.005e5390
test eax, eax
je 0x5a3f4f
push 0x74a608
lea ecx, [esp + 0x4c]
call fcn.005e58c0
test eax, eax
je 0x5a3f12
mov edx, dword [edi + 4]
jmp 0x5a3f4b
push str.PLAYER
lea ecx, [esp + 0x4c]
call fcn.005e58c0
test eax, eax
je 0x5a3f37
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 8]
call fcn.004aea40
mov dword [esp + 0x60], eax
jmp 0x5a3f4f
lea ecx, [esp + 0x48]
push ecx
push edi
mov ecx, esi
call fcn.0059fc30
test eax, eax
je 0x5a3f4f
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x70]
mov eax, dword [0x7a39fc]
imul edx, edx, 0xb0
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x74]
xor ecx, ecx
mov cl, byte [esi + 0x78]
lea eax, [eax + eax*2]
push ecx
mov ecx, dword [esi + 8]
mov ecx, dword [edx + ecx + 0xac]
mov edx, dword [ecx + eax*8 + 0x10]
mov eax, dword [esi + 0x10]
imul edx, edx, 0xb4
lea ecx, [edx + eax + 8]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.0059f320
mov ebp, eax
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x60]
xor ecx, ecx
mov cl, byte [esi + 0x78]
push eax
mov byte [esp + 0x5c], 6
push ecx
push edx
mov ecx, edi
call fcn.005eda50
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esi + 0x70]
push ebp
push eax
push ecx
push edx
mov ecx, edi
call fcn.005ed690
mov ecx, eax
call fcn.0062e100
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 5
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x50]
pop edi
pop ebp
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 8