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

Disassembly:
push 0xffffffffffffffff
push 0x46d3fe
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x489ec0]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489ec0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, dword [esp + 0x118]
mov ebp, dword [esp + 0x11c]
mov ebx, ecx
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
mov ecx, esi
sar ecx, 0x10
mov edx, esi
and edx, 0xffff
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x34], edx
shl edx, 5
mov eax, dword [ecx + edx + 0xc]
and eax, 0xffff
xor edi, edi
lea ecx, [esp + 0x64]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], eax
call fcn.0041d080
xor edx, edx
mov dword [esp + 0x110], edi
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], edi
mov word [esp + 0xec], dx
mov byte [esp + 0x110], 1
mov dword [ebp + 8], edi
lea ecx, [ecx]
lea eax, [esp + 0xd8]
push eax
mov ecx, ebp
call fcn.0041f250
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
cmp eax, 1
jne 0x41d6ba
mov ecx, dword [ebx + 0x64]
mov esi, dword [ecx + 4]
mov edx, dword [ebx + 0x44]
cmp edx, esi
jne 0x41d54f
mov eax, edx
sar eax, 1
add eax, edx
cmp esi, eax
jge 0x41d54f
push eax
call fcn.004183b0
mov esi, dword [ebx + 0x44]
lea ecx, [esi + 1]
mov dword [ebx + 0x44], ecx
cmp dword [esp + 0x24], edi
jne 0x41d562
mov dword [esp + 0x24], esi
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax]
mov eax, esi
and eax, 0xffff
mov edx, esi
sar edx, 0x10
shl eax, 5
add eax, dword [ecx + edx*4]
mov edx, dword [esp + 0x118]
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], edi
mov edi, dword [ebx + 0x64]
mov ebp, dword [edi]
mov ecx, edx
and edx, 0xffff
sar ecx, 0x10
shl edx, 5
add edx, dword [ebp + ecx*4]
mov ecx, dword [edx + 0x14]
test ecx, ecx
je 0x41d5e9
mov edx, ecx
and ecx, 0xffff
shl ecx, 5
sar edx, 0x10
add ecx, dword [ebp + edx*4]
mov edi, ebp
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, edx
mov ebp, edx
sar ecx, 0x10
mov ecx, dword [edi + ecx*4]
and ebp, 0xffff
shl ebp, 5
mov dword [ecx + ebp + 0x18], esi
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov dword [edx + 0x1c], esi
mov dword [eax + 0xc], 0
jmp 0x41d5f6
mov dword [edx + 0x14], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0xc], 0x80000
mov edi, dword [eax + 0xc]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
add edx, ecx
and edi, 0xffff0000
or edi, edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x14], 0
mov edx, dword [esp + 0xdc]
mov dword [eax], edx
mov edx, dword [eax + 8]
xor edx, dword [esp + 0xe0]
and edx, 0x3fffff
xor dword [eax + 8], edx
test dword [esp + 0xe4], 0x10000
mov edx, dword [eax + 8]
je 0x41d664
mov esi, dword [esp + 0x118]
and edx, 0x3fffff
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xe0]
mov dword [eax + 4], ecx
jmp 0x41d510
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov edx, dword [ebp + 0xc]
sub edi, eax
lea eax, [edx + eax*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
inc ecx
inc edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x64], ecx
cmp ecx, eax
jne 0x41d69c
lea ecx, [eax + eax]
push ecx
lea ecx, [esp + 0x68]
call fcn.0041cce0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
mov edx, ecx
shl edx, 4
sub edx, ecx
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x1c]
push edi
push edx
call fcn.0040ed30
jmp 0x41d510
cmp eax, edi
jne 0x41d9fb
mov eax, dword [esp + 0x64]
mov edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41d7ac
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
and edx, 8
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0xc]
sub eax, ecx
lea ecx, [edx + ecx*2]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x64]
mov edx, ecx
shl edx, 4
inc eax
sub edx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
lea edx, [ecx + edx*4]
mov ecx, edx
sub edx, 0x3c
cmp dword [ecx + 0x18], 8
mov dword [esp + 0x14], edx
jb 0x41d71f
mov edx, dword [ecx + 4]
mov dword [esp + 0x30], edx
jmp 0x41d726
add ecx, 4
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
push ecx
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.00418010
add esp, 0x10
test eax, eax
jne 0x41d76d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
movzx eax, word [ecx + edx*2]
test ax, ax
je 0x41d7a1
cmp ax, 0x20
jb 0x41d76d
cmp ax, 0x5d
ja 0x41d76d
movzx eax, ax
movsx eax, byte [eax + 0x474898]
test eax, eax
jne 0x41d7a1
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
mov edx, edi
and edi, 0xffff
sar edx, 0x10
mov edx, dword [eax + edx*4]
dec ecx
shl edi, 5
mov edi, dword [edx + edi + 0x10]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x41d7ac
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
jmp 0x41d707
cmp dword [esp + 0x18], 0
jne 0x41d9b5
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [eax + edx*4]
mov ecx, dword [esp + 0x34]
shl ecx, 5
or dword [eax + ecx + 0xc], 0x800000
lea eax, [eax + ecx + 0xc]
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
mov ecx, esi
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
mov eax, esi
and eax, 0xffff
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
lea eax, [ecx + eax + 0xc]
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.0041afd0
mov ecx, dword [esp + 0xdc]
push 0xffffffffffffffff
push ecx
push 0
push ecx
mov edi, 8
mov byte [esp + 0x120], 2
mov dword [esp + 0x24], esp
mov ecx, esp
cmp dword [eax + 0x18], edi
jb 0x41d824
mov eax, dword [eax + 4]
jmp 0x41d827
add eax, 4
push ecx
mov dword [ecx], eax
mov eax, esp
lea edx, [ebx + 0x1c]
mov dword [esp + 0x28], esp
push edx
mov dword [eax], str.lone_end_tag
call fcn.0041e3d0
add esp, 0x18
mov byte [esp + 0x110], 1
cmp dword [esp + 0x60], edi
jb 0x41d85d
mov eax, dword [esp + 0x4c]
push eax
call fcn.0044db5e
add esp, 4
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], cx
cmp dword [esp + 0x18], 0
je 0x41d510
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x18]
jle 0x41dace
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edx + ecx*4]
shl eax, 5
or dword [edx + eax + 0xc], 0x800000
lea eax, [edx + eax + 0xc]
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
mov eax, esi
and eax, 0xffff
mov ecx, esi
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
and dword [eax + 8], 0x3fffff
or dword [eax + 0xc], 0x100000
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
and ecx, 0x3fffff
mov dword [esp + 0x118], ebp
mov dword [eax + 0x14], 0
mov dword [eax + 4], ecx
test edx, 0x200000
je 0x41d932
xor edx, 0x200000
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 0x64]
mov ecx, dword [ecx]
mov edx, ebp
and ebp, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
shl ebp, 5
or dword [edx + ebp + 0xc], 0x200000
lea ecx, [edx + ebp + 0xc]
mov ebp, dword [esp + 0x118]
test edi, edi
je 0x41d99e
mov ebx, dword [ebx + 0x64]
mov ebx, dword [ebx]
mov ecx, edi
sar ecx, 0x10
mov edx, edi
add ecx, ecx
add ecx, ecx
mov ebx, dword [ecx + ebx]
and edx, 0xffff
shl edx, 5
mov dword [ebx + edx + 0x10], ebp
mov ebx, dword [esp + 0x38]
mov ebp, dword [ebx + 0x64]
mov ebp, dword [ebp]
mov ebp, dword [ecx + ebp]
mov dword [edx + ebp + 0x1c], esi
mov ebx, dword [ebx + 0x64]
mov ebx, dword [ebx]
mov ebp, esi
sar ebp, 0x10
mov ebx, dword [ebx + ebp*4]
mov ebp, dword [esp + 0x118]
and esi, 0xffff
shl esi, 5
mov dword [ebx + esi + 0x18], edi
mov ebx, dword [esp + 0x38]
mov esi, edi
mov edi, dword [ebx + 0x64]
mov edi, dword [edi]
mov ecx, dword [edi + ecx]
mov edi, dword [ecx + edx + 0x18]
test edi, edi
jne 0x41d936
cmp dword [esp + 0x28], 0
jne 0x41da69
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
dec edx
jmp 0x41da6c
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
mov ecx, dword [esp + 0xe0]
mov edx, edi
and edi, 0xffff
sar edx, 0x10
shl edi, 5
add edi, dword [eax + edx*4]
sub ecx, dword [edi]
mov edx, dword [edi + 8]
add ecx, dword [esp + 0xdc]
and edx, 0x3fffff
mov dword [edi + 4], ecx
mov eax, dword [esp + 0xe0]
shl eax, 0x16
or edx, eax
mov dword [edi + 8], edx
jmp 0x41d874
cmp eax, 0xffffffff
jne 0x41da5b
mov eax, dword [ebx + 0x64]
mov ecx, dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x34]
shl edx, 5
or dword [ecx + edx + 0xc], 0x800000
lea eax, [ecx + edx + 0xc]
mov eax, dword [ebx + 0x64]
mov eax, dword [eax]
mov edx, esi
mov ecx, esi
and ecx, 0xffff
sar edx, 0x10
mov edx, dword [eax + edx*4]
shl ecx, 5
or dword [edx + ecx + 0xc], 0x200000
lea eax, [edx + ecx + 0xc]
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xf0]
push eax
lea ecx, [ebx + 0x1c]
call fcn.00404350
jmp 0x41d510
cmp eax, 0xfffffffe
jne 0x41d510
jmp 0x41d883
mov edx, dword [ebx + 0x14]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
push edx
mov edx, dword [eax]
mov ecx, edi
shl ecx, 4
sub ecx, edi
cmp dword [esi + ecx*4 + 0x18], 8
push edx
lea ecx, [esi + ecx*4]
push 0
push ecx
mov dword [esp + 0x24], esp
mov eax, esp
jb 0x41da97
mov ecx, dword [ecx + 4]
jmp 0x41da9a
add ecx, 4
push ecx
mov dword [eax], ecx
mov eax, esp
mov dword [eax], str.unended_start_tag
lea eax, [ebx + 0x1c]
mov dword [esp + 0x28], esp
push eax
call fcn.0041e3d0
dec edi
add esp, 0x18
cmp edi, dword [esp + 0x18]
mov esi, ebp
mov dword [esp + 0x64], edi
jg 0x41d8b0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
cmp eax, 0xfffffffe
je 0x41dafd
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
mov eax, esi
and esi, 0xffff
sar eax, 0x10
mov eax, dword [edx + eax*4]
shl esi, 5
mov esi, dword [eax + esi + 0x10]
dec dword [esp + 0x64]
mov dword [esp + 0x118], esi
jmp 0x41d510
cmp dword [esp + 0x100], 8
jb 0x41db17
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0044db5e
add esp, 4
mov eax, dword [esp + 0x70]
xor edx, edx
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], 0
mov word [esp + 0xec], dx
mov dword [esp + 0x110], 0xffffffff
test eax, eax
je 0x41db67
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00419610
push ecx
push 0x3c
push eax
call fcn.00450b0e
push esi
call fcn.0044e80a
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0044e030
add esp, 0x100
ret 8