Function at 0x51fc60
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 0x5206ed
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 0x52067c
cmp ebp, esi
ja 0x5206e6
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 [0x700660]
test eax, eax
jne 0x52065d
mov edx, dword [esp + 0x80]
mov dword [ecx], edx
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx + 0x10]
test ebx, 7
je 0x51fe08
test ebx, 0x20
je 0x51fdec
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 0x51fdbb
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 0x520422
mov eax, dword [edx + 0x10]
test eax, 6
jne 0x5200e6
mov eax, dword [edx + 0x10]
test eax, 0x18
je 0x51ff7d
test eax, 0x10
je 0x5200d3
mov eax, dword [esp + 0xe4]
lea ecx, [eax - 1]
mov edx, dword [esp + 0xe0]
jmp 0x51fe35
dec ecx
test ecx, ecx
jle 0x5200ca
cmp ecx, eax
jae 0x5206df
movzx ebx, byte [edx + ecx]
cmp bl, 0x2f
jne 0x51fe34
inc ecx
cmp ecx, eax
ja 0x5206d8
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 0x520070
cmp ebp, edi
ja 0x5206d1
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 [0x700660]
test eax, eax
jne 0x52004a
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 0x51ffd7
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.0051fae0
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 0x51ff99
cmp edx, ebx
ja 0x5206ca
mov dword [esp + 0x80], ebp
mov dword [esp + 0x54], ebx
lea eax, [ebp + ecx]
mov dword [esp], eax
lea eax, [0x5db07a]
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 [0x700660]
test eax, eax
jne 0x51ff84
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 0x51ff7d
mov dword [esp + 0x54], ecx
lea eax, [0x5a5b80]
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 0x51ff24
lea ecx, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x520025
mov dword [ebx], eax
mov ebx, ecx
mov ecx, dword [esp + 0xc8]
jmp 0x51fee5
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 0x520017
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 0x51fed4
mov dword [esp + 0x54], edx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ebx
lea eax, [0x5a5b80]
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 0x51fe82
mov ebx, eax
mov eax, edx
jmp 0x51fe64
mov eax, dword [esp + 0xe0]
mov ebx, dword [esp + 0xe4]
jmp 0x51fe64
mov edi, esp
lea esi, [esp + 0xcc]
call fcn.0044c61e
call fcn.00499690
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.0051fae0
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 0x5203b4
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.0051fae0
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 0x52033f
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.0051fae0
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x10]
test ecx, 4
jne 0x520257
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 0x5201de
lea esi, [ebx + 1]
mov dword [ecx + 4], esi
mov byte [ebp + ebx], 0x20
mov edx, eax
jmp 0x51fe08
lea eax, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x520232
mov dword [ebx], eax
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
jmp 0x5201cc
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 0x52021e
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 0x5202cf
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.0051fae0
mov eax, dword [esp + 0xc4]
jmp 0x5201b6
lea eax, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x52031a
mov dword [ebx], eax
mov esi, ebx
mov ebx, ecx
mov ebp, eax
jmp 0x52026f
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 0x52030f
lea eax, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x52038f
mov dword [ebx], eax
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xc8]
jmp 0x52017e
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 0x52037f
lea eax, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x5203fd
mov dword [ebx], eax
mov edx, eax
mov eax, ebx
jmp 0x520142
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 0x5203f4
mov edi, esp
lea esi, [esp + 0xcc]
call fcn.0044c61e
call fcn.00499580
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.0051fae0
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 0x5205e8
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.0051fae0
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 0x520573
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.0051fae0
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 0x520508
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x20
mov edx, dword [esp + 0xc4]
jmp 0x51fdfa
lea eax, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x52054e
mov dword [ebx], eax
mov edx, eax
mov eax, ebx
jmp 0x5204f2
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 0x520548
lea eax, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x5205c3
mov dword [ebx], eax
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xc8]
jmp 0x5204ba
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 0x5205b3
lea eax, [0x5a5b80]
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 [0x700660]
test edx, edx
jne 0x520638
mov dword [ebx], eax
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xc8]
jmp 0x52047e
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 0x520628
mov dword [esp], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0040ef10
mov ecx, dword [esp + 0xc8]
jmp 0x51fd0b
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x30], ecx
lea eax, [0x5a5b80]
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 0x51fcb9
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.0051fc60