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

Disassembly:
sub esp, 0x74
mov ecx, dword [0x9eae78]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, dword [ecx + 0x1e1f8]
push edi
mov eax, 0x12c
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0x1e
mov dword [esp + 0x5c], 0x5a
mov dword [esp + 0x60], 0x78
mov dword [esp + 0x64], 0x64
mov dword [esp + 0x68], 0x82
mov dword [esp + 0x6c], 0x10e
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x14a
mov dword [esp + 0x7c], 0x19a
mov dword [esp + 0x80], 0x1b8
mov dword [esp + 0x3c], 0x59
mov dword [esp + 0x40], 0x53
mov dword [esp + 0x44], 0x94
mov dword [esp + 0x48], 0x9b
mov dword [esp + 0x4c], 0xc9
mov dword [esp + 0x50], 0x169
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x12], bl
mov dword [esp + 0x28], edi
jmp 0x50b080
mov ecx, dword [0x9eae78]
mov esi, dword [esp + 0x18]
xor ebx, ebx
xor ebp, ebp
xor edi, edi
mov byte [esp + 0x12], bl
mov dword [esp + 0x28], edi
jmp 0x50b080
xor ebx, ebx
jmp 0x50b080
xor edx, edx
mov eax, 0x87
mov dword [edi + ecx + 0x102c], ebx
mov dword [edi + ecx + 0x1030], ebx
cmp dword [edi + ecx + 0x1028], eax
mov dword [edi + ecx + 0x2064], ebx
setne dl
mov dword [edi + ecx + 0x2068], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebp
mov dword [edi + ecx + 0xe40], edx
xor edx, edx
cmp dword [edi + ecx + 0x2060], eax
mov al, byte [esp + 0x12]
setne dl
add al, 1
mov byte [esp + 0x13], al
mov dword [edi + ecx + 0x1e78], edx
lea esp, [esp]
mov al, byte [esp + 0x12]
add al, bl
push eax
push esi
call fcn.0050bf60
mov cl, byte [esp + 0x1b]
add cl, bl
mov ebp, eax
push ecx
push esi
call fcn.0050bf60
mov ecx, dword [0x9eae78]
mov edx, dword [esp + 0x24]
lea esi, [edx + ecx]
add esp, 0x10
cmp dword [esi + 0xe40], 0
je 0x50b265
movss xmm0, dword [0x64e2b8]
mov edi, 0x168
mov ecx, edi
mov dword [esp + 0x34], edi
mov dword [esi + 0xe08], edi
xor edi, edi
mov ebx, 0x1b6
mov edx, 0xee
movss dword [esi + 0xe00], xmm0
movss xmm0, dword [0x65288c]
sub eax, ebp
mov dword [esp + 0x38], ebx
movss dword [esi + 0xe04], xmm0
mov dword [esi + 0xe0c], ebx
mov dword [esi + 0xe10], ecx
mov dword [esi + 0xe14], edx
mov dword [esi + 0xe18], 0xffc2
mov dword [esi + 0xe1c], 0x100
mov dword [esi + 0xe20], 0x16
mov byte [esi + 0xe2c], 0
mov dword [esi + 0xe24], edi
mov dword [esi + 0xe28], eax
nop
mov eax, dword [esp + 0x1c]
lea eax, [eax + edi*2]
lea ebp, [eax*8]
sub ebp, eax
push 1
shl ebp, 5
add ebp, esi
push 0xd
push ebp
call fcn.004b7a50
mov ebx, dword [esi + 0xe20]
add esp, 0xc
lea eax, [esi + 0xe48]
push 0
push eax
call fcn.005282d0
mov cx, word [esi + 0xe20]
push 1
imul cx, di
push 0xb8
push 0x170
push 1
push 2
push ebx
push 0x100
push ecx
mov ecx, dword [esi + 0xe1c]
push 0
push ebx
cvttss2si ebx, dword [esi + 0xe04]
push ecx
mov ecx, dword [esi + 0xe18]
push ecx
mov ecx, dword [esi + 0xe20]
imul ecx, edi
add ecx, ebx
push ecx
cvttss2si ecx, dword [esi + 0xe00]
push ecx
push edx
push eax
lea edx, [ebp + 0x10]
push edx
call fcn.004b8800
add esp, 0x4c
push 0
push 0x3000d
push 0
push 0x47
add ebp, 0x30
push ebp
call fcn.004b7b00
add edi, 1
add esp, 0x14
cmp edi, 8
jl 0x50b1a0
mov ecx, dword [0x9eae78]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add dword [esp + 0x14], 0x1038
mov esi, dword [esp + 0x18]
add ebx, 1
cmp ebx, 2
mov dword [esp + 0x24], ebx
jl 0x50b0e0
mov al, byte [esp + 0x12]
mov ebp, dword [esp + 0x14]
add al, 2
add edi, 0x2070
cmp al, 0x1a
mov byte [esp + 0x12], al
mov dword [esp + 0x28], edi
jb 0x50b075
push esi
call fcn.0050bf10
mov bl, al
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x30]
push eax
push esi
call fcn.0050bf60
add bl, 1
mov edi, eax
push ebx
push esi
call fcn.0050bf60
add esp, 0x14
sub eax, edi
lea ecx, [esp + 0x58]
lea edi, [esp + 0x40]
mov esi, 0x1a5b0
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
jmp 0x50b2f0
mov eax, dword [esp + 0x30]
lea esp, [esp]
mov edx, dword [0x9eae78]
mov ebx, dword [esp + 0x34]
add esi, edx
mov edx, dword [edi - 4]
mov edi, dword [edi]
mov dword [esi + 0xe40], 1
xor ebp, ebp
mov dword [esi + 0x102c], ebp
mov dword [esi + 0x1030], ebp
cvtsi2ss xmm0, edx
mov dword [esi + 0xe28], eax
mov eax, dword [ecx - 4]
mov dword [esi + 0xe10], edx
mov edx, dword [ecx]
mov dword [esi + 0xe30], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esi + 0xe08], ebx
mov ebx, dword [esp + 0x38]
mov dword [esi + 0xe34], edx
mov edx, dword [esp + 0x20]
movss dword [esi + 0xe00], xmm0
cvtsi2ss xmm0, edi
mov dword [esi + 0xe14], edi
movss dword [esi + 0xe04], xmm0
mov dword [esi + 0xe0c], ebx
mov dword [esi + 0xe18], 0xffc2
mov dword [esi + 0xe1c], 0x170
mov dword [esi + 0xe20], 0x16
mov byte [esi + 0xe2c], 0
mov dword [esi + 0xe24], ebp
mov dword [esi + 0xe38], eax
mov dword [esi + 0xe3c], ecx
lea edi, [edx + esi + 0x7b]
lea esp, [esp]
push 1
lea eax, [edi - 0x7b]
push 0xd
push eax
call fcn.004b7a50
lea eax, [esi + 0xe48]
push 0
push eax
call fcn.005282d0
mov ecx, dword [esi + 0xe20]
push 1
push 0xb8
mov bx, cx
push 0x170
imul bx, bp
push 1
push 2
push 0x17
push 0x170
push ebx
mov ebx, dword [esi + 0xe1c]
push 0
push ecx
imul ecx, ebp
push ebx
mov ebx, dword [esi + 0xe18]
push ebx
cvttss2si ebx, dword [esi + 0xe04]
add ecx, ebx
push ecx
cvttss2si ecx, dword [esi + 0xe00]
push ecx
push edx
push eax
lea edx, [edi - 0x6b]
push edx
call fcn.004b8800
add esp, 0x58
push 0
push 0x3000d
push 0
lea eax, [edi - 0x4b]
push 0x47
push eax
mov byte [edi], 0
mov byte [edi + 0x18], 0
mov byte [edi + 0x30], 0
mov byte [edi + 0x48], 0
call fcn.004b7b00
add ebp, 1
add esp, 0x14
add edi, 0x1c0
cmp ebp, 8
jl 0x50b3b0
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
add esi, 0x1038
add edi, 8
add ecx, 0x10
cmp esi, 0x1d658
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
jl 0x50b2e8
mov eax, dword [esp + 0x20]
add dword [esp + 0x1c], 1
add eax, 0xe0
cmp eax, 0x1c0
mov dword [esp + 0x20], eax
jl 0x50b05b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret