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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x652d05
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov eax, dword [esi + 0x1ec]
mov dword [esi + 0x1e8], ebx
cmp eax, ebp
jne 0x50eaf9
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
mov eax, dword [esi + 0x170]
push edi
cmp eax, ebp
je 0x50ebad
mov eax, dword [esi + 0x174]
cmp eax, ebp
je 0x50eb2f
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push fcn.00643d26
push ecx
push 4
push eax
call fcn.00645036
push edi
call fcn.00643cfc
add esp, 4
mov edx, dword [esi + 0x178]
lea ecx, [esi + 0x178]
call dword [edx + 0x28]
mov eax, dword [esi + 0x170]
xor edi, edi
cmp eax, ebp
jle 0x50eb80
mov eax, dword [esi + 0x9c]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x60]
mov eax, dword [esi + 0x9c]
mov ecx, dword [eax + edi*4]
cmp ecx, ebp
je 0x50eb75
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0x9c]
mov dword [eax + edi*4], ebp
mov eax, dword [esi + 0x170]
inc edi
cmp edi, eax
jl 0x50eb4a
mov eax, dword [esi + 0x9c]
push eax
call fcn.00643cfc
mov eax, dword [esi + 0xa0]
push eax
call fcn.00643cfc
add esp, 8
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x170], ebp
mov edx, dword [esi + 0x178]
lea edi, [esi + 0x178]
push ebx
mov ecx, edi
call dword [edx + 0x1c]
push ebp
push 0x80
mov ecx, edi
call fcn.0052f6c0
cmp dword [0x826c00], ebp
jle 0x50ec3f
lea ebx, [esi + 0x27c]
call dword [fcn.0065f4e0]
push eax
mov ecx, ebx
call fcn.00643d92
cmp dword [0x826c00], ebp
jle 0x50ec3f
mov edi, 0x8599
mov ebp, 0x6efc40
mov dword [esp + 0x7c], 0x6ecd60
mov eax, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebp
push edi
cmp byte [eax], 0
jne 0x50ec16
push 0x800
jmp 0x50ec18
push 0
mov ecx, ebx
call fcn.005305e0
mov eax, dword [esp + 0x7c]
add ebp, 0x32
add eax, 0x12c
inc edi
mov dword [esp + 0x7c], eax
mov eax, dword [0x826c00]
lea ecx, [edi - 0x8599]
cmp ecx, eax
jl 0x50ec02
mov eax, dword [0x826c04]
test eax, eax
jle 0x50ecb6
lea ebx, [esi + 0x2ec]
call dword [fcn.0065f4e0]
push eax
mov ecx, ebx
call fcn.00643d92
mov eax, dword [0x826c04]
test eax, eax
jle 0x50ecb6
mov edi, 0x85c1
mov ebp, 0x6ec914
mov dword [esp + 0x7c], 0x6eb1a4
mov edx, dword [esp + 0x7c]
push 0xffffffffffffffff
push ebp
push edi
cmp byte [edx], 0
jne 0x50ec8b
push 0x800
jmp 0x50ec8d
push 0
mov ecx, ebx
call fcn.005305e0
mov ecx, dword [esp + 0x7c]
add ebp, 0x32
add ecx, 0x12c
inc edi
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x826c04]
lea eax, [edi - 0x85c1]
cmp eax, ecx
jl 0x50ec77
mov edi, 4
call fcn.0047e280
test eax, eax
je 0x50ecf8
lea ecx, [esi + 0x35c]
push ecx
call fcn.004909e0
mov edx, dword [esi + 0x360]
add esp, 4
lea ecx, [esi + 0x178]
push 0xffffffffffffffff
push 0x69afd4
push edx
push 0x410
push 2
call fcn.00530630
mov edi, 5
mov eax, dword [0x826c18]
test eax, eax
je 0x50ed30
lea eax, [esi + 0x43c]
push eax
call fcn.00490920
mov ecx, dword [esi + 0x440]
add esp, 4
push 0xffffffffffffffff
push 0x6e5c9a
push ecx
push 0x410
push edi
lea ecx, [esi + 0x178]
call fcn.00530630
inc edi
mov eax, dword [0x826c00]
test eax, eax
jle 0x50ed58
mov edx, dword [esi + 0x280]
push 0xffffffffffffffff
push 0x6eccfc
push edx
push 0x410
push edi
lea ecx, [esi + 0x178]
call fcn.00530630
mov eax, dword [0x826c04]
test eax, eax
jle 0x50ed81
mov eax, dword [esi + 0x2f0]
push 0xffffffffffffffff
push 0x6eb140
push eax
inc edi
push 0x410
push edi
lea ecx, [esi + 0x178]
call fcn.00530630
mov ecx, dword [esi + 0x17c]
push ecx
call dword [fcn.0065f598]
mov edi, eax
mov dword [esi + 0x170], edi
lea edx, [edi*4 + 4]
push edx
call fcn.00643b70
add esp, 4
mov dword [esp + 0x7c], eax
test eax, eax
mov dword [esp + 0x74], 0
je 0x50edd0
push fcn.00643d26
push fcn.00643d62
lea ebx, [eax + 4]
push edi
push 4
push ebx
mov dword [eax], edi
call fcn.0064519d
jmp 0x50edd2
xor ebx, ebx
mov eax, dword [esi + 0x170]
xor edi, edi
test eax, eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esi + 0x174], ebx
jbe 0x50ee4e
mov eax, dword [esi + 0x174]
mov ecx, dword [esi + 0x17c]
push 0x400
push 0
push 0
push edi
push ecx
lea ebp, [eax + edi*4]
call dword [fcn.0065f48c]
test eax, eax
jle 0x50ee3c
lea ebx, [eax + eax + 2]
mov ecx, ebp
push ebx
call fcn.00644a52
mov edx, dword [esi + 0x17c]
push 0x400
push ebx
push eax
push edi
push edx
call dword [fcn.0065f48c]
push 0xffffffffffffffff
mov ecx, ebp
call fcn.0064456c
jmp 0x50ee43
mov ecx, ebp
call fcn.00644560
mov eax, dword [esi + 0x170]
inc edi
cmp edi, eax
jb 0x50edec
mov edi, 4
call fcn.0047e280
test eax, eax
je 0x50ee74
mov ecx, dword [esi + 0x174]
push 0x69afd4
add ecx, 8
call fcn.006440b6
mov edi, 5
mov eax, dword [0x826c18]
xor ebx, ebx
cmp eax, ebx
je 0x50ee93
mov eax, dword [esi + 0x174]
push 0x6e5c9a
lea ecx, [eax + edi*4]
call fcn.006440b6
inc edi
cmp dword [0x826c00], ebx
jle 0x50eeae
mov ecx, dword [esi + 0x174]
push 0x6eccfc
lea ecx, [ecx + edi*4]
call fcn.006440b6
cmp dword [0x826c04], ebx
jle 0x50eeca
mov edx, dword [esi + 0x174]
push 0x6eb140
lea ecx, [edx + edi*4 + 4]
call fcn.006440b6
call fcn.00643d14
mov eax, dword [eax + 0xc]
mov edi, dword [0x82678c]
mov dword [esp + 0x14], eax
call fcn.00643d14
mov dword [eax + 0xc], edi
mov ecx, dword [esi + 0x170]
shl ecx, 2
mov eax, 0x6ba94c
push ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x6ba934
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
call fcn.00643b70
mov edi, dword [esi + 0x170]
mov dword [esi + 0x9c], eax
mov edx, edi
shl edx, 4
push edx
call fcn.00643b70
add esp, 8
cmp eax, ebx
je 0x50ef45
dec edi
mov dword [esp + 0x7c], edi
jmp 0x50ef47
xor eax, eax
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x170]
cmp eax, ebx
jbe 0x50f115
xor edi, edi
mov dword [esp + 0x7c], 0x3e8
push 0x158
call fcn.00643b70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x74], 1
je 0x50efa8
mov ecx, dword [esi + 0x174]
push 0xff00
push 0
push 9
mov edx, dword [ecx + edi]
push 3
push edx
mov edx, dword [esp + 0x90]
push edx
mov ecx, eax
call fcn.0050a8e0
jmp 0x50efaa
xor eax, eax
mov ecx, dword [esi + 0x9c]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x78], 0xffffffff
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x9c]
mov ecx, dword [edi + eax]
call fcn.0050baf0
mov ecx, dword [0x82678c]
push 0
push 0x6ba920
push 0x69b178
push ecx
mov ecx, 0x898828
call fcn.00513370
mov edx, dword [0x82678c]
push 1
push 0x6ba920
push 0x69b178
push edx
mov ecx, 0x898828
mov ebp, eax
call fcn.00513370
mov ebx, eax
mov eax, dword [0x82678c]
push 2
push 0x6ba920
push 0x69b178
push eax
mov ecx, 0x898828
call fcn.00513370
mov ecx, dword [esi + 0x9c]
push ebx
push ebp
mov dword [esp + 0x18], eax
mov ecx, dword [edi + ecx]
call fcn.0050c0e0
mov eax, dword [0x6b392c]
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jle 0x50f09b
mov ecx, 0x6b3094
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
je 0x50f075
mov edx, dword [esi + 0x174]
push ecx
mov eax, dword [edx + edi]
push eax
call dword [fcn.0065f1fc]
add esp, 8
test eax, eax
ja 0x50f088
mov ecx, dword [esp + 0x10]
mov eax, dword [0x6b392c]
inc ebx
add ecx, 0x3a
cmp ebx, eax
mov dword [esp + 0x10], ecx
jl 0x50f054
jmp 0x50f09b
lea eax, [ebx*8]
sub eax, ebx
lea ecx, [ebx + eax*4]
mov ebp, dword [ecx*2 + 0x6b30c6]
mov edx, dword [esi + 0x9c]
push ebp
push ebp
push ebp
mov ecx, dword [edi + edx]
call fcn.0050bca0
mov eax, dword [esi + 0x9c]
xor ebp, ebp
push ebp
push ebp
mov ecx, dword [edi + eax]
push 1
push 1
push ebp
push ebp
call fcn.0050bf20
mov ecx, dword [esi + 0x9c]
mov ebx, dword [esp + 0x7c]
push ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov ecx, dword [edi + ecx]
push ebx
lea eax, [esp + 0x30]
mov edx, dword [ecx]
push esi
push eax
push 0x50000000
push 0x6c7010
push ebp
call dword [edx + 0x5c]
mov eax, dword [esi + 0x170]
inc ebx
mov dword [esp + 0x7c], ebx
add ebx, 0xfffffc18
add edi, 4
cmp ebx, eax
jb 0x50ef65
call fcn.00643d14
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [fcn.0065f4d0]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esi + 0x204]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov ecx, edx
mov dword [esp + 0x20], eax
sub eax, edx
add ecx, ebp
mov dword [esp + 0x24], edi
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 0x15
mov dword [esp + 0x1c], ecx
call fcn.0050cb10
mov ecx, dword [0x6e6cf1]
mov eax, dword [esi + 0xec]
fstp dword [esp + 0x80]
add esp, 4
test ecx, ecx
je 0x50f1ad
mov ecx, dword [0x6e6cf9]
test ecx, ecx
jne 0x50f1ad
mov eax, dword [0x6e6cf5]
test eax, eax
je 0x50f1a7
mov eax, dword [esi + 0x10c]
jmp 0x50f1ad
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0x170]
xor edi, edi
test ecx, ecx
jbe 0x50f2cd
mov ebx, dword [esp + 0x18]
add eax, 0xfffffffb
mov dword [esp + 0x14], eax
xor ebp, ebp
mov ecx, dword [esi + 0x174]
mov edx, dword [ecx + edi*4]
fild dword [edx - 8]
fmul dword [esp + 0x7c]
fiadd dword [esp + 0x18]
fsub dword [0x66fb7c]
call fcn.00645030
mov ecx, dword [esi + 0xa0]
mov dword [esp + 0x20], eax
mov eax, ebp
add eax, ecx
mov dword [eax], ebx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
sub eax, edx
lea ecx, [esp + 0x1c]
inc eax
push eax
push ecx
mov ecx, esi
call fcn.0050ccc0
mov ecx, dword [esi + 0xa0]
mov eax, ebp
add eax, ecx
push 1
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub ebx, ecx
sub eax, edx
push ebx
push eax
push ecx
mov ecx, dword [esi + 0x9c]
push edx
mov ecx, dword [ecx + edi*4]
call fcn.00643eb8
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
sub edx, ebx
je 0x50f278
mov eax, dword [esi + 0x170]
inc edi
add ebp, 0x10
cmp edi, eax
jb 0x50f1ca
jmp 0x50f2cd
cmp edi, 0xffffffff
je 0x50f2cd
mov eax, dword [esi + 0x170]
lea ecx, [eax - 1]
cmp edi, ecx
je 0x50f2cd
inc edi
cmp edi, eax
jae 0x50f2cd
mov ebx, dword [fcn.0065f4dc]
mov ebp, edi
shl ebp, 4
mov edx, dword [esi + 0x9c]
push 0
mov ecx, dword [edx + edi*4]
call fcn.00643e22
mov edx, dword [esi + 0xa0]
push 0
mov eax, ebp
push 0
push 0
add eax, edx
push 0
push eax
call ebx
mov eax, dword [esi + 0x170]
inc edi
add ebp, 0x10
cmp edi, eax
jb 0x50f29a
mov ecx, dword [esi + 0x20]
push 1
push 0
push ecx
call dword [fcn.0065f4cc]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4