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

Disassembly:
push 0xffffffffffffffff
push 0x41e5e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov al, byte [esp + 3]
push ebx
push ebp
xor ebp, ebp
push ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x10], al
call fcn.0040f880
mov cl, byte [esp + 0xb]
push ebp
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
mov dword [esp + 0xcc], ebp
call fcn.0040f880
mov dl, byte [esp + 0xb]
push ebp
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 1
mov byte [esp + 0x34], dl
call fcn.0040f880
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 2
call fcn.004114c0
mov eax, dword [esp + 0xd0]
mov ebx, 3
push ebp
push ebx
push ebp
push 0x80000000
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xdc], bl
call fcn.004115a0
test al, al
je 0x407390
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x44]
call fcn.004117d0
test al, al
je 0x4072c2
push esi
push edi
lea edx, [esp + 0x14]
lea eax, [esp + 0x78]
push edx
push eax
call fcn.00410d90
add esp, 8
mov ecx, dword [0x41f17c]
mov byte [esp + 0xd0], 4
push ecx
push ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0040f570
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd4], bl
call fcn.0040f880
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4072aa
ja 0x406f0f
call fcn.00415317
lea ecx, [esp + 0x14]
call fcn.0040f800
mov eax, dword [esp + 0x18]
cmp byte [eax], 0x3b
je 0x4072aa
cmp eax, ebp
jne 0x406f2e
mov eax, 0x41f178
push str._ENGINE_
push eax
call fcn.0041cab0
add esp, 8
test eax, eax
jne 0x406f4d
mov dword [esp + 0x24], 1
jmp 0x4072aa
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x406f5a
mov eax, 0x41f178
push str._OPTIONS_
push eax
call fcn.0041cab0
add esp, 8
test eax, eax
jne 0x406f79
mov dword [esp + 0x24], 2
jmp 0x4072aa
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x406f86
mov eax, 0x41f178
push str._EXTRAS_
push eax
call fcn.0041cab0
add esp, 8
test eax, eax
jne 0x406fa1
mov dword [esp + 0x24], ebx
jmp 0x4072aa
cmp dword [esp + 0x24], ebp
je 0x4072aa
mov edi, 0x422390
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x422390
lea ecx, [esp + 0x20]
call fcn.0040f770
mov esi, eax
mov eax, dword [0x41f17c]
cmp esi, eax
je 0x4072aa
push esi
lea edx, [esp + 0xac]
push ebp
push edx
lea ecx, [esp + 0x20]
call fcn.0040f300
push eax
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0xd8], 5
call fcn.00410d90
add esp, 8
mov ecx, dword [0x41f17c]
mov byte [esp + 0xd0], 6
push ecx
push ebp
push eax
lea ecx, [esp + 0x34]
call fcn.0040f570
push 1
lea ecx, [esp + 0xbc]
mov byte [esp + 0xd4], 5
call fcn.0040f880
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0xd4], bl
call fcn.0040f880
mov edx, dword [0x41f17c]
inc esi
push edx
lea eax, [esp + 0x9c]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.0040f300
lea ecx, [esp + 0x88]
push eax
push ecx
mov byte [esp + 0xd8], 7
call fcn.00410d90
add esp, 8
mov edx, dword [0x41f17c]
lea ecx, [esp + 0x38]
push edx
push ebp
push eax
mov byte [esp + 0xdc], 8
call fcn.0040f570
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 7
call fcn.0040f880
push 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd4], bl
call fcn.0040f880
mov eax, dword [esp + 0x24]
dec eax
je 0x40720f
dec eax
je 0x4070ee
dec eax
jne 0x4072aa
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00406360
add esp, 8
jmp 0x4072aa
mov edi, str.Visible
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Visible
push edx
push ebp
lea ecx, [esp + 0x38]
call fcn.00410310
cmp eax, ebp
jne 0x407120
lea eax, [esp + 0x38]
push eax
jmp 0x4072a2
mov edi, str.setoption_name
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.0040fc50
test al, al
je 0x407165
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, str.setoption_name
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
mov ecx, dword [0x41f17c]
lea edx, [esp + 0x28]
push ecx
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.0040f9f0
mov edi, str._value
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x41f17c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4071a1
call fcn.004150eb
test esi, esi
jbe 0x4071e5
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.0040fc50
test al, al
je 0x4071e5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str._value
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040fc30
mov eax, dword [0x41f17c]
lea ecx, [esp + 0x38]
push eax
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.0040f9f0
lea edx, [esp + 0x14]
push edx
call fcn.00403340
add esp, 4
xor ebp, ebp
jmp 0x4072aa
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x40721c
mov eax, 0x41f178
push str.Name
push eax
call fcn.0041cab0
add esp, 8
test eax, eax
jne 0x407246
mov eax, dword [0x41f17c]
lea ecx, [esp + 0x38]
push eax
push ebp
push ecx
mov ecx, 0x4263a0
call fcn.0040f570
jmp 0x4072aa
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x407253
mov eax, 0x41f178
push str.Author
push eax
call fcn.0041cab0
add esp, 8
test eax, eax
jne 0x40727e
mov edx, dword [0x41f17c]
lea eax, [esp + 0x38]
push edx
push ebp
push eax
mov ecx, 0x430688
call fcn.0040f570
jmp 0x4072aa
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x40728b
mov eax, 0x41f178
push str.Visible
push eax
call fcn.0041cab0
add esp, 8
test eax, eax
jne 0x4072aa
lea ecx, [esp + 0x38]
push ecx
call fcn.00406050
add esp, 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x48]
push edx
call fcn.004117d0
test al, al
jne 0x406ebe
pop edi
pop esi
lea ecx, [esp + 0x40]
call fcn.00411710
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 2
call fcn.00411500
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x407300
mov al, byte [ecx - 1]
test al, al
je 0x4072f6
cmp al, 0xff
je 0x4072f6
dec al
mov byte [ecx - 1], al
jmp 0x407300
dec ecx
push ecx
call fcn.004150e0
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ebp
cmp ecx, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
je 0x407330
mov al, byte [ecx - 1]
test al, al
je 0x407326
cmp al, 0xff
je 0x407326
dec al
mov byte [ecx - 1], al
jmp 0x407330
dec ecx
push ecx
call fcn.004150e0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ebp
cmp ecx, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
je 0x407377
mov al, byte [ecx - 1]
test al, al
je 0x40736d
cmp al, 0xff
je 0x40736d
dec al
pop ebp
mov byte [ecx - 1], al
mov al, 1
pop ebx
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
add esp, 0xc4
ret
dec ecx
push ecx
call fcn.004150e0
add esp, 4
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
add esp, 0xc4
ret
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 2
call fcn.00411500
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x4073c5
mov al, byte [ecx - 1]
test al, al
je 0x4073bb
cmp al, 0xff
je 0x4073bb
dec al
mov byte [ecx - 1], al
jmp 0x4073c5
dec ecx
push ecx
call fcn.004150e0
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ebp
cmp ecx, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
je 0x4073f5
mov al, byte [ecx - 1]
test al, al
je 0x4073eb
cmp al, 0xff
je 0x4073eb
dec al
mov byte [ecx - 1], al
jmp 0x4073f5
dec ecx
push ecx
call fcn.004150e0
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ebp
cmp ecx, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
je 0x407425
mov al, byte [ecx - 1]
test al, al
je 0x40741b
cmp al, 0xff
je 0x40741b
dec al
mov byte [ecx - 1], al
jmp 0x407425
dec ecx
push ecx
call fcn.004150e0
add esp, 4
mov ecx, dword [esp + 0xc0]
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret