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

Disassembly:
sub esp, 0x80
mov eax, dword [0x610bc8]
xor eax, esp
mov dword [esp + 0x7c], eax
push esi
mov esi, dword [esp + 0x88]
test esi, esi
jne 0x405f22
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.005402d0
add esp, 0x80
ret
push edi
push 0x1f4
mov dword [esp + 0x20], 0x1f4
call dword [sym.APEManTool.exe_xmlMallocAtomic]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne 0x405f63
mov eax, str.getting_node_path
call entry0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.005402d0
add esp, 0x80
ret
push ebp
push 0x1f4
call dword [sym.APEManTool.exe_xmlMallocAtomic]
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x405fa7
mov eax, str.getting_node_path
call entry0
push edi
call dword [sym.APEManTool.exe_xmlFree]
add esp, 4
pop ebp
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.005402d0
add esp, 0x80
ret
mov byte [edi], 0
push ebx
mov eax, dword [esi + 4]
xor ebx, ebx
mov edx, 8
mov ecx, 0x5d78bc
mov dword [esp + 0x10], 0x5d78b6
mov dword [esp + 0x14], 0x5d78b8
cmp eax, 9
je 0x40631e
cmp eax, 0xd
je 0x40631e
cmp eax, 1
jne 0x406108
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 8]
xor ebp, ebp
mov dword [esp + 0x10], ecx
test eax, eax
je 0x406035
mov eax, dword [eax + 0xc]
test eax, eax
je 0x406028
push ecx
push eax
push str._s:_s
lea eax, [esp + 0x34]
push 0x63
push eax
call fcn.0054db70
lea ecx, [esp + 0x3c]
add esp, 0x14
mov byte [esp + 0x8b], 0
mov dword [esp + 0x10], ecx
jmp 0x406035
mov ebp, 1
mov dword [esp + 0x10], 0x5d78c8
mov edi, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x18], edx
test edi, edi
je 0x406097
cmp dword [edi + 4], 1
jne 0x406088
test ebp, ebp
jne 0x406087
mov eax, dword [edi + 8]
mov ecx, dword [esi + 8]
push eax
push ecx
call sym.APEManTool.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x406088
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
je 0x406087
test eax, eax
je 0x406088
test ecx, ecx
je 0x406088
mov edx, dword [eax + 0xc]
mov eax, dword [ecx + 0xc]
push edx
push eax
call sym.APEManTool.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x406088
inc ebx
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x406043
test ebx, ebx
jne 0x406242
mov edi, dword [esi + 0x18]
test edi, edi
je 0x406333
test ebx, ebx
jne 0x4060fe
cmp dword [edi + 4], 1
jne 0x4060ef
test ebp, ebp
jne 0x4060ea
mov ecx, dword [edi + 8]
mov edx, dword [esi + 8]
push ecx
push edx
call sym.APEManTool.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4060ef
mov eax, dword [edi + 0x24]
mov ecx, dword [esi + 0x24]
cmp eax, ecx
je 0x4060ea
test eax, eax
je 0x4060ef
test ecx, ecx
je 0x4060ef
mov eax, dword [eax + 0xc]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
call sym.APEManTool.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4060ef
mov ebx, 1
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4060a2
test ebx, ebx
je 0x406333
mov ebx, 1
jmp 0x406333
cmp eax, edx
jne 0x40616b
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], str.comment__
test eax, eax
je 0x40613b
cmp dword [eax + 4], edx
jne 0x40612c
inc ebx
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x406126
test ebx, ebx
jne 0x406242
mov esi, dword [esi + 0x18]
test esi, esi
je 0x406333
test ebx, ebx
jne 0x4060fe
cmp dword [esi + 4], edx
jne 0x406154
mov ebx, 1
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x406146
test ebx, ebx
je 0x406333
lea ebx, [esi + 1]
jmp 0x406333
cmp eax, 3
je 0x4062bb
cmp eax, 4
je 0x4062bb
cmp eax, 7
jne 0x406248
mov ecx, dword [esi + 8]
push ecx
push str.processing_instruction__s_
lea edx, [esp + 0x30]
push 0x63
push edx
mov dword [esp + 0x24], 0x5d78bc
call fcn.0054db70
mov byte [esp + 0x9b], 0
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
add esp, 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
test edi, edi
je 0x4061f5
mov ebp, 7
lea esp, [esp]
cmp dword [edi + 4], ebp
jne 0x4061ea
mov edx, dword [edi + 8]
mov eax, dword [esi + 8]
push edx
push eax
call sym.APEManTool.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x4061ea
inc ebx
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x4061d0
test ebx, ebx
jne 0x406242
mov edi, dword [esi + 0x18]
test edi, edi
je 0x406333
mov ebp, 7
test ebx, ebx
jne 0x4060fe
cmp dword [edi + 4], ebp
jne 0x40622b
mov ecx, dword [edi + 8]
mov edx, dword [esi + 8]
push ecx
push edx
call sym.APEManTool.exe_xmlStrEqual
add esp, 8
test eax, eax
je 0x40622b
mov ebx, 1
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x406205
test ebx, ebx
je 0x406333
lea ebx, [edi + 1]
jmp 0x406333
inc ebx
jmp 0x406333
cmp eax, 2
jne 0x4062b2
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], 0x5d7900
mov dword [esp + 0x10], ecx
test eax, eax
je 0x4062a6
mov eax, dword [eax + 0xc]
push ecx
test eax, eax
je 0x406282
push eax
push str._s:_s
lea eax, [esp + 0x34]
push 0x63
push eax
call fcn.0054db70
add esp, 0x14
jmp 0x406296
push 0x5d7904
lea ecx, [esp + 0x30]
push 0x63
push ecx
call fcn.0054db70
add esp, 0x10
lea edx, [esp + 0x28]
mov byte [esp + 0x8b], 0
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
jmp 0x406333
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
jmp 0x406333
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], str.text__
mov dword [esp + 0x18], edx
test eax, eax
je 0x4062f2
mov ecx, dword [eax + 4]
cmp ecx, 3
je 0x4062e2
cmp ecx, 4
jne 0x4062e3
inc ebx
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x4062d5
test ebx, ebx
jne 0x406242
mov esi, dword [esi + 0x18]
test esi, esi
je 0x406333
lea esp, [esp]
mov eax, dword [esi + 4]
cmp eax, 3
je 0x4060fe
cmp eax, 4
je 0x4060fe
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x406300
jmp 0x406333
cmp byte [edi], 0x2f
je 0x406401
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x20]
xor eax, eax
test edi, edi
je 0x406349
cmp byte [edi], 0
je 0x406349
inc eax
cmp byte [eax + edi], 0
jne 0x406342
mov esi, dword [esp + 0x24]
add eax, 0x78
cmp eax, esi
jbe 0x4063a7
xor eax, eax
test edi, edi
je 0x406367
cmp byte [edi], 0
je 0x406367
nop
inc eax
cmp byte [eax + edi], 0
jne 0x406360
lea esi, [eax + esi*2 + 0x78]
push esi
push edi
mov dword [esp + 0x2c], esi
call dword [sym.APEManTool.exe_xmlRealloc]
add esp, 8
test eax, eax
je 0x406426
mov ebp, dword [esp + 0x1c]
mov edi, eax
push esi
push ebp
mov dword [esp + 0x28], edi
call dword [sym.APEManTool.exe_xmlRealloc]
add esp, 8
test eax, eax
je 0x406437
mov ebp, eax
mov dword [esp + 0x1c], ebp
jmp 0x4063ab
mov ebp, dword [esp + 0x1c]
push edi
test ebx, ebx
jne 0x4063cb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push str._s_s_s
push esi
push ebp
call fcn.0054db70
add esp, 0x18
jmp 0x4063e5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
push str._s_s__d__s
push esi
push ebp
call fcn.0054db70
add esp, 0x1c
push ebp
push 0x5d7904
push esi
push edi
call fcn.0054db70
mov esi, dword [esp + 0x28]
add esp, 0x10
test esi, esi
jne 0x405fab
push ebp
call dword [sym.APEManTool.exe_xmlFree]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x8c]
pop ebx
pop ebp
pop edi
pop esi
xor ecx, esp
call fcn.005402d0
add esp, 0x80
ret
mov eax, str.getting_node_path
call entry0
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x406442
mov eax, str.getting_node_path
call entry0
push ebp
call dword [sym.APEManTool.exe_xmlFree]
push edi
call dword [sym.APEManTool.exe_xmlFree]
add esp, 8
xor eax, eax
jmp 0x40640d