Function at 0x100569a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10140a98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push ecx
lea edx, [esp + 0x30]
xor edi, edi
push edx
mov ecx, esi
mov dword [esp + 0x20], edi
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
push esi
lea edx, [esp + 0x2c]
mov dword [ecx + 0xc], eax
call fcn.1004cd90
test eax, eax
jne 0x10056a24
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x18]
mov ecx, str.Parts
call fcn.1007d770
mov esi, eax
cmp esi, edi
je 0x10056b99
call fcn.10060720
mov dword [esp + 0x24], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov dword [esp + 0x28], edi
mov ecx, str.Part
mov eax, esi
mov dword [esp + 0x48], edi
call fcn.1007d770
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x18], ebx
je 0x10056aeb
jmp 0x10056a86
mov ebx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x14], edi
lea edi, [ebx + 0x2c]
mov esi, str.Signature
call fcn.1007ed30
test eax, eax
je 0x10056ad7
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea esi, [eax + 8]
push 0x1014dc5c
push esi
call dword [sym.imp.MSVCR80.dll_sscanf_s]
add esp, 0xc
test esi, esi
je 0x10056ad7
cmp dword [esp + 0x14], 0
je 0x10056ad7
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x28]
call fcn.1005bd70
mov ebx, dword [esp + 0x18]
mov ecx, str.Part
mov eax, ebx
call fcn.1007d7b0
test eax, eax
mov dword [esp + 0x18], eax
jne 0x10056a80
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x10056afc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x10056b0a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push ebx
push edi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.1002a350
mov eax, dword [esp + 0x28]
mov ecx, ebx
call fcn.1005d6b0
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
jbe 0x10056b35
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov byte [esp + 0x18], 0
mov edi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
push edi
push ebx
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov esi, ecx
lea edx, [esp + 0x38]
push esi
push edx
call fcn.10061710
add esp, 0x28
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
mov ecx, esi
push ecx
push edx
push esi
lea eax, [esp + 0x28]
push eax
mov edi, esi
call fcn.1005ebe0
mov ecx, dword [esp + 0x24]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8