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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ce5b5
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61a654]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
jmp 0x579560
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x1020e0]
mov edi, dword [eax]
xor ebx, ebx
add ebp, 0x1020cc
mov dword [esp + 0x18], ebx
mov esi, dword [ebp]
jmp 0x579580
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp]
test esi, esi
je 0x579592
cmp esi, eax
je 0x579597
call fcn.0059ec50
cmp edi, dword [esp + 0x4c]
je 0x579618
test esi, esi
jne 0x5795f0
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5795b2
call fcn.0059ec50
mov ecx, dword [edi + 8]
call fcn.00575c90
mov ecx, eax
call fcn.00575c90
test eax, eax
jne 0x5795f8
test esi, esi
jne 0x5795f4
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5795da
call fcn.0059ec50
mov ebx, dword [edi + 8]
push edi
push esi
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebp
call fcn.004a25b0
mov edi, dword [ebp + 0x14]
jmp 0x579578
mov eax, dword [esi]
jmp 0x5795a8
mov eax, dword [esi]
jmp 0x5795d0
test esi, esi
jne 0x579614
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x57960d
call fcn.0059ec50
mov edi, dword [edi]
jmp 0x579580
mov eax, dword [esi]
jmp 0x579603
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x579940
mov ecx, ebx
call fcn.00575c90
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
push edx
lea eax, [esp + 0x44]
add ebp, 0x1020e8
push eax
mov ecx, ebp
call fcn.0057aa70
mov esi, dword [esp + 0x40]
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp]
test esi, esi
je 0x57965c
cmp esi, eax
je 0x579661
call fcn.0059ec50
cmp dword [esp + 0x44], edi
jne 0x579795
lea ecx, [esp + 0x20]
call fcn.00569e40
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0xbc], 0
call fcn.00573690
push 1
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.0056a0b0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov ecx, ebx
mov dword [eax], esi
call fcn.00575c90
mov dword [esp + 0x58], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
call fcn.0057b380
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x5c]
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0xb4], 1
call fcn.0057b380
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebp
mov byte [esp + 0xb8], 2
call fcn.0057b960
lea ecx, [esp + 0x7c]
call fcn.004c3300
mov edx, dword [esp + 0x7c]
push edx
call fcn.0059e6bb
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.004c3300
mov eax, dword [esp + 0x5c]
push eax
call fcn.0059e6bb
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0x38], 0
cmp eax, ecx
je 0x579775
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.0059e6bb
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x579760
push ecx
call fcn.0059e6bb
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x3c], 0
call fcn.0059e6bb
add esp, 8
jmp 0x579560
mov ecx, ebx
call fcn.00575c90
add eax, 0x304
mov ebp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x5797b0
mov edi, dword [eax + 4]
jmp 0x5797b3
lea edi, [eax + 4]
mov ecx, ebx
call fcn.00575c90
mov eax, dword [eax + 4]
cmp dword [eax + 0x3c], ebp
jb 0x5797c7
mov eax, dword [eax + 0x28]
jmp 0x5797ca
add eax, 0x28
cmp dword [ebx + 0x31c], ebp
jb 0x5797da
mov edx, dword [ebx + 0x308]
jmp 0x5797e0
lea edx, [ebx + 0x308]
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x3c], ebp
jb 0x5797ed
mov ecx, dword [ebx + 0x28]
jmp 0x5797f0
lea ecx, [ebx + 0x28]
push edi
push eax
push edx
push ecx
push str.WARNING:_Crossparent_part:_part:___s:_s___parent:___s:_s_
call fcn.00558fd0
add esp, 0x14
test esi, esi
jne 0x579864
call fcn.0059ec50
xor eax, eax
mov ebx, dword [esp + 0x44]
cmp ebx, dword [eax + 0x18]
jne 0x57981a
call fcn.0059ec50
lea edx, [ebx + 0x10]
push edx
lea ecx, [esp + 0x24]
call fcn.0057b380
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb0], 3
test eax, eax
jne 0x579868
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x579851
call fcn.0059ec50
mov eax, dword [edi + 8]
cmp dword [eax + 0x31c], ebp
jb 0x57986c
mov ecx, dword [eax + 0x308]
jmp 0x579872
mov eax, dword [esi]
jmp 0x57980c
mov eax, dword [eax]
jmp 0x579847
lea ecx, [eax + 0x308]
mov eax, dword [eax + 4]
cmp dword [eax + 0x3c], ebp
jb 0x57987f
mov eax, dword [eax + 0x28]
jmp 0x579882
add eax, 0x28
push ecx
push eax
push str._________primary_part:___s:_s__n
call fcn.00558fd0
add esp, 0xc
test esi, esi
jne 0x579931
call fcn.0059ec50
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x5798aa
call fcn.0059ec50
mov edi, dword [ebx + 0x24]
mov edx, dword [edi + 4]
lea esi, [ebx + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
push edi
mov ecx, esi
call fcn.00573690
push 1
mov ecx, esi
mov ebp, eax
call fcn.0056a0b0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0x38], edi
cmp eax, ecx
je 0x579915
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.0059e6bb
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x579900
push ecx
call fcn.0059e6bb
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x3c], edi
call fcn.0059e6bb
add esp, 8
jmp 0x579560
mov eax, dword [esi]
jmp 0x5798a0
mov ecx, dword [ebp + 0x14]
mov edi, dword [ecx]
mov dword [esp + 0x18], 0
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp]
test esi, esi
je 0x57995e
cmp esi, eax
je 0x579963
call fcn.0059ec50
cmp edi, ebx
je 0x5799e4
test esi, esi
jne 0x5799bc
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x57997c
call fcn.0059ec50
mov edx, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
push edx
call fcn.00577ac0
test al, al
je 0x5799c4
test esi, esi
jne 0x5799c0
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5799a2
call fcn.0059ec50
mov eax, dword [edi + 8]
push edi
push esi
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.004a25b0
mov edi, dword [ebp + 0x14]
jmp 0x57994d
mov eax, dword [esi]
jmp 0x579972
mov eax, dword [esi]
jmp 0x579998
test esi, esi
jne 0x5799e0
call fcn.0059ec50
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x5799d9
call fcn.0059ec50
mov edi, dword [edi]
jmp 0x579950
mov eax, dword [esi]
jmp 0x5799cf
cmp dword [esp + 0x18], 0
jne 0x579940
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x1020e4], 0
je 0x579acb
push str.Error__Isolated_parts__no_zorder__no_zparent_:_n_____________________________________________n
call fcn.00558fd0
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov esi, dword [ebp]
add esp, 4
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp]
test esi, esi
je 0x579a23
cmp esi, eax
je 0x579a28
call fcn.0059ec50
cmp ebx, edi
je 0x579abe
test esi, esi
jne 0x579a58
call fcn.0059ec50
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x579a45
call fcn.0059ec50
mov eax, dword [ebx + 8]
add eax, 0x304
cmp dword [eax + 0x18], 0x10
jb 0x579a5c
mov edi, dword [eax + 4]
jmp 0x579a5f
mov eax, dword [esi]
jmp 0x579a3b
lea edi, [eax + 4]
test esi, esi
jne 0x579a88
call fcn.0059ec50
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x579a74
call fcn.0059ec50
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 4]
add eax, 0x24
cmp dword [eax + 0x18], 0x10
jb 0x579a8c
mov eax, dword [eax + 4]
jmp 0x579a8f
mov eax, dword [esi]
jmp 0x579a6a
add eax, 4
push edi
push eax
push str._______part:___s:_s_
call fcn.00558fd0
add esp, 0xc
test esi, esi
jne 0x579aba
call fcn.0059ec50
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x579ab3
call fcn.0059ec50
mov ebx, dword [ebx]
jmp 0x579a15
mov eax, dword [esi]
jmp 0x579aa9
push str._end_________________________________________n
call fcn.00558fd0
add esp, 4
mov edx, dword [0x658788]
cmp byte [edx + 8], 0
je 0x579ae0
mov ecx, dword [esp + 0x1c]
call fcn.00578120
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret