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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
xor edi, edi
mov esi, ecx
mov ebx, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
cmp esi, edi
je 0x1013dcdd
cmp ebp, edi
jne 0x1013da4d
push str.xsltApplyXSLTTemplate:_Bad_arguments___templ_is_mandatory._n
push ebx
push edi
push esi
call fcn.100ff400
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esi + 0xc0], edi
je 0x1013da74
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push ebx
push ecx
mov edi, ebp
call fcn.1013c640
add esp, 0xc
test eax, eax
je 0x1013dcdd
xor edi, edi
cmp ebx, edi
je 0x1013dcdd
cmp dword [esi + 0x5c], 2
je 0x1013dcdd
mov ecx, dword [0x10438838]
cmp dword [esi + 0xc], ecx
jge 0x1013dcbf
mov eax, dword [esi + 0x1c]
lea edx, [ecx + ecx*4]
cmp eax, edx
jge 0x1013dcbf
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0xf4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0xa8], edi
mov dword [esp + 0x18], ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x48], edx
cmp dword [esi + 0x70], edi
je 0x1013dae8
inc dword [ebp + 0x30]
call fcn.101005c0
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, esi
call fcn.1013b720
mov edi, ebp
mov eax, esi
call fcn.1013b580
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1013db1c
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x1013db1c
test byte [eax], 4
je 0x1013db1c
mov eax, dword [0x1044dc4c]
push ecx
push str.applying_xsl:template__s_n
push eax
call dword [0x10438780]
add esp, 0xc
mov edi, ebx
mov edi, edi
mov eax, dword [edi + 4]
cmp eax, 3
je 0x1013dba5
cmp eax, 1
jne 0x1013dbb0
mov eax, dword [edi + 8]
cmp byte [eax], 0x70
jne 0x1013dbb0
cmp dword [edi + 0x34], 0
je 0x1013dbb0
push 0x10178958
push eax
call fcn.100d1e20
add esp, 8
test eax, eax
je 0x1013dbb0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x1013dbb0
mov ecx, dword [eax + 8]
push str.http:__www.w3.org_1999_XSL_Transform
push ecx
call fcn.100d1e20
add esp, 8
test eax, eax
je 0x1013dbb0
mov eax, dword [esp + 0x30]
mov ebx, dword [edi + 0x18]
mov ecx, dword [edi + 0x34]
test eax, eax
je 0x1013db9b
mov edx, dword [ecx + 0x48]
mov edi, edi
cmp dword [eax + 0xc], edx
jne 0x1013db95
mov ebp, dword [eax + 0x10]
cmp ebp, dword [ecx + 0x50]
je 0x1013dcaa
mov ebp, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
jne 0x1013db80
push edi
push esi
call fcn.10103780
add esp, 8
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x1013db20
mov edx, dword [esp + 0x28]
push ebp
push ebx
push edx
push esi
call fcn.1013d340
mov eax, dword [esi + 0x1c]
add esp, 0x10
cmp eax, dword [esi + 0x28]
jle 0x1013dbcd
call fcn.1013b6d0
mov edi, dword [esi + 0xf4]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x28], ecx
cmp ebx, edi
je 0x1013dc17
mov eax, edi
mov edi, dword [edi + 0x18]
cmp eax, dword [esi + 0xf8]
jne 0x1013dbf5
mov dword [esi + 0xf8], edi
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1013dbff
mov dword [ecx + 0x18], edi
test edi, edi
je 0x1013dc09
mov edx, dword [eax + 0x1c]
mov dword [edi + 0x1c], edx
push eax
push esi
call fcn.10102190
add esp, 8
cmp edi, ebx
jne 0x1013dbe2
mov edi, dword [esi + 0xa8]
mov dword [esi + 0xf4], ebx
test edi, edi
je 0x1013dc3a
mov eax, edi
mov edi, dword [edi + 0x18]
push eax
push esi
call fcn.10102190
add esp, 8
test edi, edi
jne 0x1013dc27
mov eax, dword [esp + 0x20]
mov ecx, esi
mov dword [esi + 0xa8], eax
call fcn.1013b620
cmp dword [esi + 0x70], 0
je 0x1013dc8e
call fcn.101005c0
sub eax, dword [esp + 0x10]
mov ecx, esi
mov edi, eax
call fcn.1013b7d0
mov ecx, edi
sub ecx, eax
test ecx, ecx
jg 0x1013dc76
push ecx
call fcn.101005b0
add esp, 4
xor ecx, ecx
add dword [ebp + 0x34], ecx
mov eax, dword [esi + 0x78]
test eax, eax
jle 0x1013dc8e
mov ecx, dword [esi + 0x80]
add dword [ecx + eax*4 - 4], edi
lea eax, [ecx + eax*4 - 4]
cmp dword [esi + 0xc0], 0
je 0x1013dcdd
cmp dword [esp + 0x14], 0
je 0x1013dcdd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.10100960
push 0xffffffffffffffff
push eax
push esi
call fcn.1013c700
mov ebp, dword [esp + 0x38]
add esp, 0xc
jmp 0x1013dba5
push ecx
push str.xsltApplyXSLTTemplate:_A_potential_infinite_template_recursion_was_detected._nYou_can_adjust_xsltMaxDepth____maxdepth__in_order_to_raise_the_maximum_number_of_nested_template_calls_and_variables_params__currently_set_to__d_._n
push ebx
push edi
push esi
call fcn.100ff400
mov edx, dword [esp + 0x3c]
push edi
push ebx
push edx
push esi
call fcn.10100970
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret