Function at 0x41a030
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449798
push 0x43dc00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1d20
call fcn.0043d240
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
cmp esi, 0x87d0
jl 0x41a268
cmp esi, dword [0x461788]
jge 0x41a268
mov dword [ebp - 0x1c], 0
sub esi, 0x87d0
lea eax, [ebp - 0x120]
push eax
call fcn.00407c1c
push 0x44f234
lea ecx, [ebp - 0x120]
push ecx
call fcn.0043d21e
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x41b41b
push ebx
push 0x104
lea edx, [ebp - 0x120]
push edx
call fcn.0043d6f4
add esp, 0xc
test byte [ebx + 0xc], 0x10
jne 0x41a249
push ebx
push 0x1000
lea eax, [ebp - 0x1120]
push eax
call fcn.0043d6f4
add esp, 0xc
test byte [ebx + 0xc], 0x10
jne 0x41a249
mov al, byte [ebp - 0x1120]
test al, al
je 0x41a0b2
mov al, byte [ebp - 0x120]
test al, al
je 0x41a0b2
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x121], 0xa
jne 0x41a135
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp + ecx - 0x121], al
lea edi, [ebp - 0x1120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x1121], 0xa
jne 0x41a166
lea edi, [ebp - 0x1120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp + ecx - 0x1121], al
mov al, byte [ebp - 0x1120]
test al, al
je 0x41a0b2
mov al, byte [ebp - 0x120]
test al, al
je 0x41a0b2
mov eax, dword [ebp - 0x1c]
mov ecx, eax
inc eax
mov dword [ebp - 0x1c], eax
cmp ecx, esi
jne 0x41a0b2
push str.http:__
lea edx, [ebp - 0x120]
push edx
call fcn.0043cf55
add esp, 8
test eax, eax
jne 0x41a1fa
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41a1fa
test al, 0x10
je 0x41a1fa
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp + 8]
push edx
push 1
call fcn.00429f2c
add esp, 0xc
call fcn.0042c397
push ebx
call fcn.0043d0c0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042ada5
lea eax, [ebp - 0x120]
push eax
call fcn.0042b1d1
add esp, 4
mov al, byte [0x4631c4]
test al, al
je 0x41a223
push 0xc4653600
call fcn.0042bad7
jmp 0x41a22a
push 0
call fcn.0042b776
add esp, 4
push 0x461580
push 0x461a60
call fcn.0042b5b5
add esp, 8
call fcn.0042c397
call fcn.0042a376
push ebx
call fcn.0043d0c0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x7fff
jl 0x41a3b3
cmp esi, dword [0x461a48]
jge 0x41a3b3
xor ebx, ebx
mov byte [ebp - 0x1320], bl
cmp esi, 0x8000
jl 0x41a337
mov dword [ebp - 0x134c], 0x2c
mov dword [ebp - 0x1348], 0x30
mov dword [ebp - 0x1344], ebx
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x1340]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1320]
mov dword [ebp - 0x1328], ecx
mov dword [ebp - 0x1324], 0x200
lea edx, [ebp - 0x134c]
push edx
push ebx
push esi
mov eax, dword [0x4618b4]
push eax
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
mov eax, dword [ebp - 0x132c]
cmp eax, 1
jne 0x41a314
lea edi, [ebp - 0x1320]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, dword [str..zip]
mov dword [edi], ecx
mov dl, byte [0x450748]
mov byte [edi + 4], dl
jmp 0x41a337
cmp eax, 2
jne 0x41a337
lea edi, [ebp - 0x1320]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov eax, dword [str..wsz]
mov dword [edi], eax
mov cl, byte [0x4505e0]
mov byte [edi + 4], cl
xor eax, eax
mov cl, byte [ebp + eax - 0x1320]
mov byte [eax + 0x463780], cl
inc eax
test cl, cl
jne 0x41a339
push ebx
push 0x9d63
push 0x111
mov edx, dword [0x461320]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, 0x28
cmp dword [0x460700], esi
jne 0x41b41b
cmp dword [0x460704], ebx
je 0x41b41b
mov dword [0x460700], ebx
push 1
call fcn.00422030
mov dword [0x460700], esi
push 1
call fcn.00422030
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x9cde
jg 0x41a8b6
je case.0x41a3de.40017
lea eax, [esi - 0x9c41]
cmp eax, 0x9c
ja case.0x41a8cf.40192
xor ecx, ecx
mov cl, byte [eax + 0x41b5e4]
jmp dword [ecx*4 + 0x41b588]
mov cl, byte [0x463d00]
test cl, cl
sete dl
mov byte [0x463d00], dl
push 1
call fcn.0042ec6f
mov eax, dword [0x458564]
push eax
xor ecx, ecx
mov cl, byte [0x463d00]
push ecx
push 1
call fcn.0040ef90
add esp, 0x10
push 0
push 0x2a
push 0x113
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov al, byte [0x44e0d3]
push eax
call fcn.0042e830
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00406ab0
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x461bc8]
test eax, eax
je 0x41b571
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x41b571
sub esi, 0x9c7c
neg esi
sbb esi, esi
and esi, 0xffffd8f0
add esi, 0x1388
mov eax, dword [0x458560]
test eax, eax
je 0x41b41b
call fcn.00416170
add eax, esi
jns 0x41b039
xor eax, eax
jmp 0x41b039
mov dword [ebp - 0x1354], 6
mov dword [ebp - 0x1350], 0xd
mov al, byte [0x463406]
test al, al
je 0x41a4ea
mov dword [ebp - 0x1354], 0xc
mov dword [ebp - 0x1350], 0x1a
lea ecx, [ebp - 0x1354]
push ecx
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp dword [ebp - 0x1354], 0xbb8
jg 0x41a513
cmp dword [ebp - 0x1350], 0xbb8
jle 0x41a520
lea edx, [ebp - 0x1354]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push esi
push 0
mov eax, dword [ebp - 0x1350]
push eax
mov ecx, dword [ebp - 0x1354]
push ecx
push 2
mov edx, dword [0x4618b4]
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov edx, dword [ebp + 8]
push edx
call fcn.0041b7a0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov edx, dword [ebp + 8]
push edx
call fcn.0041b8a0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov edx, dword [ebp + 8]
push edx
call fcn.0041b990
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov edx, dword [ebp + 8]
push edx
call fcn.0041b9c0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov ecx, dword [ebp + 8]
push ecx
push 1
call fcn.00429f2c
add esp, 0xc
call fcn.0042c397
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00422030
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [0x463405]
test dl, dl
sete dl
mov byte [0x463405], dl
push 0
call fcn.0042ec6f
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [0x4631c4]
test bl, bl
sete al
mov byte [0x4631c4], al
neg al
sbb eax, eax
and eax, 8
push eax
push 0x9c57
mov eax, dword [0x4618b4]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
xor ecx, ecx
mov cl, byte [0x4631c4]
push ecx
call fcn.0040c1c0
add esp, 8
mov al, byte [0x4631c4]
test al, al
je 0x41b41b
call fcn.0042b90c
mov al, byte [0x4631c4]
test al, al
je 0x41b41b
mov eax, dword [0x458560]
test eax, eax
jne 0x41b41b
push 0xc4653600
call fcn.0042bad7
push 0x461580
push 0x461a60
call fcn.0042b5b5
add esp, 0xc
mov eax, dword [0x458560]
test eax, eax
je 0x41ad08
call fcn.00416180
jmp 0x41ad0d
mov bl, byte [0x463e29]
test bl, bl
sete al
mov byte [0x463e29], al
neg al
sbb eax, eax
and eax, 8
push eax
push 0x9c56
mov edx, dword [0x4618b4]
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
xor eax, eax
mov al, byte [0x463e29]
push eax
call fcn.0040c240
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push ecx
call fcn.00412061
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
call fcn.0042c3cf
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x463e28], 0
push 8
push 0x9c65
mov eax, dword [0x4618b4]
push eax
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
call esi
push 0
push 0x9c66
mov ecx, dword [0x4618b4]
push ecx
call esi
push 0
push 0x2a
push 0x113
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [0x463e28], 1
push 0
push 0x9c65
mov eax, dword [0x4618b4]
push eax
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
call esi
push 8
jmp 0x41a7e1
mov al, byte [0x44e0d0]
cmp al, 0xfb
ja 0x41a845
add al, 4
jmp 0x41a847
or al, 0xff
mov byte [0x44e0d0], al
xor ecx, ecx
mov cl, al
push ecx
call fcn.004161e0
push 0
xor edx, edx
mov dl, byte [0x44e0d0]
push edx
call fcn.0040c2c0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [0x44e0d0]
cmp al, 3
jbe 0x41a88c
add al, 0xfc
jmp 0x41a847
xor al, al
jmp 0x41a847
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push esi
mov edx, dword [ebp + 8]
push edx
call fcn.0041baf0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x9ce5]
cmp eax, 0xa1
ja case.0x41a8cf.40192
xor ecx, ecx
mov cl, byte [eax + 0x41b6f4]
jmp dword [ecx*4 + 0x41b684]
mov al, byte [esi + 0x44e7cd]
test al, al
je 0x41b41b
push 0
call fcn.0042a543
movsx edx, byte [esi + 0x44e7cd]
push edx
push str.cda:___c
lea eax, [ebp - 0x1374]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
call fcn.0042ada5
lea ecx, [ebp - 0x1374]
push ecx
call fcn.0042b1d1
push 0
call fcn.0042b776
add esp, 0x18
mov al, byte [0x4631c4]
test al, al
je 0x41a936
push 0xc4653600
call fcn.0042bad7
add esp, 4
push 0x461580
push 0x461a60
call fcn.0042b5b5
add esp, 8
call fcn.0042a376
call fcn.0042c397
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x460700], 0x32
push 1
call fcn.00422030
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1784]
push edx
lea eax, [ebp - 0x1888]
push eax
push 0
call fcn.0042b782
add esp, 4
push eax
call fcn.0042ac8c
lea ecx, [ebp - 0x1784]
push ecx
lea edx, [ebp - 0x1888]
push edx
call fcn.00407c70
add esp, 0x14
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ax, word [0x44f03c]
mov word [ebp - 0x198c], ax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x198a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x19d0], 0x44
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x19cc]
rep stosd dword es:[edi], eax
push 0x103
lea ecx, [ebp - 0x198b]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [ebp - 0x198c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov edx, dword [str.___NEW]
mov dword [edi], edx
mov ax, word [0x450734]
mov word [edi + 4], ax
mov cl, byte [0x450736]
mov byte [edi + 6], cl
push 1
call fcn.00407d68
add esp, 4
lea edx, [ebp - 0x19e0]
push edx
lea eax, [ebp - 0x19d0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x198c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x460700], 0x16
push 1
call fcn.00422030
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x4605f4], 1
xor ebx, ebx
push ebx
push ebx
push 0x7e
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4605f4], ebx
mov eax, dword [0x44e0f4]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
cmp eax, ebx
je 0x41aafb
push ebx
push ebx
mov eax, dword [0x4618a4]
push eax
call esi
cmp dword [0x44e108], ebx
je 0x41abe0
mov dword [ebp - 0x19f0], ebx
mov dword [ebp - 0x19ec], ebx
mov edi, 0xb
mov dword [ebp - 0x19e8], edi
mov ecx, dword [0x44e110]
mov dword [ebp - 0x19e4], ecx
push ebx
lea edx, [ebp - 0x19f0]
push edx
mov eax, dword [0x461794]
push eax
call esi
mov dword [ebp - 0x19f0], edi
mov dword [ebp - 0x19ec], ebx
mov ecx, dword [0x44e10c]
mov dword [ebp - 0x19e8], ecx
mov dword [ebp - 0x19e4], 0x14
push ebx
lea edx, [ebp - 0x19f0]
push edx
mov eax, dword [0x461794]
push eax
call esi
mov eax, dword [0x44e10c]
lea ecx, [eax - 8]
mov dword [ebp - 0x19f0], ecx
mov dword [ebp - 0x19ec], 0x14
mov dword [ebp - 0x19e8], eax
mov edx, dword [0x44e110]
mov dword [ebp - 0x19e4], edx
push ebx
lea eax, [ebp - 0x19f0]
push eax
mov ecx, dword [0x461794]
push ecx
call esi
mov dword [ebp - 0x19f0], edi
mov eax, dword [0x44e110]
lea edx, [eax - 0x26]
mov dword [ebp - 0x19ec], edx
mov ecx, dword [0x44e10c]
add ecx, 0xfffffff8
mov dword [ebp - 0x19e8], ecx
mov dword [ebp - 0x19e4], eax
push ebx
lea edx, [ebp - 0x19f0]
push edx
mov eax, dword [0x461794]
push eax
call esi
cmp dword [0x44e0e4], ebx
je 0x41b41b
push ebx
push ebx
mov ecx, dword [0x461a44]
push ecx
call esi
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x460700], 0x28
push 1
call fcn.00422030
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00433cc0
test eax, eax
je 0x41ac5b
call fcn.00433e50
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov edx, dword [0x461320]
push edx
call fcn.00433ce0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x460700], 0x21
push 1
call fcn.00422030
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [0x44e0d2]
xor al, 1
mov byte [0x44e0d2], al
cmp al, 1
jne 0x41ace5
push 0
push 0xc8
push 0x27
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
jne 0x41b41b
push 0x27
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x45f13c], 0
jmp 0x41a716
call fcn.0042a8f2
push eax
push 0x45f13c
push 0x461580
call fcn.0040c4d0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [0x461a60]
test al, al
je 0x41b41b
push 0x461a60
mov edx, dword [0x461320]
push edx
call fcn.00416360
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44e0fc]
cmp eax, 0xe
jne 0x41adb5
mov eax, dword [0x463e24]
cmp eax, 0x74
jge 0x41ad86
mov eax, 0x74
mov dword [0x44e0fc], eax
mov dword [0x463e24], 0
push 1
call fcn.0042ec6f
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x463e24], eax
mov dword [0x44e0fc], 0xe
push 1
call fcn.0042ec6f
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [0x463404]
test bl, bl
sete al
mov byte [0x463404], al
push 1
call fcn.0042ec6f
add esp, 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x461a44]
jne 0x41ae30
mov eax, 1
push eax
call fcn.0040f070
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov cl, byte [0x44e0c2]
test cl, cl
sete al
push eax
call fcn.0040f070
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov edx, dword [0x44e0e8]
test edx, edx
sete al
mov dword [0x44e0e8], eax
test eax, eax
je 0x41aed4
mov ecx, dword [0x44e0f4]
test ecx, ecx
je 0x41aef5
mov edx, dword [0x44e0f8]
cmp edx, 0x15e
jl 0x41aef5
mov ecx, dword [0x44e0fc]
cmp ecx, 0xe
je 0x41aef5
lea eax, [edx - 0xe1]
mov dword [ebp - 0x1a00], eax
add ecx, 0xffffffe6
mov dword [ebp - 0x19fc], ecx
add eax, 0x4d
mov dword [ebp - 0x19f8], eax
add ecx, 0x10
mov dword [ebp - 0x19f4], ecx
push 0
lea ecx, [ebp - 0x1a00]
push ecx
mov edx, dword [0x4618a4]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x41aef0
push 0x15
push 0
push 0
push 0xbb8
push 0xbb8
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x44e0e8]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9d42
mov ecx, dword [0x4618b4]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
call fcn.0042ec6f
add esp, 4
mov eax, dword [0x44e0e4]
test eax, eax
je 0x41af45
mov edx, dword [0x461a44]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44e0f4]
test eax, eax
je 0x41af70
mov eax, dword [0x4618a4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x44e108]
test eax, eax
je 0x41b41b
mov ecx, dword [0x461794]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x461320]
push edx
call fcn.00416dcb
add esp, 4
mov esi, eax
test esi, esi
jl 0x41b41b
push 0
call fcn.0042b782
add esp, 4
cmp esi, eax
je 0x41b41b
push esi
call fcn.0042b776
push 0x461580
push 0x461a60
call fcn.0042b5b5
add esp, 0xc
call fcn.0042a376
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x458560]
test eax, eax
je 0x41b41b
mov eax, dword [0x461bc8]
test eax, eax
je 0x41b41b
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x41b41b
mov eax, dword [0x461320]
push eax
call fcn.00416d80
add esp, 4
test eax, eax
jl 0x41b41b
push eax
call fcn.004162a0
add esp, 4
push 0
test eax, eax
jge 0x41b06f
push 0
push 0x402
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00416170
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
call fcn.00432959
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 1
mov al, byte [0x4631c4]
test al, al
jne 0x41b0df
push 0xffffffffffffffff
call fcn.0042b782
add esp, 4
test eax, eax
jge 0x41b0df
xor esi, esi
mov al, byte [0x463e29]
test al, al
je 0x41b0df
mov esi, 1
push 0x3b9aca00
call fcn.0042b782
add esp, 4
test esi, esi
je case.0x41a8cf.40192
call fcn.0042acf0
test eax, eax
je case.0x41a8cf.40192
mov al, byte [0x4631c4]
test al, al
je 0x41b107
push 0xffffffffffffffff
call fcn.0042bad7
add esp, 4
test eax, eax
jne 0x41b41b
push 0x461580
push 0x461a60
call fcn.0042b5b5
add esp, 8
mov eax, dword [0x458560]
push 0
test eax, eax
je 0x41b144
call fcn.0042a543
add esp, 4
call fcn.0042a376
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042a543
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push ecx
push 1
call fcn.0042a0d9
add esp, 8
call fcn.0042c397
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x461320]
mov dword [ebp - 0x1a20], edx
xor edi, edi
mov dword [ebp - 0x1a1c], edi
lea eax, [ebp - 0x1b24]
mov dword [ebp - 0x1a18], eax
mov dword [ebp - 0x1a14], 0x4564f8
mov dword [ebp - 0x1a10], 1
mov dword [ebp - 0x1a0c], 0x419f80
mov dword [ebp - 0x1a08], edi
lea ecx, [ebp - 0x1a20]
push ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
cmp esi, edi
je 0x41b41b
lea edx, [ebp - 0x1c28]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push esi
call fcn.0042fb88
add esp, 4
lea eax, [ebp - 0x1c28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.0042ada5
mov cl, byte [0x4631c7]
not cl
shr ecx, 1
and ecx, 1
push ecx
lea edx, [ebp - 0x1c28]
push edx
call fcn.0042c023
add esp, 8
test byte [0x4631c7], 1
je 0x41b23d
push edi
push 2
call fcn.0042bcc4
add esp, 8
push edi
call fcn.0042b776
add esp, 4
mov al, byte [0x4631c4]
test al, al
je 0x41b25c
push 0xc4653600
call fcn.0042bad7
add esp, 4
push 0x461580
push 0x461a60
call fcn.0042b5b5
add esp, 8
call fcn.0042c397
call fcn.0042a376
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [0x463406]
test dl, dl
sete al
mov byte [0x463406], al
push 1
call fcn.0042ec6f
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [0x44e0d1]
test bl, bl
sete al
mov byte [0x44e0d1], al
neg al
sbb eax, eax
and eax, 8
push eax
push 0x9cfa
mov ecx, dword [0x4618b4]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
call fcn.0041ebc0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [0x463e28]
test dl, dl
sete al
mov byte [0x463e28], al
neg al
sbb eax, eax
and al, 0xf8
add eax, 8
push eax
push 0x9c65
mov eax, dword [0x4618b4]
push eax
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
call esi
mov cl, byte [0x463e28]
neg cl
sbb ecx, ecx
and ecx, 8
push ecx
push 0x9c66
mov edx, dword [0x4618b4]
push edx
call esi
push 0
push 0x2a
push 0x113
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x458560]
mov dword [ebp - 0x1c2c], eax
test eax, eax
je 0x41b3ab
push 0
call fcn.0042a543
add esp, 4
mov ebx, 0xa
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x9c6c
push 0x111
push esi
call edi
dec ebx
jne 0x41b3b9
mov eax, dword [ebp - 0x1c2c]
jmp 0x41b412
mov eax, dword [0x458560]
mov dword [ebp - 0x1c30], eax
test eax, eax
je 0x41b3ec
push 0
call fcn.0042a543
add esp, 4
mov ebx, 0xa
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x9c70
push 0x111
push esi
call edi
dec ebx
jne 0x41b3fa
mov eax, dword [ebp - 0x1c30]
test eax, eax
je 0x41b41b
call fcn.0042a376
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.http:__www.winamp.com_skins_
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043334b
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x463420
push 0x462fa0
push str._s_s
lea edx, [ebp - 0x1d34]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x1d34]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x1d38], esi
test esi, esi
je 0x41b571
push str.winampVisGetHeader
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
xor ecx, ecx
mov cl, byte [0x463e2a]
push ecx
call dword [eax + 8]
add esp, 4
test eax, eax
je 0x41b54a
mov dword [eax + 8], esi
mov edx, dword [0x461320]
mov dword [eax + 4], edx
mov dword [ebp - 4], 0
push eax
call dword [eax + 0x924]
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push str.Error
push 0
push 0
push 0xb
call fcn.00433097
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret