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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4a738d
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4a738d
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x4ac7e0
or eax, 0xffffffff
ret
sub esp, 0x80
mov ecx, dword [esp + 0x88]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x90]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x70], ecx
push edi
mov dword [esp + 0x6c], ebx
lea eax, [esi + 8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x38], 1
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov edx, dword [eax]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x64], ebx
test eax, eax
jle 0x4ac8bd
shl eax, 2
push eax
call dword [sym.KomManager.exe_xmlMalloc]
mov edi, eax
add esp, 4
mov dword [esp + 0x60], edi
test edi, edi
jne 0x4ac89e
push str.running_regexp
push str.Memory_allocation_failed_:__s_n
push eax
push eax
push eax
push eax
push str.running_regexp
push eax
push eax
push 3
push 2
push 0xe
push eax
push eax
push eax
push eax
push eax
call sym.KomManager.exe___xmlRaiseError
add esp, 0x44
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x80
ret
mov eax, dword [esi + 0x14]
shl eax, 2
push eax
push 0
push edi
call fcn.00633f10
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x98]
jmp 0x4ac8c3
xor edi, edi
mov dword [esp + 0x60], edi
test edx, edx
je 0x4acd80
cmp byte [ecx + ebx], 0
jne 0x4ac8da
cmp dword [edx], 2
je 0x4acd80
mov dword [esp + 0x18], 1
cmp byte [ecx + ebx], 0
jne 0x4ac91c
test edi, edi
jne 0x4ac91c
cmp ebp, dword [edx + 0x18]
jge 0x4acd23
mov eax, dword [edx + 0x1c]
lea ecx, [ebp*4]
add ecx, ebp
cmp dword [eax + ecx*4 + 4], edi
jl 0x4ac91c
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0xc], edi
jne 0x4acd23
cmp dword [eax + 0x10], edi
jle 0x4acd23
mov dword [esp + 0x50], 0
cmp ebp, dword [edx + 0x18]
jge 0x4acd1a
nop dword [eax]
mov eax, dword [edx + 0x1c]
lea ecx, [ebp*4]
add ecx, ebp
cmp dword [eax + ecx*4 + 4], 0
lea eax, [eax + ecx*4]
mov dword [esp + 0x14], eax
jl 0x4acc3a
mov ecx, dword [eax + 0xc]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 1
test ecx, ecx
js 0x4ac9a7
test edi, edi
je 0x4acd78
mov esi, dword [esp + 0x94]
mov eax, dword [edi + ecx*4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x18]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
cmp dword [esp + 0x20], ecx
jl 0x4acc3a
mov eax, dword [eax + 4]
cmp dword [esp + 0x20], eax
jg 0x4acc3a
cmp ecx, eax
je 0x4acbb0
xor eax, eax
jmp 0x4acbb4
test esi, esi
je 0x4accf6
mov eax, dword [esp + 0x98]
add eax, ebx
cmp byte [eax], 0
je 0x4acc78
lea ecx, [esp + 0x18]
push ecx
push eax
push 0
call sym.KomManager.exe_xmlStringCurrentChar
push eax
push esi
call fcn.004ad380
mov edx, eax
add esp, 0x14
mov dword [esp + 0x2c], edx
cmp edx, 1
jne 0x4acb7f
cmp dword [esi + 0xc], 0
jl 0x4acba5
cmp dword [esi + 0x10], 0
jle 0x4acba5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
js 0x4aca64
test edi, edi
je 0x4acd78
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4acd78
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4acd78
lea ecx, [edi + ecx*4]
mov edi, dword [ecx]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
mov ecx, dword [esp + 0x28]
cmp edi, dword [eax + esi*8 + 4]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
jge 0x4acc4d
inc dword [ecx]
mov ecx, dword [esp + 0x10]
lea eax, [ebp + 1]
cmp dword [ecx + 0x18], eax
jle 0x4aca9c
lea eax, [esp + 0x34]
push eax
call fcn.004acea0
mov eax, dword [esp + 0x78]
add esp, 4
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x10], ecx
mov edi, 1
mov dword [esp + 0x50], edi
cmp edi, dword [esi + 0x10]
je 0x4acb3e
add ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x6c], ebx
cmp byte [eax + ebx], 0
je 0x4acb36
cmp edi, dword [esi + 0xc]
jl 0x4acb08
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], 0xffffffff
call fcn.004acea0
mov eax, dword [esp + 0x14]
add esp, 4
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x18]
add eax, ebx
push ecx
push eax
push 0
call sym.KomManager.exe_xmlStringCurrentChar
push eax
push esi
call fcn.004ad380
mov edx, eax
inc edi
add esp, 0x14
mov dword [esp + 0x50], edi
cmp edx, 1
jne 0x4acb3e
mov ecx, dword [esp + 0x10]
jmp 0x4acaa5
sub ebx, dword [esp + 0x18]
mov dword [esp + 0x6c], ebx
xor eax, eax
cmp edi, dword [esi + 0xc]
cmovge eax, edx
xor edx, edx
test eax, eax
cmovns edx, eax
test edx, edx
je 0x4acd23
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x60]
mov eax, dword [eax + 8]
test eax, eax
js 0x4acb6f
test edi, edi
je 0x4acd78
dec dword [edi + eax*4]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x94], esi
jmp 0x4acc5a
test edx, edx
jne 0x4acc53
cmp dword [esi + 0xc], edx
jne 0x4acc4d
cmp dword [esi + 0x10], edx
jle 0x4acc4d
mov dword [esp + 0x50], 1
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x94]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x10], 1
je 0x4acbd0
cmp dword [ecx + 0xc], 0
jl 0x4acc0b
test eax, eax
jne 0x4acc0b
lea eax, [ebp + 1]
cmp dword [edx + 0x18], eax
jle 0x4acc0b
lea eax, [esp + 0x34]
push eax
call fcn.004acea0
mov eax, dword [esp + 0x78]
add esp, 4
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x94], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
js 0x4acca3
test edi, edi
je 0x4acd78
test esi, esi
je 0x4acd78
mov esi, dword [esi + 0x18]
test esi, esi
je 0x4acd78
mov eax, dword [edi + ecx*4]
cmp eax, dword [esi + ecx*8 + 4]
jl 0x4acca0
inc ebp
mov dword [esp + 0x4c], ebp
cmp ebp, dword [edx + 0x18]
jl 0x4ac930
jmp 0x4acd1a
mov edx, dword [esp + 0x10]
jmp 0x4acc3a
mov esi, dword [esp + 0x94]
cmp edx, 1
je 0x4acbac
test edx, edx
mov edx, dword [esp + 0x10]
jns 0x4acc3a
mov dword [esp + 0x34], 0xfffffffc
jmp 0x4acd1a
cmp dword [esi + 0xc], 0
jne 0x4acc3a
cmp dword [esi + 0x10], 0
jle 0x4acc3a
mov esi, dword [esp + 0x94]
mov dword [esp + 0x50], 1
mov dword [esp + 0x18], 0
jmp 0x4acbb0
inc dword [edi + ecx*4]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
cmp eax, 0x123455
ja 0x4accc0
test edi, edi
je 0x4acd78
mov dword [edi + eax*4], 0
mov eax, dword [esp + 0x24]
xor ebp, ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x4c], ebp
mov eax, dword [eax]
mov edx, dword [eax + ecx*4]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x10], edx
mov dword [esp + 0x48], edx
cmp dword [esi], ebp
je 0x4acd6b
add ebx, dword [esp + 0x18]
mov dword [esp + 0x6c], ebx
jmp 0x4acd6b
push str.epsilon_transition_left_at_runtime_n
push 2
call fcn.0063b548
add esp, 4
push eax
call fcn.0045a950
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x34], 0xfffffffe
test ebp, ebp
jne 0x4acd23
cmp dword [edx + 0x18], ebp
jne 0x4acd64
lea eax, [esp + 0x34]
mov dword [esp + 0x38], 0
push eax
call fcn.004ace20
mov ecx, dword [esp + 0x78]
add esp, 4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x94], eax
jmp 0x4acd6b
mov ecx, dword [esp + 0x98]
cmp dword [esp + 0x34], 0
je 0x4ac8c3
jmp 0x4acd80
mov dword [esp + 0x34], 0xffffffff
mov ebp, dword [esp + 0x5c]
test ebp, ebp
je 0x4acdb9
test edi, edi
je 0x4acdaf
mov ebx, dword [esp + 0x54]
test ebx, ebx
jle 0x4acdaf
lea esi, [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x4acda7
push eax
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
add esi, 0x10
sub ebx, 1
jne 0x4acd97
push ebp
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
cmp dword [esp + 0x10], 0
je 0x4ac890
test edi, edi
je 0x4acdd2
push edi
call dword [sym.KomManager.exe_xmlFree]
add esp, 4
cmp dword [esp + 0x34], 0
jne 0x4acde9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret
cmp dword [esp + 0x34], 0xffffffff
jne 0x4ace0e
cmp dword [esp + 0x8c], 0x989680
jg 0x4ac890
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret