Function at 0x1000a58c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100517d1
call fcn.100457f4
sub esp, 0xf8
and byte [0x1006ce10], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
push esi
push esi
mov ebx, ecx
lea eax, [ebx + 4]
push 0xb
push dword [eax]
mov dword [ebp - 0x48], eax
call edi
lea eax, [ebx + 0x1b4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax]
cmp eax, esi
je 0x1000a5da
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [ebp - 0x24]
mov dword [eax], esi
mov ecx, ebx
call fcn.1002043a
push dword [ebp - 0x24]
mov ecx, ebx
mov byte [ebp - 0xe], al
call fcn.10009d46
test al, al
je 0x1000b687
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x174]
add eax, 0x170
cmp ecx, esi
je 0x1000a616
mov eax, dword [eax + 8]
sub eax, ecx
test eax, 0xfffffffc
jne 0x1000a622
cmp dword [0x1006ce88], esi
je 0x1000b687
cmp byte [ebx + 0x1e8], 0
jne 0x1000b687
cmp byte [ebp - 0xe], 0
jne 0x1000aa81
cmp byte [0x1006cf81], 0
jne 0x1000aa81
push 0x20c
call fcn.1004540f
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, esi
mov dword [ebp - 4], 0x14
je 0x1000a66a
mov ecx, eax
call fcn.1000e5d5
mov edi, eax
jmp 0x1000a66c
xor edi, edi
or dword [ebp - 4], 0xffffffff
push 0xa4
call fcn.1004540f
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, esi
mov dword [ebp - 4], 0x15
je 0x1000a695
mov ecx, eax
call fcn.1000de93
mov dword [ebp - 0x28], eax
jmp 0x1000a698
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
push 0xa4
call fcn.1004540f
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, esi
mov dword [ebp - 4], 0x16
je 0x1000a6c1
mov ecx, eax
call fcn.1000de93
mov dword [ebp - 0x1c], eax
jmp 0x1000a6c4
mov dword [ebp - 0x1c], esi
or dword [ebp - 4], 0xffffffff
push 0xa4
call fcn.1004540f
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, esi
mov dword [ebp - 4], 0x17
je 0x1000a6ed
mov ecx, eax
call fcn.1000de93
mov dword [ebp - 0x2c], eax
jmp 0x1000a6f0
mov dword [ebp - 0x2c], esi
or dword [ebp - 4], 0xffffffff
push 0xa4
call fcn.1004540f
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, esi
mov dword [ebp - 4], 0x18
je 0x1000a719
mov ecx, eax
call fcn.1000de93
mov dword [ebp - 0x14], eax
jmp 0x1000a71c
mov dword [ebp - 0x14], esi
or dword [ebp - 4], 0xffffffff
push 0xa8
call fcn.1004540f
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, esi
mov dword [ebp - 4], 0x19
je 0x1000a745
mov ecx, eax
call fcn.1000bb33
mov dword [ebp - 0x48], eax
jmp 0x1000a748
mov dword [ebp - 0x48], esi
or dword [ebp - 4], 0xffffffff
push 0x54
call fcn.1004540f
pop ecx
mov dword [ebp - 0x20], eax
cmp eax, esi
mov dword [ebp - 4], 0x1a
je 0x1000a76e
mov ecx, eax
call fcn.1000d3f4
mov dword [ebp - 0x18], eax
jmp 0x1000a771
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x1d0], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x1d4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x1d8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x1dc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0x1e0], eax
mov eax, dword [ebp - 0x18]
mov esi, str.Register
push esi
mov dword [ebx + 0x1cc], edi
mov dword [ebx + 0x1e4], eax
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [eax + 0x80]
call fcn.100243fe
mov esi, str.TrialVersionCommand
push esi
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x28]
push esi
lea ecx, [eax + 0x24]
call fcn.100243fe
push str.http:__www.besttoolbars.net_dtb_register.html
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x28]
push str.http:__www.besttoolbars.net_dtb_register.html
lea ecx, [eax + 0x34]
call fcn.100243fe
push str.License
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
push str.License
lea ecx, [eax + 0x80]
call fcn.100243fe
push esi
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
push esi
lea ecx, [eax + 0x24]
call fcn.100243fe
push str.http:__www.besttoolbars.net_dtb_license.html
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
push str.http:__www.besttoolbars.net_dtb_license.html
lea ecx, [eax + 0x34]
call fcn.100243fe
push str.About
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x2c]
push str.About
lea ecx, [eax + 0x80]
call fcn.100243fe
push esi
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x2c]
push esi
lea ecx, [eax + 0x24]
call fcn.100243fe
push str.http:__www.besttoolbars.net_dtb_about.html
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x2c]
push str.http:__www.besttoolbars.net_dtb_about.html
lea ecx, [eax + 0x34]
call fcn.100243fe
push str.Uninstall
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x14]
push str.Uninstall
lea ecx, [eax + 0x80]
call fcn.100243fe
push str.TrialVersionCommand2
call fcn.10045c20
pop ecx
push eax
mov eax, dword [ebp - 0x14]
push str.TrialVersionCommand2
lea ecx, [eax + 0x24]
call fcn.100243fe
push str.BestToolbars.net
call fcn.10045c20
pop ecx
push eax
push str.BestToolbars.net
lea ecx, [edi + 0x78]
call fcn.100243fe
push str.BestToolbars.net
call fcn.10045c20
pop ecx
push eax
push str.BestToolbars.net
lea ecx, [edi + 0x5c]
call fcn.100243fe
push esi
call fcn.10045c20
pop ecx
push eax
push esi
lea ecx, [edi + 0xb8]
call fcn.100243fe
push str.http:__www.besttoolbars.net_
call fcn.10045c20
pop ecx
push eax
push str.http:__www.besttoolbars.net_
lea ecx, [edi + 0xa8]
call fcn.100243fe
push str.trial_button
call fcn.10045c20
pop ecx
push eax
push str.trial_button
lea ecx, [edi + 0x18]
call fcn.100243fe
push str.Split
call fcn.10045c20
pop ecx
push eax
push str.Split
lea ecx, [edi + 0x1b4]
call fcn.100243fe
or dword [edi + 0x6c], 0xffffffff
push str.logo_btb.bmp
call fcn.10045c20
pop ecx
push eax
push str.logo_btb.bmp
lea ecx, [edi + 0x1c4]
call fcn.100243fe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
lea ecx, [edi + 0x17c]
push eax
call fcn.10022fd5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x17c]
call fcn.10022fd5
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x17c]
call fcn.10022fd5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x17c]
call fcn.10022fd5
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi]
lea eax, [ebp - 0x20]
push eax
add ecx, 0x170
call fcn.10022fd5
push esi
call fcn.10045c20
pop ecx
push eax
push esi
mov esi, dword [ebp - 0x48]
lea ecx, [esi + 4]
call fcn.100243fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [edi]
mov dword [ebp - 0x20], esi
mov edx, dword [eax + 0x110]
lea ecx, [eax + 0x10c]
lea eax, [ebp - 0x20]
push eax
push 1
push edx
call fcn.10024522
mov esi, str.TrialVersionCommand2
push esi
call fcn.10045c20
pop ecx
push eax
push esi
mov esi, dword [ebp - 0x18]
lea ecx, [esi + 4]
call fcn.100243fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [edi]
mov dword [ebp - 0x20], esi
mov edx, dword [eax + 0x110]
lea ecx, [eax + 0x10c]
lea eax, [ebp - 0x20]
push eax
push 1
push edx
call fcn.10024522
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov al, byte [ebp - 0xe]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002376b
push str.ToolbarIsFailed
call fcn.10045c20
pop ecx
push eax
push str.ToolbarIsFailed
lea ecx, [ebp - 0x3c]
call fcn.100243fe
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 4], 0x1b
call fcn.100036ee
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x3c]
call fcn.1002376b
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x174]
add eax, 0x170
cmp ecx, esi
jne 0x1000aae3
mov dword [ebp - 0x28], esi
jmp 0x1000aaee
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*4]
shl eax, 2
add eax, 3
and eax, 0xfffffffc
call fcn.100462e0
mov ecx, ebx
mov dword [ebp - 0x2c], esp
call fcn.1000a1cb
cmp dword [ebx + 0x1c4], esi
je 0x1000ab2a
push dword [ebx + 0x1c4]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, esi
je 0x1000ab2a
mov dword [ebx + 0x1c4], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x24]
cmp ecx, esi
je 0x1000ab97
mov edx, dword [eax + 0x28]
sub edx, ecx
test edx, 0xfffffffc
je 0x1000ab97
mov eax, dword [ecx]
add eax, 8
mov eax, dword [eax + 4]
cmp eax, esi
mov edx, 0x10057508
je 0x1000ab56
mov edx, eax
push edx
mov eax, dword [ecx]
push 0x20
mov eax, dword [eax + 4]
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push 0x190
push esi
push esi
push esi
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [ebx + 0x1c4], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
push dword [ecx + 4]
mov eax, ecx
add eax, 8
push eax
push ebx
call fcn.10039047
add esp, 0xc
cmp dword [ebx + 0x19c], esi
jne 0x1000abae
push esi
push esi
push 0x31
push dword [ebx + 4]
call edi
mov dword [ebx + 0x19c], eax
mov eax, dword [ebx + 0x1c4]
push 1
push eax
push 0x30
push dword [ebx + 4]
call edi
push esi
push esi
push 0x455
push dword [ebx + 4]
call edi
or eax, 1
push eax
push esi
push 0x454
push dword [ebx + 4]
call edi
cmp dword [ebp - 0x28], esi
mov dword [ebx + 0x120], esi
mov dword [ebp - 0x1c], esi
jle 0x1000accc
mov eax, dword [ebp - 0x2c]
add eax, 9
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0x174]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ecx + eax*4]
mov dword [ecx + 0x10], eax
mov ecx, dword [edx]
mov edx, dword [ecx + 0x174]
mov eax, dword [edx + eax*4]
add eax, 0xb8
push eax
mov dword [ebp - 0x18], edx
call fcn.10010e8e
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + edx*4]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x14]
mov ecx, edx
lea edx, [ecx + 0x400]
mov dword [eax - 5], edx
mov dword [eax + 3], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x174]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x44]
test al, al
jne 0x1000aca3
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x174]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x6c]
cmp eax, dword [0x1006ce14]
jg 0x1000ac76
lea ecx, [eax - 1]
jmp 0x1000ac79
or ecx, 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [eax - 9], ecx
mov byte [eax - 1], 4
and byte [eax], 0
mov ecx, dword [ebx + 0x120]
mov dword [eax + 7], ecx
mov ecx, dword [ebx + 0x120]
mov dword [eax + 7], ecx
or byte [eax], 0x50
inc dword [ebx + 0x120]
jmp 0x1000acb7
mov eax, dword [ebp - 0x14]
mov dword [eax - 9], 8
and byte [eax - 1], 0
mov byte [eax], 1
mov dword [eax + 7], esi
inc dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jl 0x1000abf4
cmp dword [ebp - 0x28], esi
mov dword [ebx + 0x120], esi
mov dword [ebp - 0x1c], esi
jle 0x1000adc3
mov eax, dword [ebp - 0x2c]
add eax, 9
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0x174]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ecx + eax*4]
mov dword [ecx + 0x10], eax
mov ecx, dword [edx]
mov edx, dword [ecx + 0x174]
mov eax, dword [edx + eax*4]
add eax, 0xb8
push eax
mov dword [ebp - 0x18], edx
call fcn.10010e8e
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + edx*4]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x14]
mov ecx, edx
lea edx, [ecx + 0x400]
mov dword [eax - 5], edx
mov dword [eax + 3], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x174]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x44]
test al, al
jne 0x1000ad96
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x174]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x6c]
cmp eax, dword [0x1006ce14]
jg 0x1000ad69
lea ecx, [eax - 1]
jmp 0x1000ad6c
or ecx, 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [eax - 9], ecx
mov byte [eax - 1], 4
and byte [eax], 0
mov ecx, dword [ebx + 0x120]
mov dword [eax + 7], ecx
mov ecx, dword [ebx + 0x120]
mov dword [eax + 7], ecx
or byte [eax], 0x50
inc dword [ebx + 0x120]
jmp 0x1000adae
mov eax, dword [ebp - 0x14]
mov dword [eax - 9], 8
and byte [eax - 1], 0
mov byte [eax], 1
mov dword [eax + 7], 0xfffffffe
inc dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jl 0x1000ace7
push esi
push 0x14
push 0x41e
push dword [ebx + 4]
call edi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, 0x14c
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x1000ade6
mov eax, 0x10057508
push eax
lea ecx, [ebp - 0x40]
call fcn.100117c7
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, 0x15c
mov eax, dword [eax + 4]
cmp eax, esi
mov dword [ebp - 4], 0x1c
jne 0x1000ae0c
mov eax, 0x10057508
push eax
lea ecx, [ebp - 0x58]
call fcn.100117c7
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1d
call fcn.10011a8c
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0xe]
push esi
lea ecx, [ebp - 0x98]
mov byte [ebp - 0x98], al
call fcn.1002376b
push dword [ebp - 0x18]
call fcn.10045c20
pop ecx
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x98]
call fcn.100243fe
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1e
call fcn.10011a8c
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0xe]
push esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
call fcn.1002376b
push dword [ebp - 0x18]
call fcn.10045c20
pop ecx
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x88]
call fcn.100243fe
push str.http:__
mov byte [ebp - 4], 0x1f
call fcn.10045c20
pop ecx
push eax
push esi
push str.http:__
lea ecx, [ebp - 0x98]
call fcn.1002359f
cmp eax, dword [0x1005750c]
je 0x1000afa4
mov al, byte [ebp - 0xe]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002376b
push esi
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xe]
push eax
push 0x1006ceac
mov byte [ebp - 4], 0x20
call fcn.10021d5b
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x41]
push eax
push 0x1006ceac
mov byte [ebp - 4], 0x21
call fcn.10021d5b
push esi
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0xd]
push eax
push str..bmp
mov byte [ebp - 4], 0x22
call fcn.10021d5b
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea eax, [ebp - 0x98]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 0x23
call fcn.10021d06
mov ecx, ebx
mov byte [ebp - 4], 0x20
call fcn.10008a09
lea eax, [ebp - 0x20]
push eax
call fcn.10003dfc
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x24
call fcn.1001185e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x20
call fcn.1001179b
mov eax, dword [ebp - 0x38]
cmp eax, esi
mov dword [ebp - 0x14], 0x10057508
je 0x1000af76
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], esi
jne 0x1000af7f
xor eax, eax
jmp 0x1000af88
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push eax
call fcn.100119e5
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1f
call fcn.1002376b
jmp 0x1000afb0
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.10003f8d
pop ecx
pop ecx
push str.http:__
call fcn.10045c20
pop ecx
push eax
push esi
push str.http:__
lea ecx, [ebp - 0x88]
call fcn.1002359f
cmp eax, dword [0x1005750c]
je 0x1000b0c1
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002376b
push esi
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xd]
push eax
push 0x1006ceac
mov byte [ebp - 4], 0x25
call fcn.10021d5b
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x41]
push eax
push 0x1006ceac
mov byte [ebp - 4], 0x26
call fcn.10021d5b
push esi
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0xe]
push eax
push str..bmp
mov byte [ebp - 4], 0x27
call fcn.10021d5b
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea eax, [ebp - 0x88]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 0x28
call fcn.10021d06
mov ecx, ebx
mov byte [ebp - 4], 0x25
call fcn.10008a09
lea eax, [ebp - 0x20]
push eax
call fcn.10003dfc
pop ecx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x29
call fcn.1001185e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x25
call fcn.1001179b
mov eax, dword [ebp - 0x38]
cmp eax, esi
mov dword [ebp - 0x14], 0x10057508
je 0x1000b093
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], esi
jne 0x1000b09c
xor eax, eax
jmp 0x1000b0a5
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
push eax
call fcn.100119e5
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1f
call fcn.1002376b
jmp 0x1000b0cd
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.10003f8d
pop ecx
pop ecx
push 0x10
push esi
lea ecx, [ebp - 0x40]
call fcn.10011a8c
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.1003197f
call fcn.100143e9
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xb0]
push ecx
push 0x18
push eax
mov byte [ebp - 4], 0x2a
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp eax, esi
je 0x1000b115
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x48], eax
movzx eax, word [ebp - 0x48]
mov ecx, eax
shl ecx, 0x10
or ecx, eax
push ecx
push esi
push 0x420
push dword [ebx + 4]
call edi
mov eax, dword [ebx + 0xb8]
cmp eax, esi
je 0x1000b146
push eax
call fcn.10006bd4
cmp eax, esi
je 0x1000b146
mov dword [ebx + 0xb8], esi
mov eax, dword [ebx + 0xbc]
cmp eax, esi
je 0x1000b160
push eax
call fcn.10006bd4
cmp eax, esi
je 0x1000b160
mov dword [ebx + 0xbc], esi
push 0x2010
push esi
push 0xff000000
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
push esi
call fcn.10011a8c
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.1003197f
lea ecx, [ebx + 0xb8]
call fcn.10010edb
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [eax + 0x164], esi
push esi
lea ecx, [ebp - 0x40]
je 0x1000b1a3
lea ecx, [ebp - 0x58]
call fcn.10011a8c
push 0x2010
push esi
push 0xff000000
push esi
push dword [ebp - 0x48]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.1003197f
lea ecx, [ebx + 0xbc]
call fcn.10010edb
push dword [ebx + 0xbc]
push esi
push 0x434
push dword [ebx + 4]
call edi
mov eax, dword [ebx + 0xb8]
push eax
mov dword [ebx + 0x44], eax
call fcn.1000ddaf
mov dword [0x1006ce14], eax
push dword [ebx + 0xb8]
push esi
push 0x430
push dword [ebx + 4]
call edi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0xfc]
cmp ecx, esi
je 0x1000b238
mov edx, dword [eax + 0x100]
sub edx, ecx
sar edx, 2
cmp dword [ebp - 0x1c], edx
jae 0x1000b238
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x10]
inc dword [ebp - 0x1c]
jmp 0x1000b207
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x174]
cmp ecx, esi
je 0x1000b26d
mov edx, dword [eax + 0x178]
sub edx, ecx
sar edx, 2
cmp dword [ebp - 0x1c], edx
jae 0x1000b26d
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x7c]
inc dword [ebp - 0x1c]
jmp 0x1000b23b
push esi
push esi
push 0x418
push dword [ebx + 4]
mov dword [ebp - 0x1c], esi
call edi
dec eax
cmp eax, esi
mov dword [ebp - 0x48], eax
jl 0x1000b2bc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
push esi
push dword [ebp - 0x48]
push 0x416
push dword [ebx + 4]
call edi
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x1c], eax
jge 0x1000b2b7
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x14
push eax
push 1
push 0x414
push dword [ebx + 4]
call edi
dec dword [ebp - 0x48]
jns 0x1000b28a
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x28]
jge 0x1000b2f1
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + eax*4]
lea ecx, [edx + ecx*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x18], 0x14
push eax
push 1
push 0x414
push dword [ebx + 4]
call edi
dec dword [ebp - 0x48]
jne 0x1000b2d8
mov ecx, ebx
call fcn.1001b863
cmp dword [ebp - 0x28], esi
mov dword [ebx + 0x118], esi
mov dword [ebp - 0x14], esi
jle 0x1000b345
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x174]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x74]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x14]
push 0x41d
push dword [ebx + 4]
call edi
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
add dword [ebx + 0x118], eax
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jl 0x1000b306
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x174]
add eax, 0x170
cmp ecx, esi
jne 0x1000b35d
xor eax, eax
jmp 0x1000b365
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp eax, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], esi
jbe 0x1000b3d1
mov al, byte [ebp - 0xd]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
mov dword [ebp - 0x48], ecx
mov byte [ecx], al
call fcn.1002376b
push 0x100664b8
call fcn.10045c20
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push 0x100664b8
call fcn.100243fe
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x28]
add ecx, 0x170
mov byte [ebp - 4], 0x2b
call fcn.10022f9b
mov eax, dword [eax]
mov edx, dword [eax]
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x2a
call dword [edx + 0x84]
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jb 0x1000b36f
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0xfc]
add eax, 0xf8
cmp ecx, esi
je 0x1000b483
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp dword [ebp - 0x28], eax
jae 0x1000b483
push 0x100664b8
lea ecx, [ebp - 0x48]
call fcn.1000101a
mov ecx, eax
mov byte [ebp - 4], 0x2c
call fcn.10013a99
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0xd]
mov dword [ebp - 0x2c], esp
push esi
mov dword [ebp - 0x14], ecx
mov byte [ecx], al
call fcn.1002376b
push dword [ebp - 0x18]
call fcn.10045c20
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call fcn.100243fe
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x28]
add ecx, 0xf8
mov byte [ebp - 4], 0x2d
call fcn.10022f9b
mov eax, dword [eax]
mov edx, dword [eax]
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x2c
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x48]
cmp ecx, esi
mov byte [ebp - 4], 0x2a
je 0x1000b47b
call fcn.10001129
mov dword [ebp - 0x48], esi
inc dword [ebp - 0x28]
jmp 0x1000b3d4
mov ecx, ebx
call fcn.1001ffcb
mov ecx, ebx
call fcn.1001785c
mov ecx, ebx
call fcn.10013815
push esi
push esi
push 0x421
push dword [ebx + 4]
call edi
push esi
push esi
push 5
push dword [ebx + 4]
call edi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x110]
cmp ecx, esi
je 0x1000b4e2
mov edx, dword [eax + 0x114]
sub edx, ecx
sar edx, 2
cmp dword [ebp - 0x1c], edx
jae 0x1000b4e2
mov eax, ecx
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
inc dword [ebp - 0x1c]
jmp 0x1000b4b0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, dword [eax + 0x174]
cmp ecx, esi
je 0x1000b550
mov edx, dword [eax + 0x178]
sub edx, ecx
sar edx, 2
cmp dword [ebp - 0x14], edx
jae 0x1000b550
mov eax, ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
add eax, 0x38
push str.Button
mov dword [ebp - 0x18], eax
call fcn.10045c20
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push esi
push str.Button
call fcn.1002359f
cmp eax, dword [0x1005750c]
jne 0x1000b54b
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x174]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x64]
inc dword [ebp - 0x14]
jmp 0x1000b4e5
push esi
push esi
push 5
push dword [ebx + 4]
call edi
lea eax, [ebp - 0xd4]
push eax
push esi
push 0x465
push dword [ebx + 4]
mov dword [ebp - 0xd4], 0x20
mov dword [ebp - 0xd0], 1
call edi
mov dword [ebp - 0xd0], 1
call fcn.1003bc50
test al, al
je 0x1000b5bc
mov ecx, ebx
neg ecx
sbb ecx, ecx
lea eax, [ebx + 4]
and ecx, eax
push dword [ecx]
call dword [0x1006cdfc]
test eax, eax
je 0x1000b5bc
cmp byte [ebx + 0xdc], 0
mov dword [ebp - 0xc8], 0xfffffffe
jne 0x1000b5c6
mov dword [ebp - 0xc8], 6
lea eax, [ebp - 0xd4]
push eax
push esi
push 0x466
push dword [ebx + 4]
call edi
push esi
push 1
push 0xb
push dword [ebx + 4]
call edi
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x54], al
call fcn.1002376b
mov edi, str.Scope
push edi
call fcn.10045c20
pop ecx
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.100243fe
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [eax + 0xc]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x2e
call fcn.100036ee
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x2a
call fcn.1002376b
and byte [ebx + 0x1b0], 0
cmp dword [ebp - 0x20], esi
mov byte [0x1006ce10], 1
je 0x1000b648
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1e
call fcn.1002376b
push 1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1d
call fcn.1002376b
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1c
call fcn.1001179b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1001179b
jmp 0x1000bb1e
mov ebx, dword [ebp - 0x48]
push esi
push esi
push 0x418
push dword [ebx]
call edi
cmp eax, esi
mov dword [ebp - 0x18], eax
jl 0x1000b6ae
push esi
push dword [ebp - 0x18]
push 0x416
push dword [ebx]
call edi
dec dword [ebp - 0x18]
jns 0x1000b69c
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002376b
mov ebx, str.ToolbarIsFailed
push ebx
call fcn.10045c20
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.100243fe
lea eax, [ebp - 0x3c]
push 1
push eax
mov dword [ebp - 4], esi
call fcn.100036ee
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x3c]
call fcn.1002376b
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebx]
cmp ecx, esi
je 0x1000b702
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx], esi
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], al
call fcn.1002376b
mov ebx, 0x100664c8
push ebx
call fcn.10045c20
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x68]
call fcn.100243fe
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
mov byte [ebp - 0x3c], al
call fcn.1002376b
push str.corruptedMsg
call fcn.10045c20
pop ecx
push eax
push str.corruptedMsg
lea ecx, [ebp - 0x3c]
call fcn.100243fe
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 2
call fcn.100039b2
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.10027e08
add esp, 0x14
push 1
lea ecx, [ebp - 0xe4]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 2
call fcn.1002376b
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x68]
call fcn.1002376b
cmp byte [ebp - 0xe], 0
je 0x1000b84f
mov ecx, dword [0x1006ce40]
cmp ecx, esi
je 0x1000b7ca
call fcn.10001a3c
mov dword [ebp - 0x18], eax
jmp 0x1000b7cd
mov dword [ebp - 0x18], esi
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002376b
push dword [ebp - 0x18]
call fcn.10045c20
pop ecx
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call fcn.100243fe
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 4
mov byte [ebp - 0x68], al
call fcn.1002376b
push str.corruptedMsg
call fcn.10045c20
pop ecx
push eax
push str.corruptedMsg
lea ecx, [ebp - 0x68]
call fcn.100243fe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 5
call fcn.10003636
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x3c]
call fcn.1002376b
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002376b
push ebx
call fcn.10045c20
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.100243fe
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 6
mov byte [ebp - 0x68], al
call fcn.1002376b
push str.firstTime
call fcn.10045c20
pop ecx
push eax
push str.firstTime
lea ecx, [ebp - 0x68]
call fcn.100243fe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 7
call fcn.100039b2
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.10027e08
add esp, 0x14
push 1
lea ecx, [ebp - 0xe4]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 7
call fcn.1002376b
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x3c]
call fcn.1002376b
cmp byte [ebp - 0xe], 0
je 0x1000b9d2
lea eax, [ebp - 0x14]
push eax
call fcn.10003dfc
mov dword [esp], str.error.html
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], 9
call fcn.1001193b
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
mov byte [ebp - 0x3c], al
call fcn.1002376b
push dword [ebp - 0x20]
call fcn.10045c20
pop ecx
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x3c]
call fcn.100243fe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.1001179b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.1001179b
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x1000b970
mov eax, 0x10057508
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000b9c4
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 0x68], al
call fcn.1002376b
push str.firstUrl
call fcn.10045c20
pop ecx
push eax
push str.firstUrl
lea ecx, [ebp - 0x68]
call fcn.100243fe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.10003636
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.1002376b
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x3c]
call fcn.1002376b
mov eax, dword [ebp - 0x48]
or dword [ebp - 0xac], 0xffffffff
push esi
push 0x14
push 0x41e
push dword [eax]
mov dword [ebp - 0xa8], 0x400
mov dword [ebp - 0xa0], esi
mov byte [ebp - 0xa4], 4
mov dword [ebp - 0x9c], 1
mov byte [ebp - 0xa3], 0x50
call edi
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.1002376b
push ebx
call fcn.10045c20
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.100243fe
mov al, byte [ebp - 0xd]
push esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x68], al
call fcn.1002376b
mov ebx, str.corruptedMsg
push ebx
call fcn.10045c20
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x68]
call fcn.100243fe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x10
call fcn.100039b2
add esp, 0xc
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x13
call fcn.1002376b
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x12
call fcn.1002376b
push esi
push 1
lea ecx, [ebp - 0x78]
call fcn.10023338
mov eax, dword [ebp - 0x74]
cmp eax, esi
jne 0x1000baa7
mov eax, 0x10057508
mov ebx, dword [ebp - 0x48]
push eax
push esi
push 0x41c
push dword [ebx]
call edi
lea eax, [ebp - 0xac]
push eax
push 1
push 0x414
push dword [ebx]
call edi
mov eax, dword [ebp - 0x74]
cmp eax, esi
mov dword [ebp - 0x104], 0x20
mov dword [ebp - 0x100], 2
mov dword [ebp - 0xec], 0x10057508
je 0x1000baf2
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x104]
push eax
push 0x400
push 0x442
push dword [ebx]
call edi
push esi
push 1
push 0xb
push dword [ebx]
call edi
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x78]
call fcn.1002376b
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x110]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret