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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x100c400c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x14
push 0
mov ebx, edx
mov dword [ebp - 0x18], 0x10080d20
call fcn.1004f7b0
mov edi, eax
push 0x58
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0x18]
push dword [ecx + 8]
mov ecx, dword [ecx]
call ecx
mov esi, eax
push 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0xffffffff
mov dword [esi], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 1
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov dword [esi + 0x10], eax
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [edi], esi
mov dword [ebp - 0x14], edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 5
mov eax, dword [ebp - 0x18]
push 0x14
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
push 0xb4
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov esi, eax
mov dword [ebp - 0x10], esi
push 5
mov dword [esi], 0
mov word [esi + 4], 0
mov byte [esi + 6], 0
mov dword [esi + 0x6c], 0x97
mov dword [esi + 8], 0xffffffff
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
mov eax, dword [eax]
call eax
movq xmm0, qword [0x10080d40]
mov dword [esi + 0xc], eax
mov eax, dword [0x10080d48]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
movq qword [esi + 0x58], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x60], eax
mov eax, dword [ebp - 0x18]
push 5
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x84]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 5
mov dword [esi + 0x28], ebx
lea eax, [ebx + edi]
mov dword [ecx], ebx
mov dword [ecx + 8], eax
lea eax, [ebp - 0x18]
mov dword [ecx + 0x14], 1
mov dword [ecx + 0x18], 1
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x2c], eax
call fcn.10060730
movq xmm0, qword [esi + 0x98]
mov eax, dword [esi + 0xa0]
movq qword [esi + 0x2c], xmm0
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x10]
push 0x68
mov dword [eax + 0x74], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov word [eax + 0x80], 0
mov byte [eax + 0x82], 0
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov esi, eax
add esp, 0x40
mov dword [ebp - 0x50], esi
mov dword [esi], 0
mov byte [esi + 0x38], 0
mov word [esi + 0x3a], 1
mov byte [esi + 0x3c], 0
mov dword [esi + 0x5c], 5
mov eax, dword [ebp - 0x18]
push 5
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 5
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0xa
mov eax, dword [ebp - 0x18]
push 0x28
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov dword [esi + 8], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 5
mov eax, dword [ebp - 0x18]
push 0x14
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 5
mov eax, dword [ebp - 0x18]
push 0x14
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov dword [esi + 0x20], eax
mov eax, esi
push ebx
push edi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x60], 0
mov word [esi + 0x64], 0
push str.Parsing__.s._n
mov dword [ebp - 0xc], eax
call fcn.10028c00
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0x2c
mov dword [ebp - 0x4c], 0
mov ebx, esi
mov byte [ebp - 0x45], 0
cmp byte [esi + 0x38], 0
je 0x1005a1a4
mov byte [esi + 0x38], 0
jmp 0x1005a237
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x1005a24f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x1005a1cc
push 0x20b
push 0x100b7938
push str._parser___output__root
call edi
add esp, 0xc
xor cl, cl
mov eax, dword [ebp - 0x10]
cmp cl, byte [eax + 5]
je 0x1005a1f6
test cl, cl
mov eax, str.true
mov edx, 0x1007aef8
cmove eax, edx
push eax
push str.Toggling_is_current_node_foreign_to__s._n
call fcn.10028c00
mov eax, dword [ebp - 0x10]
add esp, 8
mov byte [eax + 5], cl
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov edx, dword [esi + 8]
cmp edx, 0xffffffff
je 0x1005a28d
lea eax, [ebp - 0x44]
mov byte [esi + 4], 1
push eax
call fcn.1005adb0
add esp, 4
mov byte [esi + 4], 0
mov dword [esi + 8], 0xffffffff
cmp byte [ebp - 0x45], 0
mov byte [ebp - 0x45], 0
je 0x1005a234
mov byte [ebp - 0x45], 1
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x44]
mov ecx, str.text
cmp eax, 3
ja case.default.0x1005a248
jmp dword [eax*4 + 0x1005a614]
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x1005a26d
push 0x20f
push 0x100b7938
push str.open_elements__data___NULL
call edi
mov ecx, dword [ebx + 8]
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov eax, dword [ecx + eax*4 - 4]
test eax, eax
je 0x1005a1cc
cmp dword [eax + 0x20], 0
je 0x1005a1cc
mov cl, 1
jmp 0x1005a1ce
lea edx, [ebp - 0x44]
call fcn.1005b2d0
test al, al
jne 0x1005a226
nop dword [eax]
cmp dword [esi + 0x18], 0
je 0x1005a2ba
push 0xb1d
push 0x100b9420
push str._tokenizer___temporary_buffer_emit
call edi
add esp, 0xc
cmp dword [esi + 8], 0xffffffff
je 0x1005a2d4
push 0xb1e
push 0x100b9420
push str.tokenizer___buffered_emit_char__kGumboNoChar
call edi
add esp, 0xc
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
push dword [esi + 0x90]
lea ecx, [ebp - 0x18]
mov eax, dword [eax*4 + 0x10080d58]
push esi
push ecx
call eax
mov cl, byte [esi + 4]
add esp, 0x10
mov byte [esi + 4], 0
cmp eax, 1
je 0x1005a226
test eax, eax
je 0x1005a230
test cl, cl
jne 0x1005a2a0
lea ecx, [esi + 0x84]
call fcn.100608f0
jmp 0x1005a2a0
mov ecx, str.doctype
jmp case.default.0x1005a248
mov ebx, dword [ebp - 0x2c]
cmp ebx, 0x97
jle 0x1005a33d
push 0x24
push 0x100ba020
push str.tag___GUMBO_TAG_LAST
call edi
add esp, 0xc
mov ecx, dword [ebx*4 + 0x100811f0]
jmp case.default.0x1005a248
mov ecx, str.comment
push dword [esi]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push ecx
push str.Handling__s_token___d:_d_in_state__d._n
call fcn.10028c00
lea eax, [ebp - 0x44]
add esp, 0x14
mov dword [esi + 0x60], eax
cmp dword [ebp - 0x44], 1
jne 0x1005a377
cmp byte [ebp - 0x1c], 0
je 0x1005a377
xor al, al
jmp 0x1005a379
mov al, 1
lea edx, [ebp - 0x44]
mov byte [esi + 0x39], al
lea ecx, [ebp - 0x18]
call fcn.10059cc0
test al, al
je 0x1005a395
cmp byte [ebp - 0x45], 0
mov byte [ebp - 0x45], 0
je 0x1005a399
mov byte [ebp - 0x45], 1
cmp byte [esi + 0x38], 0
jne 0x1005a3bf
cmp dword [ebp - 0x44], 1
jne 0x1005a3bf
cmp dword [ebp - 0x28], 0
je 0x1005a3bf
push 0x102b
push 0x100b7938
push str.state___reprocess_current_token__token.type___GUMBO_TOKEN_START_TAG__token.v.start_tag.attributes.data__NULL
call edi
add esp, 0xc
cmp byte [esi + 0x39], 0
jne 0x1005a3da
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x18]
call fcn.1004fc50
test eax, eax
je 0x1005a3da
mov dword [eax], 0x29
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, 0x3b9aca00
jl 0x1005a3fc
push 0x1035
push 0x100b7938
push str.loop_count___1000000000
call edi
add esp, 0xc
cmp dword [ebp - 0x44], 8
jne 0x1005a408
cmp byte [esi + 0x38], 0
je 0x1005a410
mov ebx, dword [ebp - 0xc]
jmp 0x1005a195
lea ecx, [ebp - 0x18]
call fcn.100505c0
mov ebx, dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
call fcn.10050710
mov esi, eax
test esi, esi
je 0x1005a475
mov eax, dword [esi]
cmp eax, 1
je 0x1005a435
cmp eax, 6
jne 0x1005a447
cmp dword [esi + 0x1c], 0xa
jne 0x1005a447
cmp dword [esi + 0x20], 0
jne 0x1005a447
cmp byte [ebx + 0x64], 0
jne 0x1005a467
cmp eax, 1
je 0x1005a451
cmp eax, 6
jne 0x1005a463
cmp dword [esi + 0x1c], 0
jne 0x1005a463
cmp dword [esi + 0x20], 0
jne 0x1005a463
cmp byte [ebx + 0x65], 0
jne 0x1005a467
or dword [esi + 0xc], 2
lea ecx, [ebp - 0x18]
call fcn.10050710
mov esi, eax
test esi, esi
jne 0x1005a429
lea ecx, [ebp - 0x18]
call fcn.10050710
test eax, eax
jne 0x1005a475
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
cmp dword [ebx + 0x20], 0
jne 0x1005a4b4
mov eax, dword [ebp - 0x18]
push 1
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov edx, 0x1007af0a
mov esi, eax
add esp, 8
sub esi, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x1005a4a4
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x24], 0
jne 0x1005a4e2
mov eax, dword [ebp - 0x18]
push 1
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov edx, 0x1007af0a
mov esi, eax
add esp, 8
sub esi, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x1005a4d2
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x28], 0
jne 0x1005a510
mov eax, dword [ebp - 0x18]
push 1
push dword [eax + 8]
mov eax, dword [eax]
call eax
mov edx, 0x1007af0a
mov esi, eax
add esp, 8
sub esi, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x1005a500
mov dword [ebx + 0x28], eax
mov esi, dword [ebp - 0xc]
mov edx, dword [esi + 0x34]
test edx, edx
je 0x1005a522
lea ecx, [ebp - 0x18]
call fcn.10054ea0
cmp dword [esi + 0x1c], 0
jbe 0x1005a539
mov eax, dword [ebp - 0x18]
push dword [esi + 0x14]
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
add esp, 8
cmp dword [esi + 0x10], 0
jbe 0x1005a550
mov eax, dword [ebp - 0x18]
push dword [esi + 8]
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
add esp, 8
cmp dword [esi + 0x28], 0
jbe 0x1005a567
mov eax, dword [ebp - 0x18]
push dword [esi + 0x20]
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
add esp, 8
mov eax, dword [ebp - 0x18]
push dword [esi + 0x40]
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x18]
push esi
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
mov esi, dword [ebp - 0x10]
add esp, 0x10
cmp dword [esi + 0x74], 0
je 0x1005a5a1
push 0x367
push 0x100b9420
push str.tokenizer___doc_type_state.name__NULL
call edi
add esp, 0xc
cmp dword [esi + 0x78], 0
je 0x1005a5bb
push 0x368
push 0x100b9420
push str.tokenizer___doc_type_state.public_identifier__NULL
call edi
add esp, 0xc
cmp dword [esi + 0x7c], 0
je 0x1005a5d5
push 0x369
push 0x100b9420
push str.tokenizer___doc_type_state.system_identifier__NULL
call edi
add esp, 0xc
mov eax, dword [ebp - 0x18]
push dword [esi + 0xc]
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x18]
push dword [esi + 0x1c]
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x18]
push esi
push dword [eax + 8]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x18
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10069076
mov esp, ebp
pop ebp
ret