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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x10]
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x34
mov eax, dword [edx]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], 0
mov dword [esp + 4], edi
mov dword [esp], edx
call dword [eax + 0x1c]
sub esp, 8
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [ebp - 0x10]
cmp eax, 0x11
ja case.0x1000aeb7.5
jmp dword [eax*4 + 0x1001493c]
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x1000b240
mov eax, dword [esi]
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [eax + 0x18]
sub esp, 8
test eax, eax
jne 0x1000aef7
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, esi
mov dword [esp], eax
mov eax, ebx
call fcn.1000ae80
test eax, eax
jns 0x1000aecb
mov ecx, eax
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 0x8000ffff
test byte [0x1001105c], 4
je case.0x1000aeb7.2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_node_type__d._n
mov dword [esp + 8], str.writer_write_node
mov dword [esp + 4], 0x1001105c
mov dword [esp], 2
mov dword [ebp - 0x28], ecx
call fcn.1000a9f0
mov ecx, dword [ebp - 0x28]
jmp case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x3c]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x38]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x34]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], ecx
call dword [eax + 0x6c]
sub esp, 0x10
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], edx
call dword [eax + 0x18]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x50]
sub esp, 4
test eax, eax
je 0x1000b295
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x3c]
sub esp, 4
mov ecx, eax
jmp case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x38]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x40]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], edx
call dword [eax + 0x58]
sub esp, 0xc
mov ecx, eax
jmp case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x40]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [ebx]
mov edx, dword [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0x2c]
sub esp, 8
mov ecx, eax
jmp case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x40]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [ebx]
mov edx, dword [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0x78]
sub esp, 8
mov ecx, eax
jmp case.0x1000aeb7.2
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x44]
sub esp, 4
mov ecx, eax
jmp case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x40]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [ebx]
mov edx, dword [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0x60]
sub esp, 8
mov ecx, eax
jmp case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x40]
sub esp, 0xc
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [ebx]
mov edx, dword [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], edx
call dword [eax + 0x20]
sub esp, 8
mov ecx, eax
jmp case.0x1000aeb7.2
mov dword [ebp - 0x28], 0
lea edi, [ebp - 0x24]
mov dword [ebp - 0x2c], ebx
mov ebx, esi
mov esi, dword [sym.imp.ucrtbase.dll_wcscmp]
jmp 0x1000b203
mov eax, dword [ebx]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [eax + 0x38]
sub esp, 0xc
test eax, eax
js 0x1000aef7
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], str.standalone
mov dword [esp], eax
call esi
test eax, eax
je 0x1000b250
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x24]
sub esp, 4
test eax, eax
je 0x1000b1d0
mov ebx, dword [ebp - 0x2c]
mov ecx, eax
js case.0x1000aeb7.2
mov eax, dword [ebx]
mov edi, dword [ebp - 0x28]
mov dword [esp], ebx
mov dword [esp + 4], edi
call dword [eax + 0x68]
sub esp, 8
mov ecx, eax
jmp case.0x1000aeb7.2
xor ecx, ecx
jmp case.0x1000aeb7.2
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [eax + 0x40]
sub esp, 0xc
test eax, eax
js 0x1000aef7
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], 0x1001491a
mov dword [esp], eax
call esi
cmp eax, 1
mov eax, 1
sbb eax, 0xffffffff
mov dword [ebp - 0x28], eax
jmp 0x1000b1c7
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1000b240
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x2c]
sub esp, 4
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
mov dword [esp], esi
mov dword [esp + 4], ecx
call dword [eax + 0x60]
sub esp, 8
mov ecx, eax
test eax, eax
js case.0x1000aeb7.2
lea esi, [esi]
mov eax, dword [esi]
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [eax + 0x18]
sub esp, 8
test eax, eax
jne 0x1000aef7
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, esi
mov dword [esp], eax
mov eax, ebx
call fcn.1000ae80
test eax, eax
js 0x1000aef7
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x2c]
sub esp, 4
test eax, eax
js 0x1000aef7
mov eax, dword [esi]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x60]
sub esp, 8
test eax, eax
js 0x1000aef7
cmp dword [ebp - 0x10], 0xf
jne 0x1000b2d0
mov edx, dword [ebp - 0x14]
sub edx, 1
cmp edx, dword [ebp - 0x18]
jne 0x1000b2d0
mov ecx, eax
jmp case.0x1000aeb7.2