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

Disassembly:
mov eax, 0x28
call fcn.005c5c30
mov eax, dword [0x65db30]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
shr eax, 4
mov dword [esp + 0x14], ecx
xor ebp, ebp
mov ecx, eax
add ecx, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
adc ebp, edx
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
test eax, eax
je 0x5173a4
xor eax, eax
cmp ecx, ecx
jne 0x5173a4
cmp ebp, eax
jne 0x5173a4
cmp dword [esi + 0x10], eax
je 0x5173a4
shr ecx, 1
je 0x517355
lea esp, [esp]
inc eax
shr ecx, 1
jne 0x517350
push eax
push esi
call fcn.00516c80
add esp, 8
test eax, eax
jne 0x517378
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005c5718
add esp, 0x28
ret
mov eax, dword [esi + 0x40]
lea edx, [esi + 0x88]
push edx
mov edx, dword [esi + 0x50]
push eax
mov eax, dword [esi + 8]
lea ecx, [esi + 0x78]
push ecx
mov ecx, dword [esp + 0x1c]
inc edx
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edi
push ebx
call edx
add esp, 0x20
jmp 0x5174f5
mov eax, dword [esp + 0x14]
add eax, 1
adc edx, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp edx, ebp
ja 0x5174f9
jb 0x5173c8
cmp eax, ecx
ja 0x5174f9
mov ecx, eax
and eax, 1
xor ebp, ebp
or eax, ebp
mov dword [esp + 0x10], 0
jne 0x5173f5
jmp 0x5173e0
inc dword [esp + 0x10]
shrd ecx, edx, 1
mov eax, ecx
and eax, 1
xor ebp, ebp
shr edx, 1
or eax, ebp
je 0x5173e0
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00516c80
add esp, 8
test eax, eax
je 0x517363
mov ecx, dword [eax]
xor dword [esi + 0x78], ecx
mov edx, dword [eax + 4]
xor dword [esi + 0x7c], edx
mov ecx, dword [eax + 8]
xor dword [esi + 0x80], ecx
mov edx, dword [eax + 0xc]
xor dword [esi + 0x84], edx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [ebx + 0xc]
xor dword [esi + 0x88], eax
xor dword [esi + 0x90], edx
xor eax, dword [esi + 0x78]
xor edx, dword [esi + 0x80]
xor dword [esi + 0x8c], ecx
xor ecx, dword [esi + 0x7c]
xor dword [esi + 0x94], ebp
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x84]
push eax
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebp
xor dword [esp + 0x34], edx
push ecx
mov edx, ecx
push edx
add ebx, 0x10
call eax
mov edx, dword [esi + 0x80]
xor dword [esp + 0x38], edx
mov eax, dword [esp + 0x30]
xor eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x34]
xor ecx, dword [esi + 0x7c]
mov edx, dword [esp + 0x3c]
xor edx, dword [esi + 0x84]
mov ebp, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], edx
add esp, 0xc
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
add edi, 0x10
add eax, 1
adc edx, 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp edx, ebp
jb 0x5173c8
ja 0x5174f5
cmp eax, dword [esp + 0x1c]
jbe 0x5173c8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
and eax, 0xf
mov dword [esp + 0x10], eax
jbe 0x5175cf
mov ecx, dword [esi + 0x20]
xor dword [esi + 0x78], ecx
mov edx, dword [esi + 0x24]
xor dword [esi + 0x7c], edx
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
xor dword [esi + 0x80], ecx
mov ecx, dword [esi + 8]
xor dword [esi + 0x84], edx
lea eax, [esi + 0x78]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [esi]
call eax
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor ecx, ecx
test edx, edx
je 0x517579
lea eax, [esp + 0x24]
mov edx, ebx
sub edx, eax
mov dword [esp + 0x14], edx
sub edi, eax
jmp 0x517564
mov edx, dword [esp + 0x14]
lea eax, [esp + ecx + 0x24]
mov dl, byte [edx + eax]
xor dl, byte [eax]
inc ecx
mov byte [edi + eax], dl
mov edx, dword [esp + 0x10]
cmp ecx, edx
jb 0x517560
xor eax, eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push ebx
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x1c]
mov byte [esp + ecx + 0x30], 0x80
mov edx, dword [esp + 0x30]
xor dword [esi + 0x88], edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
xor dword [esi + 0x90], ecx
mov edx, dword [esp + 0x3c]
xor dword [esi + 0x8c], eax
mov ecx, dword [esp + 0x28]
add esp, 0xc
xor dword [esi + 0x94], edx
pop edi
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x54], ebp
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.005c5718
add esp, 0x28
ret