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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6684e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
push edi
push ecx
mov ebx, ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.RootElement
mov dword [esp + 0x1c], ebx
call esi
lea ecx, [esp + 0x70]
call dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTree::constructor_class_AString_]
mov eax, dword [ebp + 8]
push 1
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], 0
call dword [sym.imp.AXML.dll_public:_int___thiscall_AXMLTree::loadFromFile_class_AFilePath___int_]
test eax, eax
je 0x40302c
mov edi, dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_void_]
lea ecx, [esp + 0x5c]
call edi
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call edi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x88], 2
call dword [sym.imp.AXML.dll_public:_int___thiscall_AXMLTree::getRootNode_class_AXMLTreeNode__]
test eax, eax
je 0x40300a
mov edi, dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_class_AXMLTreeNode_const__]
lea edx, [esp + 0x54]
push edx
sub esp, 8
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.AdvancedColorMappingData
mov byte [esp + 0x98], 3
call esi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x94], 2
call dword [sym.imp.AXML.dll_public:_int___thiscall_AXMLTree::getChild_class_AString__class_AXMLTreeNode__class_AXMLTreeNode__]
test eax, eax
je 0x40300a
mov esi, dword [sym.imp.AXML.dll_public_virtual:_void___thiscall_AXMLTreeNode::destructor_void_]
mov dword [esp + 0x1c], 0
lea ebx, [ebx]
lea ecx, [esp + 0x3c]
call dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 4
call dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 5
call dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_void_]
lea ecx, [esp + 0x3c]
push ecx
sub esp, 8
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x94], 6
call edi
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x7c]
call dword [sym.imp.AXML.dll_public:_int___thiscall_AXMLTree::getChild_int__class_AXMLTreeNode__class_AXMLTreeNode__]
test eax, eax
je 0x402f51
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, ebx
call fcn.004018a0
test al, al
je 0x402f1e
lea eax, [esp + 0x4c]
push eax
sub esp, 8
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.InputColorItem
mov byte [esp + 0x98], 7
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x94], 6
call dword [sym.imp.AXML.dll_public:_int___thiscall_AXMLTree::getChild_class_AString__class_AXMLTreeNode__class_AXMLTreeNode__]
test eax, eax
je 0x402f1e
lea eax, [esp + 0x44]
push eax
sub esp, 8
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.OutputColorItem
mov byte [esp + 0x98], 8
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x94], 6
call dword [sym.imp.AXML.dll_public:_int___thiscall_AXMLTree::getChild_class_AString__class_AXMLTreeNode__class_AXMLTreeNode__]
test eax, eax
je 0x402f1e
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebx
call fcn.004019a0
lea edx, [esp + 0x30]
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call fcn.00401b00
mov edi, eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
mov dword [esp + 0x24], edi
call fcn.00401b00
test edi, edi
mov dword [esp + 0x24], eax
je 0x402fde
test eax, eax
je 0x402fde
cmp edi, 6
je 0x402fde
cmp eax, 5
je 0x402fde
cmp eax, 6
jne 0x402cf8
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
call fcn.00401dd0
mov ecx, dword [ebx]
test ecx, ecx
jne 0x402cd1
push eax
mov ecx, ebx
call fcn.00402130
test al, al
je 0x402fde
mov ecx, dword [ebx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x20], ebx
jmp 0x402cfc
mov edx, dword [ecx]
cmp edx, 0xd
jne 0x402ce5
mov dword [ecx], eax
mov ecx, dword [ebx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x20], ebx
jmp 0x402cfc
cmp eax, edx
jne 0x402fde
mov ecx, dword [ebx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x20], ebx
jmp 0x402cfc
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_void_]
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, 5
mov byte [esp + 0x84], 9
jne 0x402def
lea ecx, [esp + 0x64]
call dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_void_]
mov edi, dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_class_AXMLTreeNode_const__]
lea edx, [esp + 0x64]
push edx
sub esp, 8
lea eax, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x94], 0xa
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.SpotColorName
mov byte [esp + 0x98], 0xb
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::constructor_char_const__]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x94], 0xa
call dword [sym.imp.AXML.dll_public:_int___thiscall_AXMLTree::getChild_class_AString__class_AXMLTreeNode__class_AXMLTreeNode__]
test eax, eax
jne 0x402d8d
lea ecx, [esp + 0x64]
mov byte [esp + 0x84], 9
call esi
jmp 0x402eca
sub esp, 8
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.AXML.dll_public:_class_AString___thiscall_AXMLTree::getValue_class_AXMLTreeNode_]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0xc
call dword [sym.imp.FSUTIL.dll_public:_class_AString_const____thiscall_AString::operator_class_AString_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 0xa
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
lea ecx, [esp + 0x10]
call dword [sym.imp.FSUTIL.dll_protected:_struct_AStringData____thiscall_AString::GetData_void_const]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x64]
lea edi, [eax + 1]
mov byte [esp + 0x84], 9
call esi
lea ecx, [edi + ebx + 0x1f]
push ecx
push 1
call dword [sym.imp.MSVCR71.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
je 0x402fcc
mov edx, dword [esp + 0x30]
push 0
push edx
lea eax, [edi + 0x18]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x7c]
push edx
call fcn.00401f10
test al, al
je 0x402fc2
cmp dword [esp + 0x24], 6
sete al
lea ecx, [edi + 0x1c]
lea edx, [esp + 0x44]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.00401f10
test al, al
je 0x402fc2
cmp dword [esp + 0x18], 5
jne 0x402e97
lea ecx, [edi + ebx + 0x1f]
mov dword [edi + 0x14], ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.FSUTIL.dll_protected:_struct_AStringData____thiscall_AString::GetData_void_const]
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.FSUTIL.dll_public:_char____thiscall_AString::GetBuffer_int_]
mov edx, dword [edi + 0x14]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x402e81
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::ReleaseBuffer_int_]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x14]
push edi
mov dword [edi], 0
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0x10], ebx
call fcn.00401670
test byte [esp + 0x28], 2
je 0x402eca
mov byte [ecx + 0xc], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 6
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 5
call esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 4
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 2
call esi
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edi, dword [sym.imp.AXML.dll_public:_void___thiscall_AXMLTreeNode::constructor_class_AXMLTreeNode_const__]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x402b20
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 5
call esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 4
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 2
call esi
inc dword [esp + 0x1c]
jmp 0x402b20
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 5
call esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 4
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 2
call esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0
call esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.AXML.dll_public_virtual:_void___thiscall_AXMLTree::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 6
call dword [sym.imp.FSUTIL.dll_public:_void___thiscall_AString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 5
call esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 4
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 2
call esi
jmp 0x403010
mov esi, dword [sym.imp.AXML.dll_public_virtual:_void___thiscall_AXMLTreeNode::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
call esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0
call esi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.AXML.dll_public_virtual:_void___thiscall_AXMLTree::destructor_void_]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4