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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x52097d
sub esp, 0xc0
xor eax, eax
lea edi, [esp + 0x98]
call fcn.0044c136
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx + 0xc]
lea ebp, [ebx + ecx]
mov dword [esp + 0x58], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
mov edx, dword [edx + 8]
cmp ebp, esi
ja 0x52090c
cmp ebp, esi
ja 0x520976
mov dword [esp + 0x80], edi
mov dword [esp + 0x54], esi
lea eax, [edi + ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0044c840
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [0x7016d0]
test eax, eax
jne 0x5208ed
mov edx, dword [esp + 0x80]
mov dword [ecx], edx
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx + 0x10]
test ebx, 7
je 0x520098
test ebx, 0x20
je 0x52007c
lea edi, [esp + 0x98]
lea esi, [esp + 0xcc]
call fcn.0044c61e
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0044c13b
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov ebp, ebx
shr ebx, 0x1f
shl ebx, 0x1f
test ebx, ebx
je 0x52004b
mov eax, ecx
shr ecx, 0x1f
shl ebp, 1
or ebp, ecx
shl eax, 1
mov ecx, ebp
shl ebp, 1
shr eax, 0x1f
or eax, ebp
mov ebx, eax
add eax, 0xd7b17f80
mov dword [esp + 0xa0], eax
shr ecx, 0x1f
add ebx, 0xd7b17f80
adc ecx, 0xd
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x98]
and eax, 0x3fffffff
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa8], 0
lea edi, [esp + 0x84]
lea esi, [esp + 0x98]
call fcn.0044c61e
lea edi, [esp + 0xcc]
lea esi, [esp + 0x84]
call fcn.0044c61e
mov eax, dword [edx + 0x10]
test eax, 1
jne 0x5206b2
mov eax, dword [edx + 0x10]
test eax, 6
jne 0x520376
mov eax, dword [edx + 0x10]
test eax, 0x18
je 0x52020d
test eax, 0x10
je 0x520363
mov eax, dword [esp + 0xe4]
lea ecx, [eax - 1]
mov edx, dword [esp + 0xe0]
jmp 0x5200c5
dec ecx
test ecx, ecx
jle 0x52035a
cmp ecx, eax
jae 0x52096f
movzx ebx, byte [edx + ecx]
cmp bl, 0x2f
jne 0x5200c4
inc ecx
cmp ecx, eax
ja 0x520968
sub eax, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
add eax, edx
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 4]
lea ebp, [ebx + edx]
mov dword [esp + 0x58], ebp
mov esi, dword [ecx]
mov edi, dword [ecx + 8]
cmp ebp, edi
ja 0x520300
cmp ebp, edi
ja 0x520961
mov dword [esp + 0x80], esi
mov dword [esp + 0x54], edi
lea ecx, [esi + edx]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044c840
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [0x7016d0]
test eax, eax
jne 0x5202da
mov eax, dword [esp + 0x80]
mov dword [ecx], eax
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
lea ebp, [ebx + 1]
cmp ebp, edx
jg 0x520267
lea edx, [ebx + 1]
mov dword [ecx + 4], edx
mov byte [eax + ebx], 0x3a
mov dword [esp], ecx
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.0051fd70
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
lea edx, [ecx + 2]
mov dword [esp + 0x58], edx
mov ebx, dword [eax + 8]
mov ebp, dword [eax]
cmp edx, ebx
ja 0x520229
cmp edx, ebx
ja 0x52095a
mov dword [esp + 0x80], ebp
mov dword [esp + 0x54], ebx
lea eax, [ebp + ecx]
mov dword [esp], eax
lea eax, [0x5db59a]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.0044c840
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], eax
mov eax, dword [0x7016d0]
test eax, eax
jne 0x520214
mov eax, dword [esp + 0x80]
mov dword [ecx], eax
add esp, 0xc0
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0040ef10
jmp 0x52020d
mov dword [esp + 0x54], ecx
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00438c30
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
jmp 0x5201b4
lea ecx, [0x5a5e80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x5202b5
mov dword [ebx], eax
mov ebx, ecx
mov ecx, dword [esp + 0xc8]
jmp 0x520175
mov dword [esp + 0x7c], eax
mov dword [esp + 0x50], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc8]
jmp 0x5202a7
mov dword [esp], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xc8]
jmp 0x520164
mov dword [esp + 0x54], edx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ebx
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0xe4]
mov ebp, dword [esp + 0x58]
jmp 0x520112
mov ebx, eax
mov eax, edx
jmp 0x5200f4
mov eax, dword [esp + 0xe0]
mov ebx, dword [esp + 0xe4]
jmp 0x5200f4
mov edi, esp
lea esi, [esp + 0xcc]
call fcn.0044c61e
call fcn.00499920
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.0051fd70
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebp, ebx
jg 0x520644
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.0051fd70
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
lea ebp, [edx + 1]
cmp ebp, ecx
jg 0x5205cf
lea ecx, [edx + 1]
mov dword [eax + 4], ecx
mov byte [ebx + edx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.0051fd70
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x10]
test ecx, 4
jne 0x5204e7
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
lea esi, [ebx + 1]
cmp esi, edx
jg 0x52046e
lea esi, [ebx + 1]
mov dword [ecx + 4], esi
mov byte [ebp + ebx], 0x20
mov edx, eax
jmp 0x520098
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x5204c2
mov dword [ebx], eax
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
jmp 0x52045c
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0xc8]
jmp 0x5204ae
mov ecx, dword [esp + 0xc8]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx]
mov esi, ecx
lea ecx, [ebx + 1]
cmp ecx, edx
jg 0x52055f
lea ecx, [ebx + 1]
mov dword [esi + 4], ecx
mov byte [ebp + ebx], 0x2e
lea edi, [esp + 0xac]
mov eax, esi
lea esi, [esp + 0xcc]
call fcn.0044c61e
mov ecx, dword [esp + 0xac]
and ecx, 0x3fffffff
mov edx, eax
mov eax, 0x4189374c
mov ebx, edx
imul ecx
sar edx, 8
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 8], 6
call fcn.0051fd70
mov eax, dword [esp + 0xc4]
jmp 0x520446
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x5205aa
mov dword [ebx], eax
mov esi, ebx
mov ebx, ecx
mov ebp, eax
jmp 0x5204ff
mov dword [esp + 0x74], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0xc8]
jmp 0x52059f
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x52061f
mov dword [ebx], eax
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xc8]
jmp 0x52040e
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0xc8]
jmp 0x52060f
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x52068d
mov dword [ebx], eax
mov edx, eax
mov eax, ebx
jmp 0x5203d2
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0xc8]
jmp 0x520684
mov edi, esp
lea esi, [esp + 0xcc]
call fcn.0044c61e
call fcn.00499810
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0xc8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.0051fd70
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
lea ebp, [edx + 1]
cmp ebp, ecx
jg 0x520878
lea ecx, [edx + 1]
mov dword [eax + 4], ecx
mov byte [ebx + edx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.0051fd70
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
lea ebp, [edx + 1]
cmp ebp, ecx
jg 0x520803
lea ecx, [edx + 1]
mov dword [eax + 4], ecx
mov byte [ebx + edx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.0051fd70
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebp, ebx
jg 0x520798
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x20
mov edx, dword [esp + 0xc4]
jmp 0x52008a
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x5207de
mov dword [ebx], eax
mov edx, eax
mov eax, ebx
jmp 0x520782
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc8]
jmp 0x5207d8
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x520853
mov dword [ebx], eax
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xc8]
jmp 0x52074a
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0xc8]
jmp 0x520843
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [0x7016d0]
test edx, edx
jne 0x5208c8
mov dword [ebx], eax
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xc8]
jmp 0x52070e
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0xc8]
jmp 0x5208b8
mov dword [esp], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0040ef10
mov ecx, dword [esp + 0xc8]
jmp 0x51ff9b
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x30], ecx
lea eax, [0x5a5e80]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00438c30
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
jmp 0x51ff49
call fcn.00425cf0
ud2
call fcn.00425cf0
ud2
call fcn.00425cf0
ud2
call fcn.00425c90
ud2
call fcn.00425cf0
ud2
call fcn.0044a520
jmp fcn.0051fef0