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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor ebx, ebx
cmp ebp, ebx
jne 0x4b2653
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4b264d
push eax
call sym.APEManTool.exe_xmlFreeParserInputBuffer
add esp, 4
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x18]
or eax, 0x10000
mov dword [esp + 0x24], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0xb8], eax
mov dword [ebp + 8], ebx
cmp edi, ebx
je 0x4b26a2
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
je 0x4b2695
test byte [ebp + 0xc], 1
je 0x4b2695
push eax
call sym.APEManTool.exe_xmlFreeParserInputBuffer
add esp, 4
dec dword [ebp + 0xc]
mov dword [ebp + 0x1c], ebx
mov esi, 1
or dword [ebp + 0xc], esi
mov dword [ebp + 0x1c], edi
jmp 0x4b26a7
mov esi, 1
cmp dword [ebp + 0x54], ebx
jne 0x4b26bd
push 0x64
call sym.APEManTool.exe_xmlBufferCreateSize
add esp, 4
mov dword [ebp + 0x54], eax
cmp eax, ebx
je 0x4b26da
cmp dword [ebp + 0x18], ebx
jne 0x4b26d3
push 0x80
call dword [sym.APEManTool.exe_xmlMalloc]
add esp, 4
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
cmp eax, ebx
jne 0x4b273a
call fcn.00442300
mov edi, dword [0x5ad17c]
call edi
cmp dword [0x614d88], eax
jne 0x4b26f6
mov esi, 0x6155d8
jmp 0x4b2703
call sym.APEManTool.exe_xmlGetGlobalState
mov esi, eax
add esi, 0x17c
call fcn.00442300
call edi
cmp dword [0x614d88], eax
jne 0x4b2719
mov eax, 0x612d44
jmp 0x4b2723
call sym.APEManTool.exe_xmlGetGlobalState
add eax, 0x174
mov ecx, dword [esi]
mov edx, dword [eax]
push str.xmlTextReaderSetup_:_malloc_failed_n
push ecx
call edx
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
push 2
push eax
call sym.APEManTool.exe_xmlSAXVersion
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x38]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x38], 0x4ae610
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 0x3c]
mov dword [ebp + 0x24], edx
mov dword [eax + 0x3c], 0x4ae670
mov eax, dword [ebp + 0x18]
add esp, 8
cmp dword [eax + 0x6c], 0xdeedbeaf
jne 0x4b2790
mov ecx, dword [eax + 0x74]
mov dword [ebp + 0x28], ecx
mov dword [eax + 0x74], 0x4ae690
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 0x78]
mov dword [ebp + 0x2c], edx
mov dword [eax + 0x78], 0x4ae710
jmp 0x4b2796
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x44]
mov dword [ebp + 0x30], ecx
mov ecx, 0x4ae730
mov dword [eax + 0x44], ecx
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x48], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x64]
mov dword [ebp + 0x34], ecx
mov dword [eax + 0x64], 0x4ae750
mov dword [ebp], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
cmp edi, ebx
je 0x4b28e4
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x10]
mov esi, 4
cmp dword [eax + 4], esi
jae 0x4b27e8
push esi
push edi
call sym.APEManTool.exe_xmlParserInputBufferRead
add esp, 8
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jne 0x4b2835
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x1c]
push edx
cmp dword [eax + 4], esi
jb 0x4b281e
mov eax, dword [eax]
mov ecx, dword [ebp + 0x18]
push esi
push eax
push ebx
push ecx
call sym.APEManTool.exe_xmlCreatePushParserCtxt
add esp, 0x14
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], esi
jmp 0x4b28b7
mov eax, dword [ebp + 0x18]
push ebx
push ebx
push ebx
push eax
call sym.APEManTool.exe_xmlCreatePushParserCtxt
add esp, 0x14
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x38], ebx
jmp 0x4b28b4
push eax
call sym.APEManTool.exe_xmlCtxtReset
push ebx
call sym.APEManTool.exe_xmlAllocParserInputBuffer
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4b28d7
mov ecx, dword [ebp + 0x14]
push ecx
call sym.APEManTool.exe_xmlNewInputStream
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4b2871
push edi
call sym.APEManTool.exe_xmlFreeParserInputBuffer
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4b287e
mov dword [esi + 4], ebx
jmp 0x4b288a
push eax
call sym.APEManTool.exe_xmlCanonicPath
add esp, 4
mov dword [esi + 4], eax
mov dword [esi], edi
mov edx, dword [edi + 0x10]
mov eax, dword [edx]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov dword [esi + 0x10], edx
mov edi, dword [edi + 0x10]
mov eax, dword [edi + 4]
add eax, dword [edi]
push esi
mov dword [esi + 0x14], eax
mov ecx, dword [ebp + 0x14]
push ecx
call sym.APEManTool.exe_inputPush
add esp, 8
mov dword [ebp + 0x3c], ebx
cmp dword [ebp + 0x14], ebx
jne 0x4b28df
call sym.APEManTool.exe___xmlGenericError
mov esi, eax
call sym.APEManTool.exe___xmlGenericErrorContext
mov edx, dword [eax]
mov eax, dword [esi]
push str.xmlTextReaderSetup_:_malloc_failed_n
push edx
call eax
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov esi, 1
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x14]
cmp edx, ebx
je 0x4b291b
mov ecx, dword [eax + 0x128]
cmp ecx, ebx
je 0x4b2913
cmp edx, ecx
je 0x4b293d
push edx
call sym.APEManTool.exe_xmlDictFree
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x128]
add esp, 4
mov dword [ebp + 0x58], edx
jmp 0x4b293d
mov dword [eax + 0x128], edx
jmp 0x4b293d
cmp dword [eax + 0x128], ebx
jne 0x4b2931
call sym.APEManTool.exe_xmlDictCreate
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x128]
mov dword [ebp + 0x58], eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x110], ebp
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x118], esi
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x16c], esi
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x134], esi
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1b4], 5
mov eax, dword [ebp + 0xa0]
cmp eax, ebx
je 0x4b2987
push eax
call sym.APEManTool.exe_xmlXIncludeFreeContext
add esp, 4
mov dword [ebp + 0xa0], ebx
mov edi, 0x400
test dword [esp + 0x24], edi
je 0x4b29b7
mov eax, dword [ebp + 0x58]
push 0xffffffffffffffff
push str.include
push eax
mov dword [ebp + 0x98], esi
call sym.APEManTool.exe_xmlDictLookup
add esp, 0xc
sub dword [esp + 0x24], edi
mov dword [ebp + 0x9c], eax
jmp 0x4b29bd
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0xa4], ebx
cmp dword [ebp + 0xb0], ebx
jne 0x4b29d7
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xac], ebx
cmp dword [ebp + 0xa8], ebx
jle 0x4b2a1c
nop
dec dword [ebp + 0xa8]
mov eax, dword [ebp + 0xa8]
mov ecx, dword [ebp + 0xb0]
cmp dword [ecx + eax*4], ebx
lea eax, [ecx + eax*4]
je 0x4b2a14
mov edx, dword [eax]
push edx
call sym.APEManTool.exe_xmlFreePattern
mov eax, dword [ebp + 0xa8]
mov ecx, dword [ebp + 0xb0]
add esp, 4
mov dword [ecx + eax*4], ebx
cmp dword [ebp + 0xa8], ebx
jg 0x4b29e0
mov eax, dword [esp + 0x24]
test al, 0x10
je 0x4b2a27
mov dword [ebp + 8], esi
mov esi, dword [ebp + 0x14]
xor edi, edi
call fcn.00420cf0
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4b2a53
push eax
call sym.APEManTool.exe_xmlFindCharEncodingHandler
add esp, 4
cmp eax, ebx
je 0x4b2a53
mov edx, dword [ebp + 0x14]
push eax
push edx
call sym.APEManTool.exe_xmlSwitchToEncoding
add esp, 8
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4b2a7c
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x24]
cmp eax, ebx
je 0x4b2a7c
cmp dword [eax + 4], ebx
jne 0x4b2a7c
push ecx
call sym.APEManTool.exe_xmlStrdup
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x24]
add esp, 4
mov dword [edx + 4], eax
pop edi
pop esi
mov dword [ebp + 4], ebx
pop ebp
xor eax, eax
pop ebx
ret