Function at 0x515530
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 0x516053
sub esp, 0x9c
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x51604c
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 0x516045
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 0x5155e8
mov dword [esp], 0x5c41e0
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.0043c390
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 0x51603e
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.004536c0
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 [0x6d9e18], 0
jne 0x51602d
mov dword [ebx], ebp
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 0x20
cmp ebx, 0
je 0x5156bd
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 [0x6c4870]
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 0x5159b9
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 1
cmp ebx, 0
je 0x5157f2
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.004a65c0
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.00515330
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 0x515fbb
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.00515330
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 0x515f49
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.00515330
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 0x515ed7
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 0x5159b9
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.004a6760
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.00515330
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 0x515e65
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.00515330
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 0x515df3
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.00515330
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 4
cmp ebx, 0
je 0x515995
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 0x515d7d
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.00515330
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 0x515d0b
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 0x515c43
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 0x10
cmp ebx, 0
je 0x515a5d
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
dec eax
cmp eax, 0
jle 0x515a47
mov ebp, dword [esp + 0xbc]
cmp eax, ebp
jae 0x515d04
mov ebp, dword [esp + 0xb8]
add ebp, eax
movzx ebx, byte [ebp]
cmp bl, 0x2f
jne 0x515cfe
mov ecx, eax
inc ecx
mov eax, dword [esp + 0xbc]
cmp ecx, eax
ja 0x515cf7
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xb8]
cmp edx, 0
je 0x515a45
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 0x515cf0
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 0x515ada
mov dword [esp], 0x5c41e0
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.0043c390
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 0x515ce9
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.004536c0
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 [0x6d9e18], 0
jne 0x515cd8
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 0x515c66
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.00515330
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515c5f
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 0x515bed
mov dword [esp], 0x5c41e0
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.0043c390
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 0x515c58
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 [0x6040b0]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.004536c0
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 [0x6d9e18], 0
jne 0x515c4a
mov dword [ebx], ebp
add esp, 0x9c
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x515c43
call fcn.00428810
ud2
mov dword [ebx], eax
jmp 0x515b90
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515cd4
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 [0x6d9e18], 0
jne 0x515cbb
mov dword [ebx], ecx
jmp 0x515b57
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x515b57
mov dword [ebx], eax
jmp 0x515c9a
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x515b3a
call fcn.00428810
ud2
mov dword [ebx], eax
jmp 0x515a6d
call fcn.00428810
ud2
dec eax
jmp 0x5159f7
call fcn.004287a0
ud2
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515d79
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 [0x6d9e18], 0
jne 0x515d60
mov dword [ebx], ecx
jmp 0x5159b2
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x5159b2
mov dword [ebx], eax
jmp 0x515d3f
mov dword [esp], 0x5c41e0
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.0043c390
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515def
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 [0x6d9e18], 0
jne 0x515dd6
mov dword [ebx], edi
jmp 0x515928
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0040f2f0
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
jmp 0x515928
mov dword [ebx], eax
jmp 0x515db5
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515e61
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 [0x6d9e18], 0
jne 0x515e48
mov dword [ebx], ecx
jmp 0x5158c7
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x5158c7
mov dword [ebx], eax
jmp 0x515e27
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515ed3
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 [0x6d9e18], 0
jne 0x515eba
mov dword [ebx], ecx
jmp 0x515884
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x515884
mov dword [ebx], eax
jmp 0x515e99
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515f45
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 [0x6d9e18], 0
jne 0x515f2c
mov dword [ebx], ecx
jmp 0x5157eb
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x5157eb
mov dword [ebx], eax
jmp 0x515f0b
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x515fb7
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 [0x6d9e18], 0
jne 0x515f9e
mov dword [ebx], ecx
jmp 0x5157a8
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x5157a8
mov dword [ebx], eax
jmp 0x515f7d
mov dword [esp], 0x5c41e0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043c390
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516029
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 [0x6d9e18], 0
jne 0x516010
mov dword [ebx], ecx
jmp 0x515765
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x515765
mov dword [ebx], eax
jmp 0x515fef
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
jmp 0x515642
call fcn.00428810
ud2
mov dword [ebx], eax
jmp 0x51557c
mov dword [ebx], eax
jmp 0x515560
call fcn.00450ed0
jmp fcn.00515530