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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x516ac3
sub esp, 0x9c
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516abc
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x64], ebp
mov eax, dword [ebx + 8]
mov ebx, dword [esp + 0xa0]
cmp ebx, 0
je 0x516ab5
mov ebp, dword [ebx + 8]
mov dword [esp + 0x4c], ebp
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ecx
mov esi, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov ecx, eax
mov ebx, dword [esp + 0x50]
mov edi, esi
add esi, ebx
cmp esi, eax
jbe 0x516058
mov dword [esp], 0x5c5000
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 8], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], esi
call fcn.0043cd90
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
cmp esi, ecx
ja 0x516aae
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x54]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004540c0
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x58]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x5c]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6dae38], 0
jne 0x516a9d
mov dword [ebx], ebp
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 0x20
cmp ebx, 0
je 0x51612d
mov ebp, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
xor ebx, ebx
mov eax, dword [0x6c5874]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x70], edx
mov dword [esp + 0xac], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0xb4], eax
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 7
cmp ebx, 0
je 0x516429
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 1
cmp ebx, 0
je 0x516262
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
call fcn.004a7030
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.00515da0
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, edx
ja 0x516a2b
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x2f
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.00515da0
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, edx
ja 0x5169b9
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x2f
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.00515da0
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, edx
ja 0x516947
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x20
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 6
cmp ebx, 0
je 0x516429
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
call fcn.004a71d0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00515da0
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, edx
ja 0x5168d5
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x3a
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.00515da0
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, edx
ja 0x516863
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x3a
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.00515da0
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 4
cmp ebx, 0
je 0x516405
mov ebx, dword [esp + 0xa4]
mov edi, dword [ebx]
mov ecx, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov dword [esp + 0x30], ebp
mov ebp, ecx
inc ebp
mov esi, dword [esp + 0x30]
cmp ebp, esi
ja 0x5167ed
mov dword [ebx + 4], ebp
mov ebx, edi
add ebx, ecx
mov byte [ebx], 0x2e
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x90], ebx
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov eax, 0x10624dd3
imul ecx
mov ebp, edx
sar ebp, 6
mov ebx, ecx
sar ebx, 0x1f
sub ebp, ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], 6
call fcn.00515da0
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, edx
ja 0x51677b
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x20
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 0x18
cmp ebx, 0
je 0x5166b3
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 0x10
cmp ebx, 0
je 0x5164cd
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
dec eax
cmp eax, 0
jle 0x5164b7
mov ebp, dword [esp + 0xbc]
cmp eax, ebp
jae 0x516774
mov ebp, dword [esp + 0xb8]
add ebp, eax
movzx ebx, byte [ebp]
cmp bl, 0x2f
jne 0x51676e
mov ecx, eax
inc ecx
mov eax, dword [esp + 0xbc]
cmp ecx, eax
ja 0x516767
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xb8]
cmp edx, 0
je 0x5164b5
add eax, ecx
mov esi, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0xbc], edx
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516760
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x64], ebp
mov ebp, dword [ebx + 8]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ecx
mov edi, dword [esp + 0x64]
mov dword [esp + 0x68], ebp
mov ecx, ebp
mov ebx, dword [esp + 0xbc]
mov esi, edi
add esi, ebx
cmp esi, ebp
jbe 0x51654a
mov dword [esp], 0x5c5000
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 8], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], esi
call fcn.0043cd90
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
cmp esi, ecx
ja 0x516759
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0xbc]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x54]
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004540c0
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x58]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x5c]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6dae38], 0
jne 0x516748
mov dword [ebx], ebp
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, edx
ja 0x5166d6
mov dword [ebx + 4], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0x3a
mov ebx, dword [esp + 0xa4]
mov dword [esp], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xffffffff
call fcn.00515da0
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5166cf
mov edi, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x64], ebp
mov ecx, dword [ebx + 8]
mov dword [esp + 0x60], edi
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
mov esi, ebp
add ebp, 2
cmp ebp, ecx
jbe 0x51665d
mov dword [esp], 0x5c5000
mov dword [esp + 0x54], edi
mov dword [esp + 4], edi
mov dword [esp + 0x58], esi
mov dword [esp + 8], esi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ecx
cmp ebp, ecx
ja 0x5166c8
mov dword [esp + 0x58], ebp
mov ebx, dword [esp + 0x64]
mov ebp, edi
mov dword [esp + 0x54], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [0x605068]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.004540c0
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x58]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x5c]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6dae38], 0
jne 0x5166ba
mov dword [ebx], ebp
add esp, 0x9c
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x5166b3
call fcn.00429210
ud2
mov dword [ebx], eax
jmp 0x516600
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516744
mov eax, ebp
mov dword [esp + 0x30], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x51672b
mov dword [ebx], ecx
jmp 0x5165c7
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x5165c7
mov dword [ebx], eax
jmp 0x51670a
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x5165aa
call fcn.00429210
ud2
mov dword [ebx], eax
jmp 0x5164dd
call fcn.00429210
ud2
dec eax
jmp 0x516467
call fcn.004291a0
ud2
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5167e9
mov eax, ebp
mov dword [esp + 0x30], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x5167d0
mov dword [ebx], ecx
jmp 0x516422
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x516422
mov dword [ebx], eax
jmp 0x5167af
mov dword [esp], 0x5c5000
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x51685f
mov ecx, ebp
mov dword [esp + 0x34], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], esi
mov dword [esp + 0x40], edi
cmp byte [0x6dae38], 0
jne 0x516846
mov dword [ebx], edi
jmp 0x516398
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0040fcf0
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
jmp 0x516398
mov dword [ebx], eax
jmp 0x516825
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5168d1
mov eax, ebp
mov dword [esp + 0x30], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x5168b8
mov dword [ebx], ecx
jmp 0x516337
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x516337
mov dword [ebx], eax
jmp 0x516897
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516943
mov eax, ebp
mov dword [esp + 0x30], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x51692a
mov dword [ebx], ecx
jmp 0x5162f4
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x5162f4
mov dword [ebx], eax
jmp 0x516909
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5169b5
mov eax, ebp
mov dword [esp + 0x34], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x51699c
mov dword [ebx], ecx
jmp 0x51625b
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x51625b
mov dword [ebx], eax
jmp 0x51697b
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516a27
mov eax, ebp
mov dword [esp + 0x34], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x516a0e
mov dword [ebx], ecx
jmp 0x516218
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x516218
mov dword [ebx], eax
jmp 0x5169ed
mov dword [esp], 0x5c5000
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043cd90
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516a99
mov eax, ebp
mov dword [esp + 0x34], ebp
inc ebp
mov dword [ebx + 4], ebp
mov dword [ebx + 8], edx
mov dword [esp + 0x40], ecx
cmp byte [0x6dae38], 0
jne 0x516a80
mov dword [ebx], ecx
jmp 0x5161d5
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040fcf0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x5161d5
mov dword [ebx], eax
jmp 0x516a5f
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040fcf0
jmp 0x5160b2
call fcn.00429210
ud2
mov dword [ebx], eax
jmp 0x515fec
mov dword [ebx], eax
jmp 0x515fd0
call fcn.004518d0
jmp fcn.00515fa0