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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5177c6
sub esp, 0x74
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.004a8e80
mov ebx, dword [esp]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x70], ebx
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x5177bb
call fcn.004fb070
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
cmp dword [esp + 8], 0
je 0x5177b0
mov dword [esp], 4
mov eax, 0x61bc90
mov dword [esp + 4], eax
call fcn.00429df0
mov ecx, dword [esp + 0x78]
cmp eax, 0
jne 0x5177a6
mov ebx, dword [ecx + 0x10]
and ebx, 0x18
cmp ebx, 0
je 0x5174f8
mov dword [esp], ecx
cmp dword [esp], 0
je 0x51779b
call fcn.004fb250
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call fcn.00407ec0
mov ebx, dword [esp + 8]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
movzx ebx, byte [esp + 0x14]
cmp bl, 0
jne 0x5174de
mov ebx, 0x5f7195
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 3
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x517790
call fcn.004fb070
mov ecx, dword [esp + 0x78]
mov ebp, dword [ecx + 0x24]
mov dword [ecx + 0x20], 0
mov dword [esp], ecx
mov dword [esp + 4], ecx
cmp dword [esp + 4], 0
je 0x517785
add dword [esp + 4], 0x1c
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.005168a0
mov ebx, dword [esp + 0x78]
cmp ebx, 0
je 0x51777e
mov edi, dword [ebx + 0x1c]
mov ebp, dword [ebx + 0x20]
mov dword [esp + 0x5c], ebp
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x84]
mov ebp, esi
add ebp, ebx
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jbe 0x5175cb
mov dword [esp], 0x5c5920
mov dword [esp + 0x4c], edi
mov dword [esp + 4], edi
mov dword [esp + 0x50], esi
mov dword [esp + 8], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
call fcn.0043d700
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], ecx
cmp eax, ecx
ja 0x517777
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x5c]
mov ebp, edi
mov dword [esp + 0x4c], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00454a30
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x50]
mov dword [edi + 0x20], ebp
mov ebp, dword [esp + 0x54]
mov dword [edi + 0x24], ebp
mov ebp, dword [esp + 0x4c]
cmp byte [0x6dbe18], 0
jne 0x517758
mov dword [edi + 0x1c], ebp
cmp ecx, 0
je 0x5176c1
mov ebx, ecx
dec ebx
cmp ebx, ecx
jae 0x517751
mov ebp, dword [esp + 0x80]
add ebp, ebx
movzx ebx, byte [ebp]
cmp bl, 0xa
jne 0x5176c1
cmp edi, 0
je 0x5176bd
mov ebp, dword [edi + 0x14]
mov dword [esp + 0x44], ebp
mov ebp, dword [edi + 0x18]
mov eax, edi
add eax, 0x1c
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov dword [esp + 0x48], ebp
mov dword [esp], ebp
mov ebx, dword [esp + 0x44]
mov ebx, dword [ebx + 0x14]
call ebx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x8c], ecx
nop
call fcn.0042acc0
add esp, 0x74
ret
mov dword [edi], eax
jmp 0x517661
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov ebp, eax
inc ebp
cmp ebp, edx
ja 0x5176e0
mov dword [edi + 0x20], ebp
mov ebx, ecx
add ebx, eax
mov byte [ebx], 0xa
jmp 0x51765c
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 edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp edi, 0
je 0x51774d
mov ebp, eax
mov dword [esp + 0x28], eax
inc ebp
mov dword [edi + 0x20], ebp
mov dword [edi + 0x24], edx
mov dword [esp + 0x30], ecx
cmp byte [0x6dbe18], 0
jne 0x517730
mov dword [edi + 0x1c], ecx
jmp 0x5176d4
lea esi, [edi + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.00410660
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
jmp 0x5176d4
mov dword [edi], eax
jmp 0x517711
call fcn.00429b10
ud2
lea esi, [edi + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00410660
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
jmp 0x517636
call fcn.00429b80
ud2
mov dword [ebx], eax
jmp 0x517563
mov dword [0], eax
jmp 0x517514
mov dword [0], eax
jmp 0x5174ef
mov dword [0], eax
jmp 0x517492
nop
call fcn.0042acc0
add esp, 0x74
ret
mov dword [0], eax
jmp 0x517458
mov dword [0], eax
jmp 0x517440
call fcn.00452240
jmp fcn.005173d0