Function at 0x4580a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x62c201
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0
push 1
push esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 1
call fcn.0041f7f0
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov edi, dword [esp + 0x3c]
lea ecx, [esp + ecx + 0x1c]
mov byte [esp + 0x30], 2
call fcn.004304e0
mov ecx, dword [edi + 4]
add eax, 0xc
push eax
lea ecx, [esp + ecx + 0x40]
call fcn.004304e0
add eax, 0xc
push eax
call fcn.0041afa0
add esp, 8
test al, al
jne 0x45815f
push 0xb7
push str.c:work_fishdom_aqua_gameXmlAttribute.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x58]
push eax
push str.newAttribute___name__thisAttribute___name
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x50], esp
lea edx, [esp + 0x70]
push edx
push str.Assertion_failed
mov byte [esp + 0x70], 3
call fcn.00403db0
mov byte [esp + 0x68], 2
call fcn.00405c50
add esp, 0x38
mov eax, dword [ebp + 4]
mov edx, dword [esi + 0x3c]
lea ecx, [esp + eax + 0x1c]
mov eax, dword [edx + 4]
lea ebx, [esi + 0x3c]
mov dword [esp + 0x10], ecx
lea ecx, [eax + esi + 0x3c]
call fcn.004304e0
add eax, 0x48
jne 0x458185
xor ecx, ecx
jmp 0x45818c
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
cmp edx, dword [eax]
je 0x4581e2
push 0xb8
push str.c:work_fishdom_aqua_gameXmlAttribute.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x58]
push edx
push str._nextAttribute___prevAttribute__thisAttribute
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [esp + 0x70]
push eax
push str.Assertion_failed
mov byte [esp + 0x70], 4
call fcn.00403db0
mov byte [esp + 0x68], 2
call fcn.00405c50
add esp, 0x38
mov ecx, dword [ebp + 4]
mov eax, dword [esi + 0x48]
lea edx, [esp + ecx + 0x1c]
mov ecx, dword [eax + 4]
lea ebp, [esi + 0x48]
lea ecx, [ecx + esi + 0x48]
mov dword [esp + 0x10], edx
call fcn.004304e0
add eax, 0x3c
jne 0x458208
xor ecx, ecx
jmp 0x45820f
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx]
je 0x458265
push 0xb9
push str.c:work_fishdom_aqua_gameXmlAttribute.h
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x38], esp
lea edx, [esp + 0x58]
push edx
push str._prevAttribute___nextAttribute__thisAttribute
call fcn.00403db0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [esp + 0x70]
push eax
push str.Assertion_failed
mov byte [esp + 0x70], 5
call fcn.00403db0
mov byte [esp + 0x68], 2
call fcn.00405c50
add esp, 0x38
mov ecx, dword [edi + 4]
push ebx
lea ecx, [esp + ecx + 0x40]
call fcn.004304e0
mov ecx, eax
add ecx, 0x3c
call fcn.00422700
mov ecx, dword [edi + 4]
push ebp
lea ecx, [esp + ecx + 0x40]
call fcn.004304e0
mov ecx, eax
add ecx, 0x48
call fcn.004228b0
mov ecx, dword [edi + 4]
mov eax, dword [ebp]
lea edx, [esp + ecx + 0x3c]
mov ecx, dword [eax + 4]
push edx
lea ecx, [ecx + esi + 0x48]
call fcn.004304e0
mov ecx, eax
add ecx, 0x3c
call fcn.00422b90
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x3c]
push edx
lea ecx, [ecx + esi + 0x3c]
call fcn.004304e0
mov ecx, eax
add ecx, 0x48
call fcn.004228b0
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x38]
lea eax, [esp + eax + 0x3c]
push eax
mov ecx, esi
mov dword [esi], 0x6580c8
call fcn.00420750
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x30], 1
call fcn.0042ce80
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0
call fcn.0041fe40
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x10