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

Disassembly:
push 0xffffffffffffffff
push 0x4804d5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov ebp, ecx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x13c], eax
mov esi, dword [esp + 0x144]
mov eax, dword [esi]
mov edx, dword [esp + 0x14c]
mov ecx, dword [esi + 4]
mov edi, dword [ebp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
lea eax, [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x34], ecx
mov byte [esp + 0x1b], 0
lea edx, [edi + 4]
cmp eax, 8
jb 0x414891
mov ebx, dword [edx]
jmp 0x414893
mov ebx, edx
mov ecx, dword [edi + 0x14]
add ecx, ecx
add ebx, ecx
mov dword [esp + 0x1c], ebx
je 0x4148c8
cmp eax, 8
jb 0x4148a9
mov ebx, dword [edx]
jmp 0x4148ab
mov ebx, edx
cmp ebx, dword [esp + 0x1c]
ja 0x4148c4
cmp eax, 8
jb 0x4148b8
mov edx, dword [edx]
mov ebx, dword [esp + 0x1c]
add edx, ecx
cmp ebx, edx
jbe 0x4148cd
jmp 0x4148c8
mov ebx, dword [esp + 0x1c]
call fcn.0045fdc5
cmp edi, 0xfffffffc
je 0x4148db
cmp edi, dword [esi]
je 0x4148db
call fcn.0045fdc5
cmp ebx, dword [esi + 4]
je 0x414f48
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0x2c]
call fcn.00405100
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [esp + 0x154]
mov ebx, esi
call fcn.004182f0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x414f48
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0x2c]
call fcn.004050b0
mov edi, eax
mov eax, dword [edi]
cmp eax, 0xfffffffc
je 0x414935
test eax, eax
je 0x414930
cmp eax, dword [esp + 0x24]
je 0x414935
call fcn.0045fdc5
mov ecx, dword [edi + 4]
cmp ecx, dword [esp + 0x28]
je 0x414f00
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0x2c]
call fcn.00405100
mov edi, eax
mov eax, dword [edi]
cmp eax, 0xfffffffc
je 0x414964
test eax, eax
je 0x41495f
cmp eax, dword [esi]
je 0x414964
call fcn.0045fdc5
mov edx, dword [edi + 4]
cmp edx, dword [esi + 4]
je 0x414f00
cmp dword [esp + 0x1c], 0x52
jne 0x414999
lea eax, [ebp + 4]
push eax
call fcn.0041c850
mov ecx, dword [esp + 0x14c]
mov edx, dword [ecx + 0x1c]
mov dword [edx], eax
add esp, 4
add eax, 4
mov dword [ecx + 0x1c], eax
mov byte [ebp + 0xa], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.00405100
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14c]
push edx
push eax
push ecx
lea eax, [esp + 0x30]
call fcn.00417d70
cmp eax, 2
je 0x414eee
mov eax, dword [esp + 0x1c]
add eax, 0xffffffb6
cmp eax, 7
ja case.default.0x4149e3
jmp dword [eax*4 + 0x415180]
mov esi, dword [esp + 0x20]
lea ebx, [ebp + 0x4c]
mov eax, esi
call fcn.00417a10
mov edi, dword [ebp + 4]
mov eax, dword [edi]
lea ebx, [ebp + 4]
test eax, eax
je 0x414a0e
mov edx, dword [eax]
add edx, 0x30
cmp edx, dword [edi + 4]
jbe 0x414a15
push 0x30
call fcn.004172d0
mov eax, dword [edi]
mov ecx, dword [eax]
add dword [eax], 0x30
lea edx, [eax + ecx + 0xc]
mov byte [esp + 0x13c], 2
test edx, edx
je 0x414a52
mov ecx, dword [esi]
push ebx
lea eax, [ecx + 1]
push edx
mov dword [esi], eax
call fcn.00418e40
mov byte [esp + 0x13c], 0
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
xor eax, eax
mov byte [esp + 0x13c], al
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
mov esi, dword [esp + 0x20]
lea ebx, [ebp + 0x4c]
mov eax, esi
call fcn.00417a10
mov edi, dword [ebp + 4]
mov eax, dword [edi]
lea ebx, [ebp + 4]
test eax, eax
je 0x414a8f
mov ecx, dword [eax]
add ecx, 0x3c
cmp ecx, dword [edi + 4]
jbe 0x414a96
push 0x3c
call fcn.004172d0
mov eax, dword [edi]
mov edx, dword [eax]
add dword [eax], 0x3c
lea edx, [edx + eax + 0xc]
mov byte [esp + 0x13c], 3
test edx, edx
je 0x414ad3
mov ecx, dword [esi]
push ebx
lea eax, [ecx + 1]
push edx
mov dword [esi], eax
call fcn.00419040
mov byte [esp + 0x13c], 0
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
xor eax, eax
mov byte [esp + 0x13c], al
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
mov edi, dword [ebp + 4]
mov eax, dword [edi]
lea ebx, [ebp + 4]
test eax, eax
je 0x414b02
mov ecx, dword [eax]
add ecx, 0x3c
cmp ecx, dword [edi + 4]
jbe 0x414b09
push 0x3c
call fcn.004172d0
mov eax, dword [edi]
mov edx, dword [eax]
add dword [eax], 0x3c
lea ecx, [eax + edx + 0xc]
mov byte [esp + 0x13c], 4
test ecx, ecx
je 0x414b41
push ebx
push ecx
mov cl, 1
call fcn.004193d0
mov byte [esp + 0x13c], 0
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
xor eax, eax
mov byte [esp + 0x13c], al
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
mov edi, dword [ebp + 4]
mov eax, dword [edi]
lea ebx, [ebp + 4]
test eax, eax
je 0x414b70
mov eax, dword [eax]
add eax, 0x3c
cmp eax, dword [edi + 4]
jbe 0x414b77
push 0x3c
call fcn.004172d0
mov eax, dword [edi]
mov ecx, dword [eax]
add dword [eax], 0x3c
lea ecx, [eax + ecx + 0xc]
mov byte [esp + 0x13c], 5
test ecx, ecx
je 0x414b41
push ebx
push ecx
xor cl, cl
call fcn.004193d0
mov byte [esp + 0x13c], 0
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
mov edi, dword [ebp + 4]
mov eax, dword [edi]
lea ebx, [ebp + 4]
test eax, eax
je 0x414bc5
mov edx, dword [eax]
add edx, 0x38
cmp edx, dword [edi + 4]
jbe 0x414bcc
push 0x38
call fcn.004172d0
mov eax, dword [edi]
mov ecx, dword [eax]
add dword [eax], 0x38
lea ecx, [eax + ecx + 0xc]
mov byte [esp + 0x13c], 6
test ecx, ecx
je 0x414c04
push ebx
push ecx
mov cl, 1
call fcn.00419430
mov byte [esp + 0x13c], 0
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
xor eax, eax
mov byte [esp + 0x13c], al
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
mov edi, dword [ebp + 4]
mov eax, dword [edi]
lea ebx, [ebp + 4]
test eax, eax
je 0x414c33
mov edx, dword [eax]
add edx, 0x38
cmp edx, dword [edi + 4]
jbe 0x414c3a
push 0x38
call fcn.004172d0
mov eax, dword [edi]
mov ecx, dword [eax]
add dword [eax], 0x38
lea ecx, [ecx + eax + 0xc]
mov byte [esp + 0x13c], 7
test ecx, ecx
je 0x414c04
push ebx
push ecx
xor cl, cl
call fcn.00419430
mov byte [esp + 0x13c], 0
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
mov eax, dword [esp + 0x20]
lea ebx, [ebp + 0x4c]
mov byte [esp + 0x1b], 1
call fcn.00417a10
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0xcc]
call fcn.00405100
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0xffffffffffffffff
push edx
push eax
call fcn.0041c8d0
add esp, 0xc
test eax, eax
je 0x414cfc
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0xbc]
call fcn.00405100
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x14c]
push ecx
push edx
push eax
mov eax, esi
call fcn.00417d70
cmp eax, 2
jne 0x414cfc
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
lea ebx, [ebp + 4]
push 1
push ecx
mov esi, ebx
mov dword [eax], edx
call fcn.0041ca40
add esp, 8
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
jmp 0x414fa8
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0xdc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call fcn.00405100
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [esp + 0x154]
lea ebx, [esp + 0x2c]
call fcn.004182f0
add eax, 0xffffffb5
cmp eax, 3
ja 0x414d9e
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x144]
push ecx
push edx
push 0
push eax
mov ecx, ebp
call fcn.00414810
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13c], 8
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
lea ebx, [ebp + 4]
lea esi, [ecx + 1]
push ebx
push ecx
mov ecx, eax
mov dword [edx], esi
call fcn.0041cac0
add esp, 8
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x13c], 0
jmp 0x414fa8
push str.bad_extension_sequence
lea ecx, [esp + 0x60]
call fcn.00403160
mov byte [esp + 0x13c], 9
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xe8]
push edx
call fcn.00412a90
push 0x491a4c
lea eax, [esp + 0xe8]
push eax
call fcn.0046255b
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0x2c]
call fcn.00405100
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x14c]
push ecx
push edx
push eax
mov eax, esi
call fcn.00417d70
cmp eax, 2
je 0x41514a
test eax, eax
jne 0x414e2d
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0xc4]
call fcn.00405100
mov esi, dword [esp + 0x144]
mov edi, eax
call fcn.00410a50
test al, al
je 0x414e2d
call fcn.004179d0
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0xd4]
call fcn.00405100
mov esi, dword [esp + 0x144]
mov edi, eax
call fcn.00410c90
test al, al
jne 0x414e7a
mov edi, dword [ebp + 0x24]
lea ebx, [esp + 0x2c]
call fcn.00405100
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x14c]
push ecx
push edx
push eax
mov eax, esi
call fcn.00417d70
cmp eax, 2
jne 0x414e03
jmp 0x41514a
push str.Expecting_end_of_comment
lea ecx, [esp + 0x44]
call fcn.00403160
mov byte [esp + 0x13c], 0xa
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x110]
push edx
call fcn.00412a90
push 0x491a4c
lea eax, [esp + 0x110]
push eax
call fcn.0046255b
push str.bad_extension_sequence
lea ecx, [esp + 0xa4]
call fcn.00403160
mov byte [esp + 0x13c], 0xb
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.00412a90
push 0x491a4c
lea eax, [esp + 0x7c]
push eax
call fcn.0046255b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp 0x41514a
xor eax, eax
push 0x1d
push str.ill_formed_regular_expression
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], eax
mov byte [esp + 0x68], al
call fcn.00403080
mov byte [esp + 0x13c], 1
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00412a90
push 0x491a4c
lea edx, [esp + 0x7c]
push edx
call fcn.0046255b
mov edi, dword [ebp + 4]
mov eax, dword [edi]
lea ebx, [ebp + 4]
test eax, eax
je 0x414f5e
mov eax, dword [eax]
add eax, 0x30
cmp eax, dword [edi + 4]
jbe 0x414f65
push 0x30
call fcn.004172d0
mov eax, dword [edi]
mov ecx, dword [eax]
add dword [eax], 0x30
lea edx, [eax + ecx + 0xc]
mov byte [esp + 0x13c], 0xc
test edx, edx
je 0x414f90
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ebx
lea esi, [ecx + 1]
push edx
mov dword [eax], esi
call fcn.00418e40
jmp 0x414f92
xor eax, eax
mov byte [esp + 0x13c], 0
mov esi, eax
lea edi, [esp + 0x14]
call fcn.004384e0
inc dword [ebp + 0x10]
cmp dword [esp + 0x14], 0
je 0x41514a
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 8]
mov dword [esp + 0x20], 0
call fcn.0041a4d0
mov eax, dword [esi + 0xc]
mov edi, dword [esp + 0x150]
mov dword [esi + 0x1c], eax
lea esp, [esp]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x144]
push edi
push eax
push esi
push ecx
mov ecx, ebp
call fcn.004151a0
test al, al
jne 0x414fe0
mov esi, dword [esp + 0x14]
push ebx
lea edi, [esp + 0x60]
call fcn.004189b0
cmp byte [esp + 0x1b], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
je 0x415087
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
xor ecx, ecx
test eax, eax
je 0x415087
lea esp, [esp]
mov eax, dword [eax + 4]
inc ecx
test eax, eax
jne 0x415040
cmp ecx, 2
jbe 0x415087
push str.Too_many_alternates_in_conditional_subexpression
lea ecx, [esp + 0xa4]
call fcn.00403160
mov byte [esp + 0x13c], 0xd
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.00412a90
push 0x491a4c
lea eax, [esp + 0x7c]
push eax
call fcn.0046255b
test dl, dl
je 0x4150ce
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x10], 0
jne 0x4150ce
mov eax, ebx
call fcn.00417c70
mov byte [esp + 0x13c], 0xe
test eax, eax
je 0x4150c1
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x58]
push ecx
push edi
push esi
mov esi, eax
call fcn.00417af0
jmp 0x4150c3
xor eax, eax
mov byte [esp + 0x13c], 0
mov dword [ebp + 0x68], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x415119
mov esi, dword [esp + 0x150]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp eax, ecx
jb 0x4150f6
inc eax
mov ecx, esi
call fcn.00428810
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + 0x10]
sar eax, 2
cmp ebx, eax
jb 0x41510f
call fcn.0045fdc5
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
mov dword [ecx + ebx*4], edx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
sub eax, ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x34]
push eax
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14c]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x13c], 0xffffffff
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret 0x10