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

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x523700
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00523710
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
lea ecx, [0x6dc400]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046c5c0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp], ecx
call fcn.00522cf0
movzx eax, word [esp + 4]
mov word [esp + 0x1a], ax
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x522f0e
inc edx
cmp edx, ecx
jge 0x5236ec
mov dword [esp + 0x20], edx
cmp ax, 0xb
ja 0x5232b7
cmp ax, 4
ja 0x523109
cmp ax, 2
je 0x523076
cmp ax, 3
je 0x522fe5
cmp ax, 4
jne 0x522f0d
lea eax, [0x6db500]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x40]
movss xmm0, dword [ebx]
movss dword [esp + 0x2c], xmm0
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
call fcn.00409ea0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x6db500]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x522fd3
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
lea eax, [0x6db2c0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x58]
mov ebx, dword [ebx]
mov dword [esp], ebx
call fcn.00409ea0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x6db2c0]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x523064
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
lea eax, [0x6db240]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x5c]
movzx ebx, word [ebx]
mov word [esp], bx
call fcn.00409e30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x6db240]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x5230f7
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
cmp ax, 5
je 0x523212
cmp ax, 8
je 0x5231a9
cmp ax, 0xb
jne 0x522f0d
lea eax, [0x6db580]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x64]
movzx ebx, byte [ebx]
lea ebp, [0x6db580]
mov dword [edx], ebp
mov edx, dword [0x93f150]
lea esi, [ecx + eax*8 + 4]
lea edi, [0x8f4440]
lea ebx, [edi + ebx*8]
test edx, edx
je 0x523197
mov edx, dword [esi]
call fcn.00471830
mov dword [edi], edx
lea edi, [0x8f4440]
mov dword [esi], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.005229f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00465f00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
lea ebx, [ecx + eax*8 + 4]
mov ebp, dword [esp + 8]
lea esi, [0x6db180]
mov dword [edx], esi
mov edx, dword [0x93f150]
test edx, edx
je 0x523200
call fcn.00471840
mov dword [edi], ebp
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov dword [ebx], ebp
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
lea eax, [0x6db540]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x3c]
movsd xmm0, qword [ebx]
movsd qword [esp + 0x24], xmm0
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00465e60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x6db540]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x5232a5
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
cmp ax, 0x11
ja 0x523470
cmp ax, 0xc
je 0x5233e3
cmp ax, 0x10
je 0x523361
cmp ax, 0x11
jne 0x522f0d
lea eax, [0x6db200]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x50]
movzx ebx, byte [ebx]
lea ebp, [0x6db200]
mov dword [edx], ebp
mov edx, dword [0x93f150]
lea esi, [ecx + eax*8 + 4]
lea edi, [0x8f4440]
lea ebx, [edi + ebx*8]
test edx, edx
je 0x52334f
mov edx, dword [esi]
call fcn.00471830
mov dword [edi], edx
lea edi, [0x8f4440]
mov dword [esi], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
lea eax, [0x6db1c0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x60]
movzx ebx, byte [ebx]
lea ebp, [0x6db1c0]
mov dword [edx], ebp
mov edx, dword [0x93f150]
lea esi, [ecx + eax*8 + 4]
lea edi, [0x8f4440]
lea ebx, [edi + ebx*8]
test edx, edx
je 0x5233d1
mov edx, dword [esi]
call fcn.00471830
mov dword [edi], edx
lea edi, [0x8f4440]
mov dword [esi], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
lea eax, [0x6ff0e0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00523d00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 4]
lea ebp, [ecx + eax*8 + 4]
mov esi, dword [esp + 8]
mov dword [edx], ebx
mov edx, dword [0x93f150]
test edx, edx
je 0x52344f
call fcn.00471840
mov dword [edi], esi
mov edx, dword [ebp]
mov dword [edi + 4], edx
mov dword [ebp], esi
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0051f7c0
movzx eax, word [esp + 0x1a]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x522f0d
cmp ax, 0x13
jbe 0x5235be
cmp ax, 0x14
je 0x523526
cmp ax, 0x15
jne 0x522f0d
lea eax, [0x6db380]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00465e60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x6db380]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x523514
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
lea eax, [0x6db340]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00465e60
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
lea ebp, [0x6db340]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x5235ac
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
cmp ax, 0x12
jne 0x52365b
lea eax, [0x6db280]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x4c]
movzx ebx, word [ebx]
mov word [esp], bx
call fcn.00409e30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x6db280]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x523649
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
lea eax, [0x6db300]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [esp], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00522910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x48]
mov ebx, dword [ebx]
mov dword [esp], ebx
call fcn.00409ea0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 4]
lea ebp, [0x6db300]
mov esi, dword [esp + 0x34]
mov dword [esi], ebp
mov esi, dword [0x93f150]
test esi, esi
je 0x5236da
call fcn.00471840
mov dword [edi], ebx
mov esi, dword [edx]
mov dword [edi + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
movzx eax, word [esp + 0x1a]
jmp 0x522f0d
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call fcn.00470430
jmp fcn.00522ea0