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

Disassembly:
push 0xffffffffffffffff
push 0x4edeeb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x2c8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2d8]
mov eax, dword [ebp + 0x60]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
xor ebx, ebx
and eax, 0xffff
mov dword [esp + 0x48], eax
lea esi, [ebp + 0x1c]
push ebx
or eax, 0xffffffff
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ebx
mov dword [ecx + 8], ebx
call fcn.00401a10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2d0], ebx
lea esi, [ebx + 6]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebx
call fcn.00497920
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x2c
mov edx, dword [esp + 0x34]
lea edi, [eax + ecx]
mov ecx, edi
mov dword [esp + 0x2c], edi
call fcn.00499be0
xor ecx, ecx
mov dword [esp + 0x3c], eax
cmp eax, 1
jne 0x4994c2
mov eax, dword [ebp + 0x64]
cmp dword [ebp + 0x44], eax
jne 0x499377
push ecx
mov esi, ebp
call fcn.00498ed0
cmp dword [esp + 0x40], 0
mov ebx, dword [ebp + 0x44]
lea edx, [ebx + 1]
mov dword [esp + 0x28], ebx
mov dword [ebp + 0x44], edx
jne 0x49938f
mov dword [esp + 0x40], ebx
mov edx, dword [ebp + 0x60]
mov eax, ebx
and eax, 0xffff
mov ecx, ebx
sar ecx, 0x10
shl eax, 5
add eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
mov edx, ecx
mov dword [eax + 0x18], 0
mov esi, dword [ebp + 0x60]
sar edx, 0x10
mov edx, dword [esi + edx*4]
and ecx, 0xffff
shl ecx, 5
lea edx, [edx + ecx + 0x14]
mov ecx, dword [edx]
test ecx, ecx
je 0x499428
mov edx, ecx
sar edx, 0x10
and ecx, 0xffff
shl ecx, 5
add edx, edx
add edx, edx
mov edi, dword [edx + esi]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + ecx + 0x1c]
mov edi, ecx
mov dword [esp + 0x3c], ecx
and ecx, 0xffff
sar edi, 0x10
mov esi, dword [esi + edi*4]
mov edi, dword [esp + 0x2c]
shl ecx, 5
mov dword [esi + ecx + 0x18], ebx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp + 0x60]
mov edx, dword [edx + ecx]
mov ecx, dword [esp + 0x38]
mov dword [edx + ecx + 0x1c], ebx
mov dword [eax + 0xc], 0
jmp 0x499434
mov dword [edx], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], 0x80000
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [eax + 0xc]
and edx, 0xffff0000
or ecx, edx
mov edx, dword [eax + 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [edi + 4]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
xor edx, ecx
and edx, 0x3fffff
xor dword [eax + 8], edx
test dword [edi + 0xc], 0x10000
mov ecx, dword [eax + 8]
je 0x499491
mov ebx, dword [esp + 0x18]
and ecx, 0x3fffff
mov dword [eax + 8], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x28], ebx
mov dword [eax + 4], ecx
jmp 0x49933b
mov eax, dword [esp + 0x24]
inc dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jne 0x49933b
mov esi, dword [esp + 0x20]
lea esi, [esi + esi + 6]
lea ecx, [esp + 0x1c]
call fcn.00497920
jmp 0x49933b
test eax, eax
jne 0x499783
mov edx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x30], edx
mov esi, ebx
test eax, eax
je 0x499549
mov ecx, dword [esp + 0x1c]
imul eax, eax, 0x2c
lea eax, [eax + ecx - 0x18]
mov dword [esp + 0x38], eax
jmp 0x4994f4
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x14], 8
push ecx
mov dword [esp + 0x50], esp
mov ecx, esp
jb 0x499503
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
call fcn.00497850
test al, al
jne 0x49953e
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 0x60]
sub dword [esp + 0x38], 0x2c
mov edx, esi
and esi, 0xffff
sar edx, 0x10
mov edx, dword [ecx + edx*4]
dec eax
shl esi, 5
mov esi, dword [edx + esi + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4994f0
jmp 0x499549
cmp dword [esp + 0x30], 0
jne 0x49974b
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov edx, dword [ebp + 0x60]
mov ecx, ebx
mov eax, ebx
and eax, 0xffff
sar ecx, 0x10
mov ecx, dword [edx + ecx*4]
shl eax, 5
or dword [ecx + eax + 0xc], 0x200000
cmp dword [ebp + 0x30], 0
lea eax, [ecx + eax + 0xc]
jne 0x4995ed
mov edx, dword [esp + 0x34]
lea edi, [esp + 0x50]
call fcn.00499a10
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x499598
mov eax, dword [eax + 4]
jmp 0x49959b
add eax, 4
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 4]
push ecx
push eax
push str.No_start_tag_for_end_tag__.50s_at_offset__d
lea edx, [esp + 0x78]
call fcn.0049aa70
add esp, 0xc
cmp dword [esp + 0x68], esi
jb 0x4995c8
mov edx, dword [esp + 0x54]
push edx
call fcn.004c8f17
add esp, 4
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4995d0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x70]
push eax
lea esi, [ebp + 0x1c]
call fcn.00401760
cmp dword [esp + 0x30], 0
je 0x49933b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
cmp edx, ecx
jle 0x4998b0
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
or dword [eax + 0xc], 0x800000
mov eax, edx
sub eax, ecx
sub edx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x60]
mov esi, ebx
and esi, 0xffff
mov ecx, ebx
sar ecx, 0x10
shl esi, 5
add esi, dword [edx + ecx*4]
and dword [esi + 8], 0x3fffff
or dword [esi + 0xc], 0x100000
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
and eax, 0x3fffff
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], 0
mov dword [esi + 4], eax
test ecx, 0x200000
je 0x499698
xor ecx, 0x200000
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0x60]
mov eax, ebx
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edi, ebx
and edi, 0xffff
shl edi, 5
or dword [eax + edi + 0xc], 0x200000
lea eax, [eax + edi + 0xc]
test edx, edx
je 0x4996fc
mov edi, dword [ebp + 0x60]
nop
mov eax, edx
sar eax, 0x10
mov ecx, edx
add eax, eax
add eax, eax
mov edi, dword [edi + eax]
and ecx, 0xffff
shl ecx, 5
mov dword [edi + ecx + 0x10], ebx
mov edi, dword [ebp + 0x60]
mov ebx, dword [edi + eax]
mov edi, dword [esp + 0x28]
mov dword [ebx + ecx + 0x1c], edi
mov ebp, dword [ebp + 0x60]
mov ebx, edi
sar ebx, 0x10
mov ebx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x44]
and edi, 0xffff
shl edi, 5
mov dword [ebx + edi + 0x18], edx
mov edi, dword [ebp + 0x60]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov edx, dword [edi + eax]
mov edx, dword [edx + ecx + 0x18]
test edx, edx
jne 0x4996a0
dec dword [esp + 0x24]
cmp dword [ebp + 0x30], 0
mov dword [esp + 0x28], ebx
jne 0x4998a5
cmp dword [esp + 0x3c], 0
jne 0x499847
mov edx, dword [esp + 0x34]
lea edi, [esp + 0x50]
call fcn.00499a10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
imul ecx, ecx, 0x2c
lea ecx, [ecx + edx + 0x10]
mov edi, 8
cmp dword [ecx + 0x18], edi
jb 0x4997e3
mov ecx, dword [ecx + 4]
jmp 0x4997e6
mov edx, dword [ebp + 0x60]
mov eax, dword [edi + 4]
mov ecx, esi
and esi, 0xffff
sar ecx, 0x10
shl esi, 5
add esi, dword [edx + ecx*4]
sub eax, dword [esi]
mov ecx, dword [esi + 8]
add eax, dword [edi + 8]
and ecx, 0x3fffff
mov dword [esi + 4], eax
mov edi, dword [edi + 8]
shl edi, 0x16
or ecx, edi
mov dword [esi + 8], ecx
jmp 0x4995ed
cmp eax, 0xffffffff
jne 0x4997d5
mov edx, dword [ebp + 0x60]
mov eax, dword [edx]
or dword [eax + 0xc], 0x800000
mov ecx, dword [ebp + 0x60]
mov eax, ebx
sar eax, 0x10
mov eax, dword [ecx + eax*4]
mov edx, ebx
and edx, 0xffff
shl edx, 5
or dword [eax + edx + 0xc], 0x200000
cmp dword [ebp + 0x30], 0
lea eax, [eax + edx + 0xc]
jne 0x49933b
push 0xffffffffffffffff
add edi, 0x10
push 0
push edi
lea eax, [ebp + 0x1c]
call fcn.00401850
jmp 0x49933b
cmp eax, 0xfffffffe
jne 0x49933b
jmp 0x4995fc
add ecx, 4
cmp dword [eax + 0x18], edi
jb 0x4997f0
mov eax, dword [eax + 4]
jmp 0x4997f3
add eax, 4
mov edx, dword [esi]
push edx
push ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
dec edx
push edx
push eax
push str.End_tag__.50s_at_offset__d_does_not_match_start_tag_.50_s_at_offset__d
lea edx, [esp + 0x80]
call fcn.0049aa70
add esp, 0x14
cmp dword [esp + 0x68], edi
jb 0x499827
mov eax, dword [esp + 0x54]
push eax
call fcn.004c8f17
add esp, 4
lea eax, [esp + 0x6c]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499830
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
jmp 0x49989d
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
imul edx, edx, 0x2c
add eax, edx
cmp dword [eax + 0x28], 8
jb 0x49985f
mov ecx, dword [eax + 0x14]
jmp 0x499862
lea ecx, [eax + 0x14]
mov edx, dword [eax + 4]
push edx
push ecx
push str.Element__.50s_at_offset__d_not_ended
lea edx, [esp + 0x208]
call fcn.0049aa70
lea eax, [esp + 0x208]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x499885
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x200]
push eax
lea esi, [ebp + 0x1c]
call fcn.00401760
sub dword [esp + 0x2c], 1
jne 0x499622
cmp dword [esp + 0x3c], 0xfffffffe
je 0x4998e9
mov edx, dword [ebp + 0x60]
mov ecx, ebx
and ebx, 0xffff
sar ecx, 0x10
mov eax, dword [edx + ecx*4]
shl ebx, 5
mov ebx, dword [eax + ebx + 0x10]
mov eax, 1
sub dword [esp + 0x24], eax
sub dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
jmp 0x49933b
mov dword [esp + 0x2d0], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x49991d
mov ecx, dword [esi - 4]
mov edx, dword [esp + 0x1c]
push fcn.0042bd40
add esi, 0xfffffffc
push ecx
push 0x2c
push edx
call fcn.004c93f0
push esi
call fcn.004ca215
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b0]
xor ecx, esp
call fcn.004c8f08
add esp, 0x2c0
ret 4