Function at 0x403fc0
Capabilities:
Create thread
Extract resource via kernel32 functions
Get common file path
Resume thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c13d
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5cf000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x25c], 0
call fcn.004207ef
test ebx, ebx
jne 0x40400d
xor eax, eax
jmp 0x404010
mov eax, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x5d97c0], eax
mov eax, dword [ebx + 0x1c8]
test eax, eax
je 0x404044
push eax
push 1
push 0x80
push dword [ebx + 0x20]
call esi
push dword [ebx + 0x1c8]
push 0
push 0x80
push dword [ebx + 0x20]
call esi
lea ecx, [ebp - 0x254]
call fcn.0040e5f0
push str.SETUP.bin
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
call fcn.004092d0
add esp, 0xc
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, dword [eax]
mov esi, dword [0x5d97dc]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x4040d7
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x4040c9
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4040c9
push edx
call fcn.0040a460
add esp, 4
mov dword [ebp - 0x240], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4040bf
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x240]
add eax, 0x10
mov dword [0x5d97dc], eax
jmp 0x4040d7
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5d97dc
call fcn.0040a5a0
mov edx, dword [ebp - 0x250]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4040f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404118
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x5d97dc]
call fcn.0040db70
push 0
cmp eax, 0xffffffff
je 0x405793
push 2
push 0
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x258], esi
mov eax, dword [0x5d97dc]
add eax, 0xfffffff0
push eax
call fcn.0040a460
add esp, 4
add eax, 0x10
mov ecx, 0x5d98e8
mov dword [esi], eax
call fcn.0040eed0
mov eax, dword [0x5d9908]
mov eax, dword [eax + 0x84]
sub eax, 0x10
push eax
call fcn.0040a460
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x264], esi
lea edi, [esi - 0x10]
mov dword [ebp - 4], 2
cmp dword [edi + 4], 0
mov dword [ebp - 0x24c], edi
jl 0x40427c
push 0x5afbe8
push esi
call fcn.0054f26d
add esp, 8
test eax, eax
je 0x40427c
sub eax, esi
sar eax, 1
js 0x40427c
cmp dword [edi + 4], 0
jge 0x4041c2
or eax, 0xffffffff
jmp 0x4041dd
push 0x5afbe8
push esi
call fcn.0054f26d
add esp, 8
test eax, eax
jne 0x4041d9
or eax, 0xffffffff
jmp 0x4041dd
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x264]
call fcn.00409740
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov esi, dword [0x5d98c4]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x404259
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x40424b
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x40424b
push edx
call fcn.0040a460
add esp, 4
mov dword [ebp - 0x240], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x404241
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x240]
add eax, 0x10
mov dword [0x5d98c4], eax
jmp 0x404259
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5d98c4
call fcn.0040a5a0
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4042e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4042e9
mov ecx, dword [0x5d98c4]
add ecx, 0xfffffff0
mov dword [ebp - 0x250], ecx
cmp edi, ecx
je 0x4042e9
lea eax, [ecx + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x4042db
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x4042db
push edi
call fcn.0040a460
mov edx, dword [ebp - 0x240]
add esp, 4
mov edi, eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4042d1
mov esi, dword [ebp - 0x250]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [0x5d98c4], eax
jmp 0x4042e9
push dword [edi + 4]
mov ecx, 0x5d98c4
push esi
call fcn.0040a5a0
mov eax, dword [0x5d9908]
push 1
push dword [eax + 8]
call fcn.005562b1
add esp, 8
mov esi, eax
mov ecx, 0x5d98e8
mov dword [ebp - 0x244], esi
push esi
push 0
push 0
call fcn.0040f570
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [ebp - 0x240], eax
mov dword [0x5d97d0], edi
mov dword [0x5d97d4], eax
mov byte [ebp - 4], 6
call fcn.0042d054
mov ecx, eax
mov byte [ebp - 4], 5
test ecx, ecx
je 0x405798
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 4
mov ecx, edi
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x25c], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x23c], esi
call fcn.0056ba90
movsd xmm1, qword [0x5b2e50]
movsd xmm2, qword [0x5b2e60]
mulsd xmm0, xmm1
comisd xmm0, xmm2
jb 0x4043b5
mulsd xmm0, xmm1
comisd xmm0, xmm2
jb 0x4043a6
mulsd xmm0, xmm1
comisd xmm0, xmm2
jae 0x4043d7
sub esp, 8
movsd qword [esp], xmm0
push str._.2f_GB
jmp 0x4043c2
sub esp, 8
movsd qword [esp], xmm0
push str._.2f_MB
jmp 0x4043c2
sub esp, 8
movsd qword [esp], xmm0
push str._.2f_KB
lea eax, [ebp - 0x23c]
push eax
call fcn.0040a910
mov esi, dword [ebp - 0x23c]
add esp, 0x10
mov ecx, dword [0x5d98c8]
lea edi, [esi - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x250], ecx
cmp edi, ecx
je 0x404451
lea eax, [ecx + 0xc]
mov dword [ebp - 0x240], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x404443
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x404443
push edi
call fcn.0040a460
mov edx, dword [ebp - 0x240]
add esp, 4
mov dword [ebp - 0x254], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404439
mov esi, dword [ebp - 0x250]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x254]
add eax, 0x10
mov dword [0x5d98c8], eax
jmp 0x404451
push dword [esi - 0xc]
mov ecx, 0x5d98c8
push esi
call fcn.0040a5a0
mov dword [ebp - 0x25c], 0
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x404473
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x244]
lea edx, [esi + 0x10]
test edx, edx
jne 0x404484
xor ecx, ecx
jmp 0x40449f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404490
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5d98d0
call fcn.0040a5a0
mov eax, dword [0x5d98d0]
mov edx, dword [eax - 0xc]
add edx, 9
lea edx, [esi + edx*2]
test edx, edx
jne 0x4044c1
xor ecx, ecx
jmp 0x4044d5
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4044c6
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5d98c0
call fcn.0040a5a0
mov eax, dword [0x5d98d0]
mov ecx, dword [eax - 0xc]
mov eax, dword [0x5d98c0]
mov edx, dword [eax - 0xc]
add edx, 0xa
add edx, ecx
lea edx, [esi + edx*2]
test edx, edx
jne 0x404501
xor ecx, ecx
jmp 0x404515
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404506
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5d98d8
call fcn.0040a5a0
push esi
call fcn.005529f3
add esp, 4
mov eax, dword [0x5d98d8]
mov edx, 0x5afd50
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x40455c
test si, si
je 0x404558
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x40455c
add ecx, 4
add edx, 4
test si, si
jne 0x404536
xor ecx, ecx
jmp 0x404561
sbb ecx, ecx
or ecx, 1
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x4045d1
mov ecx, dword [0x5d98c4]
lea esi, [eax - 0x10]
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x4045d1
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x4045be
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4045be
push edx
call fcn.0040a460
add esp, 4
mov dword [ebp - 0x244], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4045b4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
add eax, 0x10
mov dword [0x5d98d8], eax
jmp 0x4045d1
push dword [edx + 4]
push ecx
mov ecx, 0x5d98d8
call fcn.0040a5a0
mov eax, dword [0x5d98d8]
mov ecx, dword [0x5d9908]
xorps xmm0, xmm0
mov edx, dword [0x5d990c]
movlpd qword [0x5d98f8], xmm0
cmp ecx, edx
je 0x404604
push ecx
call fcn.0040a930
mov eax, dword [0x5d9908]
add esp, 4
mov dword [0x5d990c], eax
mov eax, dword [0x5d98d8]
mov edi, dword [eax - 0xc]
test edi, edi
js 0x405789
mov edx, dword [eax - 8]
mov esi, 1
sub esi, dword [eax - 4]
sub edx, edi
or edx, esi
jge 0x404630
push edi
mov ecx, 0x5d98d8
call fcn.0040a530
mov eax, dword [0x5d98d8]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.00555f52
mov eax, dword [0x5d98d8]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x405789
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [0x5d98d8]
mov word [eax + edi*2], cx
lea ecx, [ebp - 0x250]
call fcn.0040e5f0
push str.Crack
push eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 8
push eax
call fcn.004092d0
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov esi, dword [0x5d98cc]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x4046e6
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x4046d8
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4046d8
push edx
call fcn.0040a460
add esp, 4
mov dword [ebp - 0x244], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4046ce
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
add eax, 0x10
mov dword [0x5d98cc], eax
jmp 0x4046e6
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5d98cc
call fcn.0040a5a0
mov edx, dword [ebp - 0x240]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404703
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404724
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x5d98cc]
call fcn.0040db70
cmp eax, 0xffffffff
jne 0x40473e
mov ecx, 0x5d98cc
call fcn.00409f50
push str._INSTALLER
lea eax, [ebp - 0x240]
push 0x5d98d8
push eax
call fcn.004092d0
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
mov esi, dword [0x5d9954]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x4047c0
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x4047b2
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4047b2
push edx
call fcn.0040a460
add esp, 4
mov dword [ebp - 0x244], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4047a8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x244]
add eax, 0x10
mov dword [0x5d9954], eax
jmp 0x4047c0
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5d9954
call fcn.0040a5a0
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4047e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5d9954]
mov edi, dword [eax - 0xc]
test edi, edi
js 0x405789
mov edx, dword [eax - 8]
mov esi, 1
sub esi, dword [eax - 4]
sub edx, edi
or edx, esi
jge 0x404812
push edi
mov ecx, 0x5d9954
call fcn.0040a530
mov eax, dword [0x5d9954]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.00555f52
mov eax, dword [0x5d9954]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x405789
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [0x5d9954]
mov word [eax + edi*2], cx
call fcn.00411753
test eax, eax
je 0x40484d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x40484f
xor eax, eax
push dword [0x5d9954]
mov ecx, eax
call fcn.0042b731
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404877
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x5d9958
call fcn.0040a5a0
push 0xa
push str.tenoke.mid
mov ecx, 0x5d9958
call fcn.0040a6c0
mov ecx, dword [0x5d9958]
call fcn.0040db70
cmp eax, 0xffffffff
jne 0x404947
mov eax, dword [0x5d9958]
push 0
mov dword [ebp - 0x244], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5afe18
mov esi, eax
push 0x89
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x404947
push edi
push esi
mov dword [ebp - 0x240], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 2
push 2
push 0
push 7
push 0x40000000
push dword [ebp - 0x244]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 0x240]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
push 0x5d9958
lea eax, [ebp - 0x244]
push str.Open
push eax
call fcn.00409140
push 0x5b05a0
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0xb
push eax
call fcn.004092d0
mov byte [ebp - 4], 2
add esp, 0x18
mov edx, dword [ebp - 0x244]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x404997
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINMM.dll_mciSendStringW]
push 0
push 0
push 0
push dword [ebp - 0x23c]
call esi
push 0
push 0
push 0
push str.play_Music1_repeat
call esi
mov edx, dword [ebp - 0x23c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4049d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
sub eax, 0x320
cdq
sub eax, edx
mov edi, eax
push 1
sar edi, 1
call esi
mov esi, dword [ebp - 0x248]
sub eax, 0x1c2
push 1
cdq
mov ecx, esi
push 0x1c2
sub eax, edx
push 0x320
sar eax, 1
push eax
push edi
call fcn.0042b581
push 0
push 0
push 0x31
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0042c45d
mov dword [ebp - 0x23c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x238]
push eax
push dword [esi + 0x20]
movups xmmword [ebp - 0x238], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x234]
lea eax, [esi + 0xd0]
mov dword [ebp - 0x254], eax
mov eax, dword [eax]
push 0x44c
push dword [ebp - 0x248]
lea esi, [edx + 0xc8]
mov dword [ebp - 0x224], edx
mov edi, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x21c], esi
lea ecx, [eax + 0x320]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x254]
push eax
push 0x50000000
push 0x5afbec
call edi
test eax, eax
je 0x405620
call fcn.0042f18e
push 0x5afe18
push 0x86
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x404c5e
call fcn.0042f18e
push esi
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x244], eax
test eax, eax
je 0x404c5e
call fcn.0042f18e
push esi
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x404c5e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x244]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404c57
test ebx, ebx
je 0x404c57
push esi
push eax
push ebx
call fcn.0054f810
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [ebp - 0x254]
mov ecx, ebx
push esi
push edi
call fcn.0040ada0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
je 0x404c5e
cmp dword [ebx + 0xb8], 0
je 0x404c5e
cmp dword [ebx + 0xac], 0
je 0x404be2
mov ecx, dword [ebx + 0xf0]
mov eax, 0x92492493
sub ecx, dword [ebx + 0xec]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x404be2
lea eax, [ebp - 0x258]
push eax
push 4
push ebx
push 0x40b960
push 0
push 0
call fcn.00556218
add esp, 0x18
mov dword [ebx + 0xd4], eax
test eax, eax
je 0x404c5e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x404c5e
mov ecx, dword [ebx + 0xdc]
test ecx, ecx
je 0x404c5e
mov eax, dword [ecx]
lea edx, [ebp - 0x240]
push edx
push ecx
call dword [eax + 0x18]
mov ecx, dword [ebx + 0xdc]
lea edx, [ebp - 0x244]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, dword [ebx + 0xdc]
mov ecx, dword [ebp - 0x244]
push 0
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov eax, ecx
neg eax
push eax
push dword [ebp - 0x240]
push ecx
push 0
push dword [ebx + 0x94]
push dword [ebx + 0x90]
push 0
push 0
push dword [ebx + 0xbc]
push esi
call edx
test eax, eax
jne 0x404c5e
push eax
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x404c5e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x234]
add ecx, 0x1d0
push 0x44d
push dword [ebp - 0x248]
mov eax, dword [ecx]
lea edi, [edx + 0x186]
add edx, 0xdc
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x224], edx
mov ebx, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea esi, [eax + 0xc8]
add eax, 0xa
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000007
push str.OPTIONS
mov dword [ebp - 0x220], esi
call ebx
test eax, eax
jne 0x404ce3
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
mov ebx, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x234]
push 0x44e
push ebx
mov eax, dword [ebx + 0x450]
lea esi, [ecx + 0x112]
add ecx, 0xfa
mov dword [ebp - 0x224], ecx
lea ecx, [ebx + 0x450]
mov dword [ebp - 0x21c], esi
mov edi, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea edx, [eax + 0x36]
add eax, 0x1e
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000000
push str.music
mov dword [ebp - 0x220], edx
call edi
test eax, eax
jne 0x404d64
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
sub esp, 0x18
lea ecx, [ebx + 0x450]
call fcn.0040ce30
mov eax, dword [ebx + 0x3d0]
lea ecx, [ebx + 0x3d0]
mov edx, dword [ebp - 0x234]
push 0x452
push dword [ebp - 0x248]
mov ebx, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea edi, [edx + 0x120]
add edx, 0x100
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x224], edx
lea esi, [eax + 0xa0]
add eax, 0x3c
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000000
push str.MUSIC
mov dword [ebp - 0x220], esi
call ebx
test eax, eax
jne 0x404df5
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
mov ebx, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x234]
push 0x453
push ebx
mov eax, dword [ebx + 0x548]
lea esi, [ecx + 0x13b]
add ecx, 0x11d
mov dword [ebp - 0x224], ecx
lea ecx, [ebx + 0x548]
mov dword [ebp - 0x21c], esi
mov edi, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea edx, [eax + 0xbf]
add eax, 0x1f
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000003
push str.COPY_CRACK
mov dword [ebp - 0x220], edx
call edi
test eax, eax
jne 0x404e79
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
push 0
push dword [0x5cfa80]
push 0xf1
push dword [ebx + 0x568]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x5c8]
mov ecx, dword [ebp - 0x234]
push 0x454
push ebx
mov edi, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea esi, [ecx + 0x156]
add ecx, 0x138
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x224], ecx
lea ecx, [ebx + 0x5c8]
lea edx, [eax + 0xbf]
add eax, 0x1f
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000003
push str.CREATE_DESKTOP_SHORTCUT
mov dword [ebp - 0x220], edx
call edi
test eax, eax
jne 0x404f10
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
push 0
push dword [0x5cfa88]
push 0xf1
push dword [ebx + 0x5e8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x648]
lea ecx, [ebx + 0x648]
mov edx, dword [ebp - 0x234]
push 0x455
mov ebx, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea edi, [edx + 0x171]
add edx, 0x153
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x224], edx
lea esi, [eax + 0xbf]
add eax, 0x1f
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x248]
push esi
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000003
push str.CREATE_UNINSTALLER
call ebx
test eax, eax
jne 0x404fad
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
push 0
push dword [0x5cfa84]
push 0xf1
push dword [esi + 0x668]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5d98cc]
cmp dword [eax - 0xc], 0
jne 0x404fde
push 0
lea ecx, [esi + 0x548]
call fcn.0042b2a5
mov eax, dword [0x5d98d0]
mov ecx, 0x5afd50
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40500e
test dx, dx
je 0x40500a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40500e
add eax, 4
add ecx, 4
test dx, dx
jne 0x404fe8
xor eax, eax
jmp 0x405013
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 2
test eax, eax
jne 0x405027
push eax
lea ecx, [esi + 0x5c8]
call fcn.0042b2a5
mov eax, dword [esi + 0x250]
lea ecx, [esi + 0x250]
mov edx, dword [ebp - 0x234]
push 0x45b
push dword [ebp - 0x248]
mov ebx, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea edi, [edx + 0x186]
add edx, 0xdc
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x224], edx
lea esi, [eax + 0x30c]
add eax, 0xd2
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000007
push str.INSTALL_DIRECTORY
mov dword [ebp - 0x220], esi
call ebx
test eax, eax
jne 0x4050ac
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
mov eax, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x248]
push 0x456
lea esi, [eax + 0x29e]
add eax, 0xf0
mov dword [ebp - 0x228], eax
lea edi, [edx + 0x10e]
push ebx
lea eax, [ebp - 0x228]
mov dword [ebp - 0x220], esi
push eax
add edx, 0xfb
mov dword [ebp - 0x21c], edi
lea ecx, [ebx + 0x6c8]
mov dword [ebp - 0x224], edx
push 0x50800080
call fcn.0042dcce
test eax, eax
jne 0x405124
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
mov eax, dword [ebx + 0x748]
lea ecx, [ebx + 0x748]
mov edx, dword [ebp - 0x234]
push 0x451
mov ebx, dword [eax + 0x164]
mov eax, dword [ebp - 0x238]
lea edi, [edx + 0x110]
mov dword [ebp - 0x21c], edi
add edx, 0xf8
mov edi, dword [ebp - 0x248]
push edi
lea esi, [eax + 0x2fd]
mov dword [ebp - 0x224], edx
add eax, 0x2ad
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000000
push str.BROWSER...
call ebx
test eax, eax
jne 0x4051aa
mov esi, dword [ebp - 0x24c]
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x40562e
mov eax, dword [edi + 0x7c8]
mov ecx, dword [ebp - 0x234]
push 0xc
mov eax, dword [eax + 0x164]
mov dword [ebp - 0x260], eax
lea esi, [ecx + 0x135]
mov eax, dword [ebp - 0x238]
add ecx, 0x11d
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x21c], esi
lea edx, [eax + 0x302]
add eax, 0xf0
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], edx
call fcn.0041fd0e
mov ebx, eax
mov dword [ebp - 0x240], eax
add esp, 4
mov dword [ebp - 0x244], ebx
mov byte [ebp - 4], 0xd
test ebx, ebx
je 0x405233
push str._FREE_DISKSPACE
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call fcn.0054e8c0
mov dword [ebx], eax
jmp 0x40523b
xor ebx, ebx
mov dword [ebp - 0x240], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x244], ebx
test ebx, ebx
je 0x4057a2
push 0x5d98c8
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0xe
push str.REQUIRED
push eax
call fcn.00409140
mov ebx, dword [eax]
push 0xc
mov byte [ebp - 4], 0x10
call fcn.0041fd0e
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x250], esi
mov byte [ebp - 4], 0x11
test esi, esi
je 0x4052ac
push ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x4052ae
test ebx, ebx
jne 0x4057ac
jmp 0x4052ae
xor esi, esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x250], esi
test esi, esi
je 0x4057a2
push 0xc
mov dword [ebp - 0x25c], 2
call fcn.0041fd0e
add esp, 4
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4052f9
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x250]
push ecx
mov ecx, eax
call fcn.00403200
jmp 0x4052fb
xor eax, eax
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x4057a2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x40534f
mov eax, dword [esi]
test eax, eax
je 0x40532d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x405344
push eax
call fcn.00423e27
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0054d953
add esp, 8
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x228]
push 0x457
push edi
push eax
push 0x50000000
push dword [esi]
lea ecx, [edi + 0x7c8]
mov dword [ebp - 0x250], esi
call dword [ebp - 0x260]
mov dword [ebp - 0x260], eax
mov ecx, ebx
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4053c0
mov ecx, dword [esi]
test ecx, ecx
je 0x40539e
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4053b5
push eax
call fcn.00423e27
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0054d953
add esp, 8
mov edx, dword [ebp - 0x258]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4053dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov esi, dword [ebp - 0x240]
lock xadd dword [esi + 8], eax
dec eax
jne 0x405426
mov eax, dword [esi]
test eax, eax
je 0x405404
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40541b
push eax
call fcn.00423e27
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0054d953
add esp, 8
cmp dword [ebp - 0x260], 0
je 0x405620
mov eax, dword [edi + 0x948]
lea ecx, [edi + 0x948]
mov esi, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
push 0x45a
mov edi, dword [eax + 0x164]
lea eax, [esi + 0xf0]
mov dword [ebp - 0x228], eax
lea eax, [edx + 0x136]
mov dword [ebp - 0x224], eax
lea eax, [esi + 0x29e]
mov esi, dword [ebp - 0x248]
mov dword [ebp - 0x220], eax
lea eax, [edx + 0x14e]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x228]
push esi
push eax
push 0x50000000
call edi
test eax, eax
je 0x405620
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x3e80000
push 0
push 0x401
push dword [esi + 0x968]
call edi
push 0
push 0
push 0x402
push dword [esi + 0x968]
call edi
mov eax, dword [esi + 0x8c8]
lea edi, [esi + 0x8c8]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
push 0x459
mov esi, dword [eax + 0x164]
push dword [ebp - 0x248]
lea eax, [ecx + 0x2c1]
mov dword [ebp - 0x228], eax
lea eax, [edx + 0x13b]
mov dword [ebp - 0x224], eax
lea eax, [ecx + 0x2fd]
mov dword [ebp - 0x220], eax
mov ecx, edi
lea eax, [edx + 0x14f]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000000
push 0x5aff18
call esi
test eax, eax
je 0x405620
mov edi, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
push 0x44f
mov eax, dword [edi + 0x2d0]
push edi
mov esi, dword [eax + 0x164]
lea eax, [ecx + 0x12c]
mov dword [ebp - 0x228], eax
lea eax, [edx + 0x159]
mov dword [ebp - 0x224], eax
lea eax, [ecx + 0x190]
mov dword [ebp - 0x220], eax
lea ecx, [edi + 0x2d0]
lea eax, [edx + 0x177]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000001
push 0x5aff1c
call esi
test eax, eax
je 0x405620
mov eax, dword [edi + 0x350]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x234]
push 0x450
mov esi, dword [eax + 0x164]
lea eax, [ecx + 0x1f4]
mov dword [ebp - 0x228], eax
lea eax, [edx + 0x159]
mov dword [ebp - 0x224], eax
lea eax, [ecx + 0x258]
mov dword [ebp - 0x220], eax
lea ecx, [edi + 0x350]
lea eax, [edx + 0x177]
push edi
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x228]
push eax
push 0x50000000
push str.EXIT
call esi
test eax, eax
jne 0x405656
mov esi, dword [ebp - 0x24c]
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x405638
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054d63f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x405762
push 1
push dword [eax + 4]
mov esi, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [esi + 0x1f0]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x270]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x568]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x5e8]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x668]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x3f0]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x7e8]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x6e8]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x8e8]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x768]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x2f0]
call edi
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 4]
push 0x30
push dword [esi + 0x370]
call edi
call fcn.004035c0
mov esi, dword [ebp - 0x24c]
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x40577f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
jmp 0x40563a
push 0x80070057
call fcn.00402740
call fcn.00553055
push 0x80004005
call fcn.00402740
push 0x8007000e
call fcn.0054e8a0
push 0x8007000e
call fcn.0054e8a0
int3