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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x510524
sub esp, 0x64
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.0050f870
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x51012b
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x51002e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov ecx, eax
and eax, 0x1f
mov edx, dword [esp + 0x20]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x5c], ebx
nop
nop
cmp eax, 0x11
je 0x50fe72
cmp eax, 0x14
je 0x50fe7d
cmp eax, 0x17
jne 0x50fea5
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x5101b1
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004c47a0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x50ff93
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
test ecx, ecx
je 0x50feb9
test ecx, 0x200
jne 0x50feb9
lea eax, [0x65a1a0]
jmp 0x50fed1
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], edx
lea ecx, [0x5f4c40]
mov dword [esp], ecx
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x60a2d3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
jne 0x50ff11
mov ecx, dword [esp + 0x48]
jmp 0x50ff1c
call fcn.0046be70
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x50ff77
mov dword [esp], ecx
lea edx, [0x658ce0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0050f1b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x7da640]
test eax, eax
je 0x50ff72
call fcn.0046be80
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov ecx, edx
mov dword [esp], ecx
call fcn.0050f2d0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00514e10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040ab00
mov eax, dword [esp + 0xc]
lea ecx, [0x5d6ee0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x50ffec
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x50fff2
or edx, 0x80
jmp 0x50fff2
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004c4ac0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
test eax, eax
je 0x510049
test eax, 0x200
jne 0x510049
lea eax, [0x65a1a0]
mov ecx, dword [esp + 0x6c]
jmp 0x510069
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
lea edx, [0x5f4c40]
mov dword [esp], edx
call fcn.0040d1f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x60a2d3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x7da640]
test ecx, ecx
jne 0x5100a9
mov ecx, dword [esp + 0x4c]
jmp 0x5100b4
call fcn.0046be70
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x51010f
mov dword [esp], ecx
lea edx, [0x658ce0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0050f1b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x7da640]
test eax, eax
je 0x51010a
call fcn.0046be80
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov ecx, edx
mov dword [esp], ecx
call fcn.0050f2d0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], eax
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.0050f2d0
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x5101aa
mov ebx, dword [esp + 0x3c]
lea ebp, [ebx - 1]
cmp ecx, ebp
jb 0x5101a3
mov esi, dword [esp + 0x34]
mov esi, dword [esi + 0x10]
mov eax, dword [eax]
mov edi, dword [esp + 0x50]
mov dword [esp], edi
sub edx, ebx
sub ecx, ebx
inc edx
mov ebx, edx
neg edx
inc ecx
sar edx, 0x1f
and ebp, edx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov eax, ebp
call fcn.0046bf50
call fcn.0046bf30
mov ebp, edx
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0050f3f0
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 8
je 0x510369
mov ecx, dword [esp + 0x40]
cmp ecx, 0x17
jne 0x51025f
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
cmp dword [ebx + 8], edx
jg 0x51021d
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004c5e70
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
cmp dword [ebx + 4], edx
jle 0x510227
cmp ecx, 0x17
jmp 0x510267
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ebp, [edx + 1]
mov dword [esp + 0xc], ebp
call fcn.004c50f0
mov eax, dword [esp + 0x40]
cmp eax, 0x17
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
jmp 0x510267
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
jne 0x51026e
mov ebp, dword [ebx + 4]
jmp 0x51029a
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.004c3d20
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
cmp edx, ebp
jge 0x5102e8
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004c2ae0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0050f600
mov eax, dword [esp + 0x10]
test eax, eax
je 0x510310
jmp 0x510349
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0050f600
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x510359
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 9
jne 0x51032e
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0050f3f0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x38]
inc edx
cmp ecx, 8
je 0x51036d
cmp ecx, 7
je 0x5101af
jmp 0x51050b
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x40]
cmp eax, 0x17
jne 0x510383
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 4]
jmp 0x5103af
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.004c3d20
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
cmp edx, ebx
jge 0x5103e1
cmp eax, 0x11
je 0x5104e3
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004c50f0
mov eax, dword [esp + 0x38]
jmp 0x51048d
test edx, edx
jne 0x510479
cmp eax, 0x17
jne 0x510479
mov eax, dword [esp + 0x44]
test eax, 0x200
jne 0x510409
lea edx, [0x65a1a0]
mov ebx, dword [esp + 0x60]
jmp 0x510429
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edx
mov edx, eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004c6320
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c4ac0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov ecx, dword [esp + 0x5c]
mov edx, eax
mov eax, dword [esp + 0x40]
jmp 0x5103e1
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004c2ae0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c39b0
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
call fcn.004c3d20
mov eax, dword [esp + 0x38]
cmp dword [esp + 0xc], eax
jg 0x51049c
jmp 0x51048d
lea eax, [0x5dd3e0]
mov dword [esp], eax
lea eax, [0x658350]
mov dword [esp + 4], eax
call fcn.004391b0
nop
call fcn.0046aa70
jmp fcn.0050fdf0