Function at 0x407580
Capabilities:
Check if file exists
Create thread
Extract resource via kernel32 functions
Get common file path
Get file attributes
Resume thread
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5799a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x5c], 0
push edi
mov dword [ebp - 0x50], ebx
call fcn.00429c34
test ebx, ebx
jne 0x4075ba
xor eax, eax
jmp 0x4075bd
mov eax, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x5f4528], eax
mov eax, dword [ebx + 0x1c8]
test eax, eax
je 0x4075f1
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 - 0x58]
call fcn.0040f470
push str.PATCH.bin
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.0040b350
add esp, 0xc
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov ecx, dword [eax]
mov esi, dword [0x5f455c]
add esi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x407674
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x407666
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x407666
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40765c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [0x5f455c], eax
jmp 0x407674
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5f455c
call fcn.0040c1e0
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407692
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 - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4076b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5f455c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408cab
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x408cb2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 2
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x40770d
push 0x105
lea ecx, [ebp - 0x58]
call fcn.0040c170
mov esi, dword [ebp - 0x58]
cmp dword [esi - 8], 0x105
jl 0x408ca1
push 0x104
xor eax, eax
mov dword [esi - 0xc], 0x105
push esi
push eax
mov word [esi + 0x20a], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [esi - 8]
push esi
call fcn.0055c1a8
add esp, 8
test eax, eax
js 0x408ca1
cmp eax, dword [esi - 8]
jg 0x408ca1
xor ecx, ecx
mov dword [esi - 0xc], eax
push ecx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov word [esi + eax*2], cx
mov edi, esp
lea eax, [esi - 0x10]
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0x38], eax
call fcn.0040c100
add esp, 4
add eax, 0x10
mov ecx, 0x5f4668
mov dword [edi], eax
call fcn.00410060
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x408cbc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 3
lea edi, [esi - 0x10]
mov eax, dword [0x5f4690]
mov ecx, dword [eax + 0x84]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x407802
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4077f3
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4077f3
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4077eb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea esi, [eax + 0x10]
mov dword [ebp - 0x54], esi
jmp 0x407802
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040c1e0
mov esi, dword [ebp - 0x54]
cmp dword [esi - 0xc], 0
jl 0x4078de
push 0x5c4288
push esi
call fcn.00558e00
add esp, 8
test eax, eax
je 0x4078de
sub eax, esi
sar eax, 1
js 0x4078de
cmp dword [esi - 0xc], 0
jge 0x407837
or eax, 0xffffffff
jmp 0x407852
push 0x5c4288
push esi
call fcn.00558e00
add esp, 8
test eax, eax
jne 0x40784e
or eax, 0xffffffff
jmp 0x407852
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040b6a0
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov edi, dword [0x5f4644]
add edi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x4078be
cmp dword [edi + 0xc], 0
jl 0x4078b0
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4078b0
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4078a6
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [0x5f4644], eax
jmp 0x4078be
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5f4644
call fcn.0040c1e0
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407937
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x407937
mov edi, dword [0x5f4644]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
cmp ecx, edi
je 0x407937
cmp dword [edi + 0xc], 0
jl 0x407929
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x407929
push ecx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40791f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [0x5f4644], eax
jmp 0x407937
push dword [esi - 0xc]
mov ecx, 0x5f4644
push esi
call fcn.0040c1e0
mov eax, dword [0x5f4690]
push 1
push dword [eax + 8]
call fcn.0055ff89
add esp, 8
mov edi, eax
mov ecx, 0x5f4668
mov dword [ebp - 0x10], edi
push edi
push 0
push 0
call fcn.004106f0
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
mov dword [0x5f4530], eax
mov dword [0x5f4534], ecx
mov byte [ebp - 4], 5
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x408cc6
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x5c], 1
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
call fcn.00579360
movsd xmm1, qword [0x5c8120]
movsd xmm2, qword [0x5c8150]
mulsd xmm0, xmm1
comisd xmm0, xmm2
jb 0x4079f0
mulsd xmm0, xmm1
comisd xmm0, xmm2
jb 0x4079e1
mulsd xmm0, xmm1
comisd xmm0, xmm2
jae 0x407a0c
sub esp, 8
movsd qword [esp], xmm0
push str._.2f_GB
jmp 0x4079fd
sub esp, 8
movsd qword [esp], xmm0
push str._.2f_MB
jmp 0x4079fd
sub esp, 8
movsd qword [esp], xmm0
push str._.2f_KB
lea eax, [ebp - 0x1c]
push eax
call fcn.0040c4c0
mov edi, dword [ebp - 0x1c]
add esp, 0x10
mov ecx, dword [0x5f4648]
lea edx, [edi - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
cmp edx, ecx
je 0x407a77
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x18], eax
jl 0x407a66
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x407a66
push edx
call fcn.0040c100
mov edx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407a5c
mov edi, dword [ebp - 0x24]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [0x5f4648], eax
jmp 0x407a74
push dword [edi - 0xc]
mov ecx, 0x5f4648
push edi
call fcn.0040c1e0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], 0
mov eax, ebx
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407a96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
lea edx, [edi + 0x10]
test edx, edx
jne 0x407aa4
xor ecx, ecx
jmp 0x407ac0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407ab0
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, 0x5f4650
call fcn.0040c1e0
mov eax, dword [0x5f4650]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 0x12]
lea edx, [eax + edi]
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x407ae9
xor ecx, ecx
jmp 0x407b01
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407af1
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, 0x5f4640
call fcn.0040c1e0
mov eax, dword [0x5f4640]
mov ecx, dword [ebp - 0x20]
add ecx, 2
mov eax, dword [eax - 0xc]
lea eax, [ecx + eax*2]
lea edx, [eax + edi]
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x407b2c
xor ecx, ecx
jmp 0x407b44
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407b34
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, 0x5f4658
call fcn.0040c1e0
mov eax, dword [0x5f4658]
mov ecx, dword [ebp - 0x20]
add ecx, 2
mov edx, dword [eax - 0xc]
lea edx, [ecx + edx*2]
add edx, edi
jne 0x407b69
xor ecx, ecx
jmp 0x407b81
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407b71
sub ecx, dword [ebp - 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, 0x5f46f8
call fcn.0040c1e0
push edi
call fcn.0055bf43
mov eax, dword [0x5f4658]
add esp, 4
mov edx, 0x5c599c
mov ecx, eax
mov di, word [ecx]
cmp di, word [edx]
jne 0x407bc8
test di, di
je 0x407bc4
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x407bc8
add ecx, 4
add edx, 4
test di, di
jne 0x407ba2
xor ecx, ecx
jmp 0x407bcd
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x407c2f
mov ecx, dword [0x5f4644]
lea edi, [eax - 0x10]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x407c2f
cmp dword [edi + 0xc], 0
jl 0x407c1c
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x407c1c
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407c12
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [0x5f4658], eax
jmp 0x407c2f
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5f4658
call fcn.0040c1e0
mov eax, dword [0x5f4658]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x14], ecx
test ecx, ecx
js 0x408ca1
mov edx, dword [eax - 8]
mov edi, 1
sub edi, dword [eax - 4]
sub edx, ecx
or edx, edi
jge 0x407c61
push ecx
mov ecx, 0x5f4658
call fcn.0040c170
mov eax, dword [0x5f4658]
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push eax
call fcn.0055f605
mov eax, dword [0x5f4658]
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x408ca1
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [0x5f4658]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x20]
call fcn.0040f470
mov byte [ebp - 4], 6
mov ecx, dword [eax]
mov edi, dword [0x5f464c]
add edi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x407cf2
cmp dword [edi + 0xc], 0
jl 0x407ce4
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x407ce4
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407cda
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [0x5f464c], eax
jmp 0x407cf2
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5f464c
call fcn.0040c1e0
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407d10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5f464c]
mov ecx, 0x5f464c
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040b6a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
call fcn.0040fce0
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov edi, dword [0x5f464c]
add edi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x407d95
cmp dword [edi + 0xc], 0
jl 0x407d87
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x407d87
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407d7d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [0x5f464c], eax
jmp 0x407d95
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5f464c
call fcn.0040c1e0
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407db3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407dd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 5
push str.Crack
mov ecx, 0x5f464c
call fcn.0040c2d0
push dword [0x5f464c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x407dfd
mov ecx, 0x5f464c
call fcn.0040bce0
push 0x5f4658
lea eax, [ebp - 0x24]
push 0x5c5ad8
push eax
call fcn.0040b230
push 0x5c5ad4
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
call fcn.0040b350
push 0x5f46f8
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040b480
add esp, 0x24
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
mov edi, dword [0x5f46f0]
add edi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x407e98
cmp dword [edi + 0xc], 0
jl 0x407e8a
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x407e8a
push edx
call fcn.0040c100
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407e80
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [0x5f46f0], eax
jmp 0x407e98
push dword [ecx - 0xc]
push ecx
mov ecx, 0x5f46f0
call fcn.0040c1e0
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407eb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407ed4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407ef2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5f46f0]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x14], ecx
test ecx, ecx
js 0x408ca1
mov edx, dword [eax - 8]
mov edi, 1
sub edi, dword [eax - 4]
sub edx, ecx
or edx, edi
jge 0x407f29
push ecx
mov ecx, 0x5f46f0
call fcn.0040c170
mov eax, dword [0x5f46f0]
mov ecx, dword [ebp - 0x14]
inc ecx
push ecx
push eax
call fcn.0055f605
mov eax, dword [0x5f46f0]
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x408ca1
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [0x5f46f0]
mov word [eax + ecx*2], dx
call fcn.0041abee
test eax, eax
je 0x407f65
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x407f67
xor eax, eax
push dword [0x5f46f0]
mov ecx, eax
call fcn.0043403c
lea eax, [ebp - 0x264]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407f90
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
mov ecx, 0x5f46f4
call fcn.0040c1e0
push 0xa
push str.tenoke.mid
mov ecx, 0x5f46f4
call fcn.0040c2d0
push dword [0x5f46f4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40805b
mov eax, dword [0x5f46f4]
push 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x5c5b04
mov edi, eax
push 0x89
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40805b
push eax
push edi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 2
push 2
push 0
push 7
push 0x40000000
push dword [ebp - 0x20]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
push 0x5f46f4
lea eax, [ebp - 0x10]
push str.Open
push eax
call fcn.0040b230
push str._type_mpegvideo_alias_Music1
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
call fcn.0040b350
mov byte [ebp - 4], 3
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4080a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.WINMM.dll_mciSendStringW]
push 0
push 0
push 0
push dword [ebp - 0x14]
call edi
push 0
push 0
push 0
push str.play_Music1_repeat
call edi
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4080da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, 0x320
cdq
sub eax, edx
mov ebx, eax
push 1
sar ebx, 1
call edi
sub eax, 0x1c2
push 1
cdq
push 0x1c2
sub eax, edx
push 0x320
sar eax, 1
push eax
push ebx
mov ebx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.00433e8c
push 0
push 0
push 0x31
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.00434d86
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4c]
push eax
push dword [ebx + 0x20]
movups xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
push 0x44c
push ebx
lea ecx, [eax + 0x320]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xd0]
lea edi, [edx + 0xc8]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x34]
push ecx
push 0x50000000
push 0x5c428c
lea ecx, [ebx + 0xd0]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
jne 0x4081bf
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
call fcn.00438dca
push 0x5c5b04
push 0x86
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40836d
call fcn.00438dca
push dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40836d
call fcn.00438dca
push dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x22
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40836d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
je 0x408364
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x408364
push dword [ebp - 0x24]
push ecx
push eax
call fcn.00559510
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x24]
lea ecx, [ebx + 0xd0]
push dword [ebp - 0x14]
call fcn.0040c950
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test edi, edi
je 0x40836d
cmp dword [ebx + 0x188], 0
lea edi, [ebx + 0xd0]
je 0x40836d
cmp dword [edi + 0xac], 0
je 0x4082fa
mov ecx, dword [edi + 0xf0]
mov eax, 0x92492493
sub ecx, dword [edi + 0xec]
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4082fa
lea eax, [ebp - 0x10]
push eax
push 4
push edi
push 0x40d320
push 0
push 0
call fcn.0055f994
add esp, 0x18
mov dword [edi + 0xd4], eax
test eax, eax
je 0x40836d
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x40836d
mov ecx, dword [edi + 0xdc]
test ecx, ecx
je 0x40836d
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
push ecx
call dword [eax + 0x18]
mov eax, dword [edi + 0xdc]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov edx, dword [edi + 0xdc]
neg eax
push 0
push eax
push dword [ebp - 0x20]
mov edi, dword [edx]
push ecx
push 0
push dword [ebx + 0x164]
push dword [ebx + 0x160]
push 0
push 0
push dword [ebx + 0x18c]
push edx
call dword [edi + 0x20]
test eax, eax
jne 0x40836d
push eax
push eax
push dword [ebx + 0xf0]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40836d
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x44d
push ebx
lea edi, [ecx + 0x186]
add ecx, 0xdc
lea edx, [eax + 0xc8]
mov dword [ebp - 0x30], ecx
add eax, 0xa
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x1d0]
lea ecx, [ebx + 0x1d0]
push edx
push 0x50000007
push str.OPTIONS
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
jne 0x4083f3
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], esi
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x44e
push ebx
lea edi, [ecx + 0x112]
add ecx, 0xfa
lea edx, [eax + 0x36]
mov dword [ebp - 0x30], ecx
add eax, 0x1e
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x450]
push ecx
push 0x50000000
push str.music
lea ecx, [ebx + 0x450]
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
jne 0x408476
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], esi
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
sub esp, 0x18
lea ecx, [ebx + 0x450]
call fcn.0040e8c0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x452
push ebx
lea edi, [ecx + 0x120]
add ecx, 0x100
lea edx, [eax + 0xa0]
mov dword [ebp - 0x30], ecx
add eax, 0x3c
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x3d0]
lea ecx, [ebx + 0x3d0]
push edx
push 0x50000000
push str.MUSIC
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
jne 0x40850a
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], esi
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x453
push ebx
lea edi, [ecx + 0x13b]
add ecx, 0x11d
lea edx, [eax + 0xbf]
mov dword [ebp - 0x30], ecx
add eax, 0x1f
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x548]
push ecx
push 0x50000003
push str.COPY_CRACK
lea ecx, [ebx + 0x548]
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
jne 0x408590
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], esi
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
push 0
push dword [0x5ebfd0]
push 0xf1
push dword [ebx + 0x568]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5f464c]
cmp dword [eax - 0xc], 0
jne 0x4085c1
push 0
lea ecx, [ebx + 0x548]
call fcn.00433bb0
mov eax, dword [0x5f4650]
mov ecx, 0x5c599c
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4085f6
test dx, dx
je 0x4085f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4085f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4085d0
xor eax, eax
jmp 0x4085fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40860b
push eax
lea ecx, [ebx + 0x5c8]
call fcn.00433bb0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x45b
push ebx
lea edi, [ecx + 0x186]
add ecx, 0xdc
lea edx, [eax + 0x30c]
mov dword [ebp - 0x30], ecx
add eax, 0xd2
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x250]
lea ecx, [ebx + 0x250]
push edx
push 0x50000007
push str.INSTALL_DIRECTORY
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
jne 0x408693
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], esi
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
push 0x456
push ebx
lea edx, [eax + 0x29e]
add eax, 0xf0
lea edi, [ecx + 0x10e]
mov dword [ebp - 0x34], eax
add ecx, 0xfb
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], ecx
push eax
push 0x50800080
lea ecx, [ebx + 0x6c8]
mov dword [ebp - 0x28], edi
call fcn.00436ebd
test eax, eax
jne 0x40870f
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], esi
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x451
push ebx
lea edi, [ecx + 0x110]
add ecx, 0xf8
lea edx, [eax + 0x2fd]
mov dword [ebp - 0x30], ecx
add eax, 0x2ad
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x748]
lea ecx, [ebx + 0x748]
push edx
push 0x50000000
push str.BROWSER...
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
jne 0x408797
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], esi
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jmp 0x408b1d
push 0xc
call fcn.0041aaa5
mov edi, eax
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0xd
test edi, edi
je 0x4087cd
push str._FREE_DISKSPACE
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.005581c0
mov dword [edi], eax
jmp 0x4087d2
xor edi, edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], edi
test edi, edi
je 0x408cd0
push 0x5f4648
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xe
push str.REQUIRED
push eax
call fcn.0040b230
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
push 0xc
mov byte [ebp - 4], 0x10
call fcn.0041aaa5
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x11
test edi, edi
je 0x408840
push dword [ebp - 0x24]
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
jne 0x408842
cmp dword [ebp - 0x24], eax
jne 0x408cda
jmp 0x408842
xor edi, edi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x14], edi
test edi, edi
je 0x408ce4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x5c], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.004031a0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
lea edi, [ecx + 0x135]
add ecx, 0x11d
lea edx, [eax + 0x302]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x14]
add eax, 0xf0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
test edi, edi
je 0x408898
mov edx, dword [edi]
jmp 0x40889c
xor edx, edx
xor edi, edi
mov eax, dword [ebx + 0x7c8]
lea ecx, [ebx + 0x7c8]
push 0x457
push ebx
lea ebx, [ebp - 0x34]
push ebx
push 0x50000000
push edx
call dword [eax + 0x164]
test eax, eax
sete byte [ebp - 0x39]
or ebx, 0xffffffff
test edi, edi
je 0x40890a
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x40890a
mov eax, dword [edi]
test eax, eax
je 0x4088e8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4088ff
push eax
call fcn.0041aadd
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.005572bd
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408928
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edi, dword [ebp - 0x18]
lock xadd dword [edi + 8], eax
dec eax
jne 0x40896e
mov eax, dword [edi]
test eax, eax
je 0x40894c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x408963
push eax
call fcn.0041aadd
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.005572bd
add esp, 8
cmp byte [ebp - 0x39], 0
jne 0x408af0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x45a
lea edi, [ecx + 0x14e]
add ecx, 0x136
mov dword [ebp - 0x28], edi
lea edx, [eax + 0x29e]
mov edi, dword [ebp - 0x50]
add eax, 0xf0
mov dword [ebp - 0x30], ecx
lea ecx, [edi + 0x948]
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x34]
push edi
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
push 0x50000000
call dword [eax + 0x164]
test eax, eax
je 0x408af0
push 0x3e80000
push 0
push 0x401
push dword [edi + 0x968]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x402
push dword [edi + 0x968]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
push 0x459
lea edx, [eax + 0x2fd]
add eax, 0x2c1
mov dword [ebp - 0x2c], edx
lea edi, [ecx + 0x14f]
mov edx, dword [ebp - 0x50]
add ecx, 0x13b
push edx
mov dword [ebp - 0x30], ecx
lea ecx, [edx + 0x8c8]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
push 0x50000000
push 0x5c5ad4
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
je 0x408af0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
push 0x44f
lea edx, [eax + 0x190]
add eax, 0x12c
mov dword [ebp - 0x2c], edx
lea edi, [ecx + 0x177]
mov edx, dword [ebp - 0x50]
add ecx, 0x159
push edx
mov dword [ebp - 0x30], ecx
lea ecx, [edx + 0x2d0]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push edx
push 0x50000001
push str.PATCH
mov dword [ebp - 0x28], edi
call dword [eax + 0x164]
test eax, eax
je 0x408af0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push 0x450
lea edi, [ecx + 0x177]
add ecx, 0x159
lea edx, [eax + 0x258]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x50]
add eax, 0x1f4
push edi
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], ecx
lea ecx, [edi + 0x350]
push edx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
push 0x50000000
push str.EXIT
call dword [eax + 0x164]
test eax, eax
jne 0x408b3a
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408b0b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x408b27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x408c4a
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x1f0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x270]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x568]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x5e8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x668]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x3f0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x7e8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x6e8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x8e8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x768]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x2f0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push 0x30
push dword [edi + 0x370]
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00406820
call fcn.00406a50
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x408c6f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x408c8b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402c70
push 0
call fcn.0055c613
push 0x80004005
call fcn.00402c70
push 0x80004005
call fcn.00402c70
push 0x80004005
call fcn.00402c70
push 0x8007000e
call fcn.005581a0
push 0x8007000e
call fcn.005581a0
push 0x8007000e
call fcn.005581a0
int3