Function at 0x10056d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10113d38
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
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.1004c720
test eax, eax
jne 0x10056de4
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.1007d8b0
mov esi, eax
cmp esi, edi
je 0x10056f59
call fcn.10060840
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.1007d8b0
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x18], ebx
je 0x10056eab
jmp 0x10056e46
mov ebx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x14], edi
lea edi, [ebx + 0x2c]
mov esi, str.Signature
call fcn.1007eeb0
test eax, eax
je 0x10056e97
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea esi, [eax + 8]
push 0x1011f854
push esi
call dword [sym.imp.MSVCR80.dll_sscanf_s]
add esp, 0xc
test esi, esi
je 0x10056e97
cmp dword [esp + 0x14], 0
je 0x10056e97
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x28]
call fcn.1005c0b0
mov ebx, dword [esp + 0x18]
mov ecx, str.Part
mov eax, ebx
call fcn.1007d8f0
test eax, eax
mov dword [esp + 0x18], eax
jne 0x10056e40
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x10056ebc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x10056eca
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.100792e0
mov eax, dword [esp + 0x28]
mov ecx, ebx
call fcn.1005d8e0
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
jbe 0x10056ef5
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.10061820
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.1005ed80
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