Function at 0x5168a0
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 0x5173c3
sub esp, 0x9c
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5173bc
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 0x5173b5
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 0x516958
mov dword [esp], 0x5c5920
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.0043d700
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 0x5173ae
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.00454a30
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 [0x6dbe18], 0
jne 0x51739d
mov dword [ebx], ebp
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 0x20
cmp ebx, 0
je 0x516a2d
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 [0x6c6870]
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 0x516d29
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 1
cmp ebx, 0
je 0x516b62
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.004a7930
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.005166a0
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 0x51732b
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.005166a0
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 0x5172b9
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.005166a0
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 0x517247
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 0x516d29
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.004a7ad0
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.005166a0
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 0x5171d5
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.005166a0
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 0x517163
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.005166a0
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 4
cmp ebx, 0
je 0x516d05
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 0x5170ed
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.005166a0
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 0x51707b
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 0x516fb3
mov ebx, dword [esp + 0xa0]
mov ebx, dword [ebx + 0x10]
and ebx, 0x10
cmp ebx, 0
je 0x516dcd
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xbc]
dec eax
cmp eax, 0
jle 0x516db7
mov ebp, dword [esp + 0xbc]
cmp eax, ebp
jae 0x517074
mov ebp, dword [esp + 0xb8]
add ebp, eax
movzx ebx, byte [ebp]
cmp bl, 0x2f
jne 0x51706e
mov ecx, eax
inc ecx
mov eax, dword [esp + 0xbc]
cmp ecx, eax
ja 0x517067
mov edx, eax
sub edx, ecx
mov eax, dword [esp + 0xb8]
cmp edx, 0
je 0x516db5
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 0x517060
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 0x516e4a
mov dword [esp], 0x5c5920
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.0043d700
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 0x517059
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.00454a30
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 [0x6dbe18], 0
jne 0x517048
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 0x516fd6
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.005166a0
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x516fcf
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 0x516f5d
mov dword [esp], 0x5c5920
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.0043d700
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 0x516fc8
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 [0x6059b8]
mov dword [esp + 4], ebx
mov dword [esp + 8], 2
call fcn.00454a30
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 [0x6dbe18], 0
jne 0x516fba
mov dword [ebx], ebp
add esp, 0x9c
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x516fb3
call fcn.00429b80
ud2
mov dword [ebx], eax
jmp 0x516f00
mov dword [esp], 0x5c5920
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x517044
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 [0x6dbe18], 0
jne 0x51702b
mov dword [ebx], ecx
jmp 0x516ec7
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00410660
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x516ec7
mov dword [ebx], eax
jmp 0x51700a
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x516eaa
call fcn.00429b80
ud2
mov dword [ebx], eax
jmp 0x516ddd
call fcn.00429b80
ud2
dec eax
jmp 0x516d67
call fcn.00429b10
ud2
mov dword [esp], 0x5c5920
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5170e9
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 [0x6dbe18], 0
jne 0x5170d0
mov dword [ebx], ecx
jmp 0x516d22
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00410660
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x516d22
mov dword [ebx], eax
jmp 0x5170af
mov dword [esp], 0x5c5920
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.0043d700
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x51715f
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 [0x6dbe18], 0
jne 0x517146
mov dword [ebx], edi
jmp 0x516c98
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.00410660
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
jmp 0x516c98
mov dword [ebx], eax
jmp 0x517125
mov dword [esp], 0x5c5920
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5171d1
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 [0x6dbe18], 0
jne 0x5171b8
mov dword [ebx], ecx
jmp 0x516c37
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00410660
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x516c37
mov dword [ebx], eax
jmp 0x517197
mov dword [esp], 0x5c5920
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x517243
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 [0x6dbe18], 0
jne 0x51722a
mov dword [ebx], ecx
jmp 0x516bf4
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00410660
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
jmp 0x516bf4
mov dword [ebx], eax
jmp 0x517209
mov dword [esp], 0x5c5920
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x5172b5
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 [0x6dbe18], 0
jne 0x51729c
mov dword [ebx], ecx
jmp 0x516b5b
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00410660
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x516b5b
mov dword [ebx], eax
jmp 0x51727b
mov dword [esp], 0x5c5920
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x517327
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 [0x6dbe18], 0
jne 0x51730e
mov dword [ebx], ecx
jmp 0x516b18
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00410660
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x516b18
mov dword [ebx], eax
jmp 0x5172ed
mov dword [esp], 0x5c5920
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.0043d700
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
cmp ebx, 0
je 0x517399
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 [0x6dbe18], 0
jne 0x517380
mov dword [ebx], ecx
jmp 0x516ad5
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00410660
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
jmp 0x516ad5
mov dword [ebx], eax
jmp 0x51735f
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x5169b2
call fcn.00429b80
ud2
mov dword [ebx], eax
jmp 0x5168ec
mov dword [ebx], eax
jmp 0x5168d0
call fcn.00452240
jmp fcn.005168a0