Function at 0x405900
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44125b
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x452040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x638], eax
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x658], eax
call fcn.004017b0
mov dword [ebp - 4], 0
mov edi, dword [0x4580b4]
push 0x5c
mov dword [0x45807c], 0xffffffff
lea eax, [edi + 3]
push eax
call fcn.00420790
mov esi, eax
add esp, 8
test esi, esi
je 0x4059c6
push 0
push edi
mov byte [esi], 0
call fcn.00425ccb
add esp, 8
test eax, eax
je 0x4059af
cmp dword [0x45807c], 0xffffffff
jne 0x4059a2
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405991
sub ecx, edx
lea eax, [ecx - 1]
mov dword [0x45807c], eax
push edi
call fcn.004292dd
add esp, 4
test eax, eax
jne 0x405a10
lea eax, [esi + 1]
mov byte [esi], 0x5c
push 0x5c
push eax
call fcn.00420790
mov esi, eax
add esp, 8
test esi, esi
jne 0x405971
push 0
push edi
call fcn.00425ccb
add esp, 8
test eax, eax
je 0x405a01
cmp dword [0x45807c], 0xffffffff
jne 0x4059f4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4059e3
sub ecx, edx
lea eax, [ecx - 1]
mov dword [0x45807c], eax
push edi
call fcn.004292dd
add esp, 4
test eax, eax
jne 0x405a10
push 0
push edi
call fcn.00425ccb
add esp, 8
test eax, eax
je 0x405a37
push 0x10
push str.ERROR:
push str.Target_directory_cannot_be_created___accessed.
push dword [0x4580e8]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x4580f4], 1
jmp 0x405e8a
push dword [0x4580b4]
push str._sUNINSTAL.INF
push dword [0x458080]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
call fcn.00401a20
push dword [0x458080]
call fcn.00422d1d
add esp, 4
cmp dword [0x45807c], 0xffffffff
jne 0x405b55
mov eax, dword [str.index]
xorps xmm0, xmm0
movups xmmword [ebp - 0x630], xmm0
mov dword [ebp - 0x630], eax
mov al, byte [0x449330]
mov dword [ebp - 0x620], 5
mov dword [ebp - 0x61c], 0xf
mov byte [ebp - 0x62c], al
mov byte [ebp - 0x62b], 0
mov byte [ebp - 4], 1
mov eax, 0x2aaaaaab
mov edi, dword [0x458010]
xor esi, esi
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x405afe
lea eax, [ebp - 0x630]
mov ecx, edi
push eax
push esi
call fcn.00401c30
test al, al
jne 0x405b01
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
inc esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x405ad0
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x61c]
cmp eax, 0xf
jbe 0x405b41
mov edx, dword [ebp - 0x630]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x405b37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b0c
push ecx
push edx
call fcn.0041f367
add esp, 8
cmp esi, 0xffffffff
je 0x405b55
push esi
call fcn.00401e60
test eax, eax
jle 0x405b55
mov dword [0x45807c], eax
mov edx, dword [0x458080]
mov ecx, dword [0x4580b4]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x405b63
push dword [0x458008]
push dword [0x45809c]
push str.title__s__s
call fcn.00402880
push dword [0x4580b4]
push str.root__s
call fcn.00402880
push dword [0x45807c]
push str.index__d
call fcn.00402880
push dword [0x4580d0]
push str.product__s
call fcn.00402880
mov eax, dword [0x4580a4]
add eax, 6
push eax
call fcn.00428b19
push eax
push str.version__d
call fcn.00402880
push dword [0x458018]
push str.edition__s
call fcn.00402880
push dword [0x4580a0]
push str.processor__s
call fcn.00402880
mov eax, dword [0x4580f4]
add esp, 0x40
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [ebp - 0x660], 0
test eax, eax
jne 0x405e3c
cmp dword [0x458020], 0
je 0x405c69
push dword [ebp - 0x638]
call fcn.0042929c
add esp, 4
cmp eax, 0x163e00
jne 0x405c69
test edx, edx
jne 0x405c69
lea ecx, [ebp - 0x658]
call fcn.00404310
cmp dword [0x4580f4], 0
je 0x405c5b
mov ecx, dword [ebp - 0x658]
xor eax, eax
mov dword [ebp - 0x638], ecx
jmp 0x405c78
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x638], eax
jmp 0x405c6f
mov eax, dword [ebp - 0x638]
push eax
call fcn.0042326b
add esp, 4
mov dword [ebp - 0x63c], eax
test al, al
je 0x405e3c
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x684]
push eax
call esi
test eax, eax
je 0x405ccb
nop dword [eax + eax]
lea eax, [ebp - 0x684]
push eax
call edi
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x684]
push eax
call esi
test eax, eax
jne 0x405ca0
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x638]
lea edx, [ebp - 0x410]
push 0x100
call fcn.004044f0
add esp, 4
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x410]
call fcn.00402a10
mov ecx, dword [ebp - 0x63c]
movsx eax, cl
add eax, 0xffffffef
cmp eax, 0x20
ja case.0x405d12.19
jmp dword [eax*4 + 0x406b14]
mov esi, dword [0x4580cc]
mov edx, esi
mov ecx, dword [0x4580b4]
sub edx, ecx
mov dword [ebp - 0x65c], esi
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x405d30
lea edi, [esi - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x405d40
mov ax, word [0x448c04]
lea edx, [ebp - 0x310]
mov ecx, edx
mov word [edi], ax
mov dword [ebp - 0x63c], ecx
mov al, byte [edx]
inc edx
test al, al
jne 0x405d61
sub edx, ecx
lea edi, [esi - 1]
nop dword [eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405d70
mov esi, dword [ebp - 0x63c]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x65c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x458068]
mov esi, edx
mov eax, dword [0x449388]
mov dword [ecx], eax
mov ax, word [0x44938c]
mov word [ecx + 4], ax
mov al, byte [0x44938e]
mov byte [ecx + 6], al
mov al, byte [edx]
inc edx
test al, al
jne 0x405db3
sub edx, esi
lea edi, [ecx - 1]
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405dc0
mov ecx, edx
shr ecx, 2
push dword [0x458068]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x654]
call fcn.00401900
push dword [0x458068]
call fcn.00402880
push dword [0x4580cc]
call fcn.004292dd
add esp, 8
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebp - 0x660]
lea ecx, [ebp - 0x654]
inc eax
mov dword [ebp - 0x660], eax
imul eax, eax, 0x64
cdq
idiv dword [0x458098]
push eax
call fcn.00401970
mov eax, dword [0x4580f4]
test eax, eax
je 0x405c15
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x684]
push eax
call esi
test eax, eax
je 0x405e7c
lea eax, [ebp - 0x684]
push eax
call edi
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x684]
push eax
call esi
test eax, eax
jne 0x405e51
push dword [ebp - 0x638]
call fcn.00422ada
add esp, 4
push dword [ebp - 0x654]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f127
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4580b4]
lea ecx, [ebp - 0x310]
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x405ec1
jmp 0x405e0c
cmp dword [0x4580e4], 0
je case.0x405d12.30
mov ecx, dword [0x4580cc]
lea edx, [ebp - 0x310]
mov eax, dword [str.Reg32]
mov esi, edx
mov dword [ecx], eax
mov ax, word [0x449394]
mov word [ecx + 4], ax
mov al, byte [0x449396]
mov byte [ecx + 6], al
mov al, byte [edx]
inc edx
test al, al
jne 0x405f07
sub edx, esi
lea edi, [ecx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405f13
mov ecx, edx
shr ecx, 2
push dword [0x4580cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x654]
call fcn.00401900
push dword [0x4580cc]
call fcn.00402880
add esp, 4
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
je 0x405f66
push str.Couldnt_init_32_bit_OLE_system
call fcn.0040a700
add esp, 4
jmp 0x405e00
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jae 0x405f9e
lea eax, [ebp - 0x310]
push eax
push str.load
push str.Couldnt__s_32_bit_OCX__s._This_message_might_also_appear__if_no_32_bit_OCX_container_application__for_example_like_Visual_Basic_4.0_32_bit__is_installed._n_nRun_SETUP_again__and_uncheck_the_32_Bit_OCX_option.
call fcn.0040a700
add esp, 0xc
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x405e00
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x405fbc
lea eax, [ebp - 0x310]
push eax
push str.register
jmp 0x405fce
call eax
test eax, eax
je 0x405fdb
lea eax, [ebp - 0x310]
push eax
push str.call
push str.Couldnt__s_32_bit_OCX__s._This_message_might_also_appear__if_no_32_bit_OCX_container_application__for_example_like_Visual_Basic_4.0_32_bit__is_installed._n_nRun_SETUP_again__and_uncheck_the_32_Bit_OCX_option.
call fcn.0040a700
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x405e00
mov ecx, dword [0x4580cc]
lea edx, [ebp - 0x310]
mov eax, dword [0x449398]
mov esi, edx
mov dword [ecx], eax
mov ax, word [0x44939c]
mov word [ecx + 4], ax
mov al, byte [0x44939e]
mov byte [ecx + 6], al
mov al, byte [edx]
inc edx
test al, al
jne 0x406014
sub edx, esi
lea edi, [ecx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406020
mov ecx, edx
shr ecx, 2
push dword [0x4580cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x654]
call fcn.00401900
push dword [0x4580cc]
call fcn.00402880
add esp, 4
lea ecx, [ebp - 0x310]
call fcn.00403e80
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
lea eax, [ebp - 0x684]
push 1
push 0
push 0
push 0
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
test eax, eax
je 0x4060ac
lea eax, [ebp - 0x684]
push eax
call edi
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x684]
push eax
call esi
test eax, eax
jne 0x406081
cmp dword [0x4580f4], 0
jne 0x405e0c
push 4
push str.Desktop_Link
push str.Do_you_wish_to_create_a_link_on_your_desktop_
push dword [0x4580e8]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x405e0c
mov ecx, dword [0x4580cc]
lea edx, [ebp - 0x310]
movq xmm0, qword [0x4493e0]
mov esi, edx
movq qword [ecx], xmm0
mov eax, dword [0x4493e8]
mov dword [ecx + 8], eax
mov al, byte [0x4493ec]
mov byte [ecx + 0xc], al
mov al, byte [edx]
inc edx
test al, al
jne 0x406104
sub edx, esi
lea edi, [ecx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406110
mov ecx, edx
shr ecx, 2
push dword [0x4580cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x654]
call fcn.00401900
push dword [0x4580cc]
call fcn.00402880
push ecx
lea ecx, [ebp - 0x310]
call fcn.00404110
jmp 0x405dfd
mov ecx, dword [0x4580cc]
lea edx, [ebp - 0x310]
mov eax, dword [0x4493f0]
mov esi, edx
mov dword [ecx], eax
mov ax, word [0x4493f4]
mov word [ecx + 4], ax
mov al, byte [edx]
inc edx
test al, al
jne 0x406172
sub edx, esi
lea edi, [ecx - 1]
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406180
mov ecx, edx
shr ecx, 2
push dword [0x4580cc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x654]
call fcn.00401900
push dword [0x4580cc]
call fcn.00402880
lea eax, [ebp - 0x410]
push str.readme
push eax
call fcn.00420520
add esp, 0xc
test eax, eax
je 0x4061d4
mov dword [0x458090], 1
lea eax, [ebp - 0x310]
push 0x2c
push eax
call fcn.00420790
mov edx, eax
add esp, 8
test edx, edx
je 0x406330
mov byte [edx], 0
inc edx
mov dword [ebp - 0x65c], edx
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x459008]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x619], al
test al, al
jne 0x406200
lea edi, [ebp - 0x618]
dec edi
nop dword [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x406220
mov ax, word [0x448c04]
mov esi, edx
mov word [edi], ax
mov al, byte [edx]
inc edx
test al, al
jne 0x406235
lea edi, [ebp - 0x618]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406245
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x618]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x406262
mov eax, dword [str..lnk]
mov dword [ecx], eax
mov al, byte [0x448df0]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406284
sub ecx, edx
je 0x40629f
nop
cmp byte [ebp + ecx - 0x310], 0x5c
je 0x406302
sub ecx, 1
jne 0x406290
xor esi, esi
mov edx, dword [ebp - 0x65c]
lea eax, [ebp - 0x618]
sub esp, 0x18
push esi
push ecx
push eax
lea ecx, [ebp - 0x310]
call fcn.0040c4a0
add esp, 0x24
test eax, eax
jns 0x4062ec
call fcn.00409d00
push 0x10
push str.ERROR:
push str.Could_not_create_program_item_
push dword [0x4580e8]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x4580f4], 1
test esi, esi
je 0x405e00
push esi
call fcn.00427f49
add esp, 4
jmp 0x405e00
lea edi, [ecx + 1]
push edi
call fcn.00429ee5
mov esi, eax
lea eax, [ebp - 0x310]
push edi
push eax
push esi
call fcn.0042f102
add esp, 0x10
test edi, edi
je 0x4062a1
mov byte [esi + edi - 1], 0
jmp 0x4062a1
push 0x10
push str.ERROR:
push str.Could_not_create_program_item_
push dword [0x4580e8]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x4580f4], 1
jmp 0x405e00
lea eax, [ebp - 0x410]
push 0x449400
push eax
call fcn.00427e70
add esp, 8
test eax, eax
jne 0x406379
mov dword [0x458088], 1
mov esi, dword [0x4580cc]
mov edx, esi
mov ecx, dword [0x4580b4]
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x406390
lea edi, [esi - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4063a0
mov ax, word [0x448c04]
lea edx, [ebp - 0x410]
mov word [edi], ax
mov esi, edx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4063c0
mov edi, dword [0x4580cc]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4063d0
push dword [0x4580cc]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00427da4
add esp, 4
lea ecx, [ebp - 0x654]
push dword [0x4580cc]
call fcn.00401900
mov ecx, dword [0x458068]
mov eax, dword [0x449410]
mov edx, dword [0x4580cc]
mov esi, edx
mov dword [ecx], eax
mov ax, word [0x449414]
mov word [ecx + 4], ax
mov al, byte [edx]
inc edx
test al, al
jne 0x406424
sub edx, esi
lea edi, [ecx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406430
push dword [0x458068]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00402880
mov ecx, dword [ebp - 0x638]
lea edx, [ebp - 0x410]
add esp, 4
call fcn.004048a0
jmp 0x405e00
push dword [0x458068]
lea eax, [ebp - 0x310]
push 0
push 0
push 0
push eax
call fcn.004235ce
push str..ocx
push dword [0x458068]
call fcn.00427e70
add esp, 0x1c
test eax, eax
je 0x4064b0
push str..dep
push dword [0x458068]
call fcn.00427e70
add esp, 8
test eax, eax
jne 0x4064b9
cmp dword [0x4580e4], 0
je 0x4064c4
lea ecx, [ebp - 0x310]
call fcn.0040b750
cmp byte [ebp - 0x63c], 0x1b
jne 0x405e0c
lea eax, [ebp - 0x310]
push eax
call fcn.00422d1d
add esp, 4
jmp 0x405e0c
lea eax, [ebp - 0x310]
push 0x2c
push eax
call fcn.00420790
add esp, 8
test eax, eax
je 0x405e0c
push ecx
lea edx, [eax + 1]
mov byte [eax], 0
lea ecx, [ebp - 0x310]
call fcn.00404570
add esp, 4
jmp 0x405e0c
lea eax, [ebp - 0x310]
push 0x2c
push eax
call fcn.00420790
add esp, 8
test eax, eax
je 0x405e0c
push ecx
lea edx, [eax + 1]
mov byte [eax], 0
lea ecx, [ebp - 0x310]
call fcn.00404570
lea eax, [ebp - 0x310]
push eax
call fcn.00422d1d
add esp, 8
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.copy__s
call fcn.00402880
add esp, 8
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.ext_assoc__s
call fcn.00402880
add esp, 8
lea ecx, [ebp - 0x310]
mov edx, 1
call fcn.0040ad30
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.del_key__s
call fcn.00402880
add esp, 8
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.del_key__s
call fcn.00402880
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.0040a7a0
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.del_empty_key__s
jmp 0x4065be
lea eax, [ebp - 0x310]
push eax
push str.del_key_value__s
call fcn.00402880
add esp, 8
lea ecx, [ebp - 0x310]
call fcn.0040a860
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
call fcn.004231d0
mov edi, eax
push 0x2c
mov al, byte [edi]
lea esi, [edi + 1]
mov byte [ebp - 0x63d], al
mov al, byte [esi]
inc esi
push esi
mov byte [ebp - 0x631], al
call fcn.00420790
add esp, 0xc
test eax, eax
je 0x40663c
mov byte [eax], 0
movsx eax, byte [ebp - 0x63d]
add eax, 0xffffffcf
cmp eax, 3
ja case.default.0x40664b
jmp dword [eax*4 + 0x406b98]
mov eax, closesocket
jmp 0x406670
mov eax, closesocket
jmp 0x406670
mov eax, closesocket
jmp 0x406670
mov eax, reloc.WSOCK32.dll_closesocket
jmp 0x406670
xor eax, eax
lea ecx, [ebp - 0x64c]
push ecx
push 0xf003f
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406728
lea eax, [ebp - 0x668]
mov dword [ebp - 0x668], 0x104
push eax
lea eax, [ebp - 0x514]
push eax
push 0
push 0
push str.SignatureOrder
push dword [ebp - 0x64c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4066c6
mov byte [ebp - 0x514], 0
lea ecx, [ebp - 0x514]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4066d0
mov al, byte [ebp - 0x631]
sub ecx, edx
mov byte [ebp + ecx - 0x514], al
inc ecx
cmp ecx, 0x104
jae 0x406b07
push ecx
lea eax, [ebp - 0x514]
mov byte [ebp + ecx - 0x514], 0
push eax
push 1
push 0
push str.SignatureOrder
push dword [ebp - 0x64c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40675b
push dword [ebp - 0x64c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00427f49
add esp, 4
lea eax, [ebp - 0x310]
push eax
push str.CREATE_SHARED_KEY_SIGNATURE_failed__n_s
call fcn.00409e00
add esp, 8
lea eax, [ebp - 0x310]
push eax
push str.del_shared_key_signature__s
call fcn.00402880
jmp 0x405dfd
push edi
call fcn.00427f49
add esp, 4
push dword [ebp - 0x64c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x406745
jmp 0x406731
lea eax, [ebp - 0x310]
push eax
push str.del_shared_key__s
call fcn.00402880
add esp, 8
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.del_shared_key__s
call fcn.00402880
add esp, 8
cmp byte [0x458000], 0
jne 0x405e0c
lea eax, [ebp - 0x310]
push eax
call fcn.004231d0
mov edi, eax
push 0x3a
mov al, byte [edi]
mov byte [ebp - 0x631], al
lea eax, [edi + 1]
push eax
call fcn.00420790
add esp, 0xc
test eax, eax
je 0x4067db
mov byte [eax], 0x5c
movsx esi, byte [ebp - 0x631]
add esi, 0xffffffcf
cmp esi, 3
ja case.default.0x4067ea
jmp dword [esi*4 + 0x406ba8]
mov eax, closesocket
jmp 0x40680f
mov eax, closesocket
jmp 0x40680f
mov eax, closesocket
jmp 0x40680f
mov eax, reloc.WSOCK32.dll_closesocket
jmp 0x40680f
xor eax, eax
lea ecx, [ebp - 0x644]
push ecx
push 0xf003f
push 0
lea ecx, [edi + 1]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4068ab
lea eax, [ebp - 0x664]
mov dword [ebp - 0x664], 4
push eax
lea eax, [ebp - 0x648]
push eax
push 0
push 0
push str.SharedCounter
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4068f7
inc dword [ebp - 0x648]
lea eax, [ebp - 0x648]
push 4
push eax
push 4
push 0
push str.SharedCounter
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x406927
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00427f49
add esp, 4
jmp 0x405e00
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 3
ja case.default.0x4068bc
jmp dword [esi*4 + 0x406bb8]
mov eax, closesocket
jmp 0x4068e1
mov eax, closesocket
jmp 0x4068e1
mov eax, closesocket
jmp 0x4068e1
mov eax, reloc.WSOCK32.dll_closesocket
jmp 0x4068e1
xor eax, eax
lea ecx, [ebp - 0x644]
push ecx
lea ecx, [edi + 1]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x406933
push 4
lea eax, [ebp - 0x648]
mov dword [ebp - 0x648], 1
push eax
push 4
push 0
push str.SharedCounter
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x406891
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00427f49
lea eax, [ebp - 0x310]
push eax
push str.CREATE_SHARED_KEY_failed__n_s
call fcn.00409e00
add esp, 0xc
jmp 0x405e00
lea eax, [ebp - 0x310]
push eax
push str.del_shared_key_value__s
call fcn.00402880
add esp, 4
lea ecx, [ebp - 0x310]
call fcn.0040be00
add esp, 4
test eax, eax
jne 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.SET_SHARED_KEY_VALUE_failed__n_s
call fcn.00409e00
add esp, 8
jmp 0x405e0c
xor edx, edx
lea ecx, [ebp - 0x310]
call fcn.00402300
jmp 0x405e0c
mov edx, 1
lea ecx, [ebp - 0x310]
call fcn.00402300
jmp 0x405e0c
lea ecx, [ebp - 0x310]
call fcn.004025f0
jmp 0x405e0c
lea eax, [ebp - 0x310]
mov dword [ebp - 0x63c], 3
push 0x40
push eax
xor edi, edi
call fcn.00420790
mov esi, eax
add esp, 8
test esi, esi
je 0x406a11
mov byte [esi], 0
inc esi
push esi
call fcn.00428b19
push 0x40
push esi
mov dword [ebp - 0x63c], eax
call fcn.00420790
add esp, 0xc
test eax, eax
je 0x406a11
lea edi, [eax + 1]
push dword [ebp - 0x63c]
lea eax, [ebp - 0x310]
push 0x448908
push edi
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x405e00
lea eax, [ebp - 0x628]
mov dword [ebp - 0x6c8], 0x44
push eax
lea eax, [ebp - 0x6c8]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x310]
movlpd qword [ebp - 0x6c4], xmm0
push eax
push 0
movlpd qword [ebp - 0x6bc], xmm0
movlpd qword [ebp - 0x6b4], xmm0
movlpd qword [ebp - 0x6ac], xmm0
movlpd qword [ebp - 0x6a4], xmm0
movlpd qword [ebp - 0x69c], xmm0
movlpd qword [ebp - 0x694], xmm0
movlpd qword [ebp - 0x68c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405e0c
push dword [ebp - 0x624]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x628]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x628]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405e0c
lea eax, [ebp - 0x310]
push eax
push str.exec__s
call fcn.00402880
add esp, 8
jmp 0x405e0c
push str.Archive_corrupt__n_nPlease_download_again.
call fcn.00409e00
add esp, 4
jmp 0x405e0c
call fcn.0041f257
call fcn.00429c4f
nop dword [eax]
sbb dword [ebp + 0x40], ebx
add byte [ecx - 184532898], dh
push 0x40
add bl, dl
pop esi
inc eax
add ch, ch
pop edi
inc eax
add byte [ebx + 0x61], dl
inc eax
add byte [edi + 0x63], dl
inc eax
add ch, dh
push 0x40
add ch, dh
push 0x40
add byte [edx + 0x64], ch
inc eax
add byte [edx + 0x64], ch
inc eax
add ch, ah
inc eax
add byte [eax], bl
inc eax
add cl, dl
inc eax
add byte [edi + 0x65], dl
inc eax
add ch, dh
push 0x40
add byte [eax + 0x65], dh
inc eax
add byte [ecx - 0x4dffbf9b], bl
inc eax
add dh, dl
inc eax
add ah, ah
inc eax
add al, bh
inc eax
add byte [eax], cl
inc ax
add byte [edi + 0x76004067], cl
inc eax
add byte [edx + 0x69], dl
inc eax
add ch, dh
push 0x40
add byte [ebp - 0x58ffbf97], dl
imul eax, dword [eax], case.0x405d12.46
int3