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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xf4]
cmp eax, dword [ecx + 8]
jbe 0x5b0139
sub esp, 0x174
lea eax, [0x66fc60]
mov dword [esp], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00447740
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
lea ecx, [0x6ab020]
mov dword [esp], ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447740
mov eax, dword [esp + 0xc]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x17c]
xor edx, edx
jmp 0x5af971
mov ebp, dword [esp + 0xa8]
add ebp, 0xc
lea esi, [ecx + 1]
mov eax, edx
mov edx, esi
mov ecx, ebp
mov ebx, dword [esp + 0x180]
cmp ebx, edx
jle 0x5afbd5
mov dword [esp + 0x6c], edx
mov dword [esp + 0xa8], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [0xa1c428]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005a00b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x5afb0d
mov ecx, dword [eax]
cmp dword [ecx + 0x4c], 1
jne 0x5afa1f
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
lea ebx, [0x68a100]
cmp edx, ebx
jne 0x5b0122
mov dword [esp + 0x90], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00527460
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.005af860
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 4]
test al, al
je 0x5afa6d
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xb0]
lea edi, [ebx + ecx*4]
mov ebp, dword [0xa43e50]
mov esi, dword [esp + 0xac]
mov edx, esi
lea esi, [esi + ecx*4]
test ebp, ebp
jne 0x5afa48
mov dword [ebx + ecx*4], eax
jmp 0x5afa4d
call fcn.0045f670
mov ebp, dword [0xa43e50]
mov eax, dword [eax]
test ebp, ebp
jne 0x5afa61
mov dword [edx + ecx*4], eax
jmp 0x5af95e
mov edi, esi
call fcn.0045f670
jmp 0x5af95e
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x178]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005a6cb0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00408890
mov eax, dword [esp + 4]
lea ecx, [0x67dee0]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x6cc2a8]
mov dword [esp], eax
mov dword [esp + 4], 0x43
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00511cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], ecx
add esp, 0x174
ret
mov dword [esp + 0x70], ecx
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x178]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005a6cb0
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6c8b6f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044afd0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
lea edx, [0x687ca0]
mov dword [esp], edx
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [0xa43e50]
test eax, eax
jne 0x5afbae
mov eax, dword [esp + 0x80]
mov dword [edi], eax
jmp 0x5afbba
mov eax, dword [esp + 0x80]
call fcn.0045f670
lea eax, [0x8955a4]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], edi
add esp, 0x174
ret
mov ecx, dword [esp + 0x178]
mov ebp, dword [ecx + 0x28]
movzx esi, byte [ebp + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5afd2f
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x5afbfa
lea ebp, [0x8421bc]
mov eax, dword [ebp]
mov edx, ebp
call eax
lea edi, [esp + 0xd0]
lea esi, [esp]
call fcn.0045fc4e
lea edi, [esp + 0xbc]
lea esi, [esp + 0xd0]
call fcn.0045fc4e
call fcn.0040ba40
mov eax, dword [esp]
mov dword [esp + 0xa4], eax
call fcn.0040ba40
mov eax, dword [esp]
mov dword [esp + 0xa0], eax
lea ecx, [0x6993c0]
mov dword [esp], ecx
call fcn.0040af90
mov eax, dword [esp + 0x180]
lea ecx, [eax - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
mov ebp, dword [esp + 0xac]
add ecx, ebp
mov edi, dword [esp + 4]
mov esi, dword [0xa43e50]
test esi, esi
jne 0x5afc8f
mov edx, dword [esp + 0xa4]
mov dword [edi], edx
mov edx, dword [esp + 0xa0]
mov dword [edi + 0x10], edx
jmp 0x5afcb7
mov eax, dword [esp + 0xa4]
call fcn.0045f670
lea edx, [edi + 0x10]
mov esi, edi
mov edi, edx
mov eax, dword [esp + 0xa0]
call fcn.0045f670
mov eax, dword [esp + 0x180]
mov edi, esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x9c], ecx
mov edx, edi
lea edi, [esp + 0xe4]
mov esi, eax
xor eax, eax
call fcn.0045f763
mov ecx, dword [esp + 0x178]
mov eax, ebp
mov ebp, dword [ecx + 0x28]
mov ebp, dword [ebp + 0x30]
mov dword [esp + 0xf0], ebp
lea edi, [esp + 0xf4]
mov ebp, esi
lea esi, [esp + 0xbc]
call fcn.0045fc4e
mov ecx, dword [esp + 0x178]
mov esi, ebp
mov ebp, dword [ecx + 0x28]
mov edi, ecx
mov ecx, dword [ebp + 0x40]
mov ebp, dword [ebp + 0x44]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], edx
xor ecx, ecx
jmp 0x5afffa
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x50]
test ebp, ebp
je 0x5aff2b
mov esi, dword [ebp + 8]
cmp esi, 0x4bcec15d
jne 0x5afd56
lea esi, [0x68a100]
cmp ebp, esi
je 0x5afd87
jmp 0x5aff2b
cmp esi, 0x8c7bd38d
jne 0x5afd6d
lea esi, [0x6a5300]
cmp ebp, esi
je 0x5afd87
jmp 0x5aff2b
cmp esi, 0xc0d9e4a4
jne 0x5aff2b
lea esi, [0x6856e0]
cmp ebp, esi
jne 0x5aff2b
mov dword [ecx + 0x5c], ebx
mov dword [ecx + 0x60], ebx
mov ebp, dword [0xa43e50]
test ebp, ebp
jne 0x5afda3
mov ebp, dword [esp + 0xb0]
mov dword [ecx + 0x58], ebp
jmp 0x5afdb6
lea edi, [ecx + 0x58]
mov edx, eax
mov eax, dword [esp + 0xb0]
call fcn.0045f670
mov eax, edx
mov dword [ecx + 0x50], ebx
mov dword [ecx + 0x54], ebx
mov ebp, dword [0xa43e50]
test ebp, ebp
jne 0x5afdcb
mov dword [ecx + 0x4c], eax
jmp 0x5afdd3
lea edi, [ecx + 0x4c]
call fcn.0045f670
mov eax, dword [ecx + 0x28]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x5afe2a
mov eax, dword [edx]
mov ebp, dword [ecx + 0x64]
mov esi, dword [ecx + 0x68]
mov edi, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x17c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x184]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x5afee6
mov ecx, dword [esp + 0x178]
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5afe84
mov dword [esp], ecx
call fcn.005aa590
lea edi, [esp + 0x118]
lea esi, [esp + 4]
call fcn.0045fb9a
mov eax, dword [esp + 0x178]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x78], ecx
lea edi, [esp]
lea esi, [esp + 0x118]
call fcn.0045fb9a
mov ecx, dword [esp + 0x78]
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
test eax, eax
jne 0x5afea1
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
add esp, 0x174
ret
mov dword [esp + 0x84], edx
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x178]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005a6cb0
mov eax, dword [esp + 0x98]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18c], eax
add esp, 0x174
ret
mov dword [esp + 0x88], ebx
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x178]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005a6cb0
mov eax, dword [esp + 0x98]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18c], eax
add esp, 0x174
ret
mov dword [esp], ecx
mov byte [esp + 4], 0x2b
call fcn.005a6cb0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
lea eax, [0x6cc8e0]
mov dword [esp], eax
mov dword [esp + 4], 0x48
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00511cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], ecx
add esp, 0x174
ret
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x9c]
mov edx, dword [eax + ecx*4]
mov ebx, dword [esp + 0xec]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00589720
mov eax, dword [esp + 0x74]
lea ecx, [eax + 1]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x180]
mov edi, dword [esp + 0x178]
cmp ecx, ebx
jl 0x5affb9
mov ecx, dword [eax]
mov dword [esp], ecx
lea edi, [esp + 4]
lea esi, [esp + 0xe4]
call fcn.0045fbfe
call fcn.00596120
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov esi, ebp
mov ebp, dword [esp + 0x44]
mov edi, ebp
mov ebp, dword [esp + 0x178]
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x6c], edx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5b0050
mov dword [ebp + 0x64], eax
jmp 0x5b005e
lea ecx, [ebp + 0x64]
mov edx, edi
mov edi, ecx
call fcn.0045f670
mov edi, edx
test ebx, ebx
jne 0x5b0077
mov eax, dword [esp + 0xac]
mov ecx, ebp
mov ebx, dword [esp + 0x180]
jmp 0x5afd2f
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], esi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005a6cb0
lea eax, [0x68dd40]
mov dword [esp], eax
call fcn.0040af90
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x180]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0xa43e50]
test eax, eax
jne 0x5b00c6
mov ecx, dword [esp + 0xac]
mov dword [edi], ecx
jmp 0x5b00d2
mov eax, dword [esp + 0xac]
call fcn.0045f670
mov ecx, dword [esp + 0x98]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5b00f2
mov eax, dword [esp + 0x94]
mov dword [edi + 0x10], eax
jmp 0x5b0107
lea ecx, [edi + 0x10]
mov eax, dword [esp + 0x94]
mov edx, edi
mov edi, ecx
call fcn.0045f670
mov edi, edx
lea eax, [0x895518]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], edi
add esp, 0x174
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x67e020]
mov dword [esp + 8], eax
call fcn.004085f0
nop
call fcn.0045e260
jmp fcn.005af8e0