Function at 0x404f2d
Capabilities:
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3b0
push esi
mov dword [ebp - 0x390], 0x2d5e48d3
mov dword [ebp - 0x38c], 0x2d5e48d3
mov dword [ebp - 0x388], 0x2d5e48d3
mov dword [ebp - 0x384], 0x2d5e48d3
mov dword [ebp - 0x270], 0xf665683c
mov dword [ebp - 0x26c], 0xf665683c
mov dword [ebp - 0x268], 0xf665683c
mov dword [ebp - 0x264], 0xf665683c
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x270], 0
jmp 0x404fb2
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x270]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x270], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x270], 3
jg 0x404ff2
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x404fda
push 0x11eb
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x404ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x404f99
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x405008
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x406348
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x190], 8
mov dword [ebp - 0xc], 0xfffffffb
jmp 0x405035
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffe7
jne 0x40520a
mov dword [ebp - 0x60], 0xfffffff8
mov dword [ebp - 0xa4], 0
jmp 0x40505f
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 1
jge 0x40507b
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0xa8], 0xfffffffd
jmp 0x405052
cmp dword [ebp - 0xc], 0
je 0x405156
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
add eax, dword [ebp - 0xc]
cmp eax, 0x5954e3f1
jge 0x4050aa
mov dword [ebp - 0x1e8], 1
jmp 0x4050b1
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0x1c09
jne 0x4050c9
mov dword [ebp - 0x1cc], 1
jmp 0x4050d0
and dword [ebp - 0x1cc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
neg eax
imul ecx, dword [ebp - 0x1cc], 0x21dd
add eax, ecx
cmp dword [ebp - 0xc], eax
jge 0x4050fc
mov dword [ebp - 0xfc], 1
jmp 0x405103
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xfc], eax
jge 0x40511a
mov dword [ebp - 0x1d4], 1
jmp 0x405121
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x1d4], eax
jge 0x405138
mov dword [ebp - 0x104], 1
jmp 0x40513f
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x104], eax
jge 0x405156
mov dword [ebp - 0x1dc], 1
jmp 0x40515d
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 1
jle 0x405172
mov dword [ebp - 0x258], 1
jmp 0x405179
and dword [ebp - 0x258], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa8]
mov dword [ebp - 0x34c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa8], 0
je 0x4051ec
mov dword [ebp - 0x2ac], 0
cmp dword [ebp - 0x2ac], 0
je 0x4051b9
cmp dword [ebp - 0xc], 0
je 0x4051b7
jmp 0x40520a
jmp 0x4051ea
mov dword [ebp - 0x60], 0
jmp 0x4051c9
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x4051ea
mov byte [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x4051e8
push 0
push 0x2c6
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
jmp 0x4051c2
jmp 0x405205
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x405205
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x40502e
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x38], 0xf43b7c7c
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x30], 0xed1d25bb
mov dword [ebp - 0x21c], 0xfffffffd
mov dword [ebp - 0x4c], 0xf3b0639e
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x1c], 6
push 2
lea ecx, [ebp - 0x2bc]
call fcn.004013fc
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x98], 0
jmp 0x405285
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
jge 0x4052a7
push dword [ebp - 0x98]
lea ecx, [ebp - 0x2bc]
call fcn.004014ea
mov dword [eax], 0x1f88
jmp 0x405278
mov dword [ebp - 0x38], 0xfffffff7
jmp 0x4052b7
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff5
je 0x4054fa
mov dword [ebp - 0x5c], 0xd6b65720
mov dword [ebp - 0x78], 0x3b1dab55
mov dword [ebp - 0xb4], 0xffff
cmp dword [ebp - 0x5c], 0
jne 0x40537a
cmp dword [ebp - 0x38], 0
jne 0x40535e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x38]
cmp eax, 0xfffffffe
jl 0x405300
mov dword [ebp - 0x10c], 1
jmp 0x405307
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x10c], eax
jg 0x40531e
mov dword [ebp - 0x1e4], 1
jmp 0x405325
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x1e4]
jne 0x405344
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x30], eax
jne 0x40535e
and dword [ebp - 0x114], 0
jmp 0x405368
mov dword [ebp - 0x114], 1
cmp dword [ebp - 0x114], 0
ja 0x40537a
and dword [ebp - 0x1ec], 0
jmp 0x405384
mov dword [ebp - 0x1ec], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1ec], eax
jle 0x40539b
mov dword [ebp - 0x11c], 1
jmp 0x4053a2
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x11c], eax
jle 0x4053b9
mov dword [ebp - 0x1f4], 1
jmp 0x4053c0
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x1f4], eax
jne 0x4053e0
mov eax, 0x18eb
test eax, eax
je 0x4053e0
mov dword [ebp - 0x124], 1
jmp 0x4053e7
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
sub eax, dword [ebp - 0x50]
jne 0x405401
cmp dword [ebp - 0x78], 0
jne 0x405401
and dword [ebp - 0x1fc], 0
jmp 0x40540b
mov dword [ebp - 0x1fc], 1
cmp dword [ebp - 0x1fc], 0x40b319b
jge 0x405423
mov dword [ebp - 0x12c], 1
jmp 0x40542a
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0x8ba79672
jb 0x405442
mov dword [ebp - 0x204], 1
jmp 0x405449
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x5c]
inc eax
inc eax
sub eax, dword [ebp - 0x18]
cmp eax, 1
jge 0x405480
cmp dword [ebp - 0x18], 0
jne 0x405480
and dword [ebp - 0x134], 0
jmp 0x40548a
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x134], eax
jl 0x4054a1
mov dword [ebp - 0x20c], 1
jmp 0x4054a8
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x20c], 0xb6f2
jne 0x4054c4
push 6
pop eax
test eax, eax
jne 0x4054c4
and dword [ebp - 0x13c], 0
jmp 0x4054ce
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x13c], eax
jne 0x4054e5
mov dword [ebp - 0x214], 1
jmp 0x4054ec
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x18], eax
jmp 0x4052b0
cmp dword [ebp - 0x4c], 0
je 0x4056e8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x48], eax
je 0x40551b
cmp dword [ebp - 0x48], 0
je 0x40552d
cmp dword [ebp - 0x30], 0
je 0x40552d
mov dword [ebp - 0x144], 1
jmp 0x405534
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
sub eax, 8
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x40555c
cmp dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x48], eax
jge 0x405570
mov dword [ebp - 0x14c], 1
jmp 0x405577
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
add eax, 0x68191e7b
cmp eax, dword [ebp - 0x1c]
jge 0x405599
cmp dword [ebp - 0x48], 0
je 0x405599
mov dword [ebp - 0x2a4], 1
jmp 0x4055a0
and dword [ebp - 0x2a4], 0
push 0
lea ecx, [ebp - 0x2bc]
call fcn.004014ea
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x1c], 1
jne 0x4055c8
mov dword [ebp - 0x224], 1
jmp 0x4055cf
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
sub eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x1c]
cmp eax, 0xce086565
ja 0x4055ef
mov dword [ebp - 0x154], 1
jmp 0x4055f6
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0xc26b
jne 0x40560e
mov dword [ebp - 0x22c], 1
jmp 0x405615
and dword [ebp - 0x22c], 0
push 1
lea ecx, [ebp - 0x2bc]
call fcn.004014ea
mov ecx, dword [ebp - 0x22c]
sub ecx, dword [eax]
jne 0x405638
mov dword [ebp - 0x15c], 1
jmp 0x40563f
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x15c], eax
jge 0x405656
mov dword [ebp - 0x234], 1
jmp 0x40565d
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x30], eax
jl 0x40567a
mov dword [ebp - 0x164], 1
jmp 0x405681
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x27c]
jle 0x40569e
mov dword [ebp - 0x23c], 1
jmp 0x4056a5
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4056c6
mov eax, 0x6f59
test eax, eax
jne 0x4056c6
and dword [ebp - 0x16c], 0
jmp 0x4056d0
mov dword [ebp - 0x16c], 1
cmp dword [ebp - 0x16c], 0xfe45
jg 0x4056e8
mov dword [ebp - 0x244], 1
jmp 0x4056ef
and dword [ebp - 0x244], 0
mov dword [ebp - 0x18], 0x242e
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x244]
jle 0x405730
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x40572b
push 0x21cd
push 0xcf1
push 0
push 0
push 0x1897
push 0x208d
call dword [sym.imp.USER32.dll_ToUnicode]
jmp 0x4059db
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0xcc], 0xfffffff6
mov dword [ebp - 0x80], 0x3aa5b3e5
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x90], 0
jmp 0x40576e
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 3
jge 0x40578a
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x330], 5
jmp 0x405761
cmp dword [ebp - 0x4c], 0
je 0x4057b5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0xa0], 1
jbe 0x4057ae
mov dword [ebp - 0x174], 1
jmp 0x4057b5
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xa0], eax
je 0x4057cf
mov dword [ebp - 0x24c], 1
jmp 0x4057d6
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x24c], eax
jge 0x4057ed
mov dword [ebp - 0x254], 1
jmp 0x4057f4
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x405812
cmp dword [ebp - 0x1c], 0
jne 0x405812
and dword [ebp - 0x180], 0
jmp 0x40581c
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x180]
cmp eax, 0xfff9
ja 0x405838
mov dword [ebp - 0x220], 1
jmp 0x40583f
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x188], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x188]
mov dword [ebp + eax - 0x330], ecx
mov eax, dword [ebp - 0x188]
add eax, 0x846
cmp eax, dword [ebp - 0x80]
jle 0x405886
mov dword [ebp - 0x1f0], 1
jmp 0x40588d
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x1f0], eax
jl 0x4058a4
mov dword [ebp - 0xf0], 1
jmp 0x4058ab
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xc7f14991
jbe 0x4058c3
mov dword [ebp - 0x248], 1
jmp 0x4058ca
and dword [ebp - 0x248], 0
cmp dword [ebp - 0x248], 0xa875637
jl 0x4058e2
mov dword [ebp - 0x198], 1
jmp 0x4058e9
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x405914
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x330], 0
je 0x405914
mov dword [ebp - 0x2a0], 1
jmp 0x40591b
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x354], eax
or eax, 0xffffffff
je 0x40595f
mov dword [ebp - 0x1f8], 2
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x405950
push 0
push 0
push 0x1d13
push 0
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov eax, dword [ebp - 0x1f8]
inc eax
mov dword [ebp - 0x1f8], eax
jmp 0x4059db
mov dword [ebp - 0x360], 1
mov dword [ebp - 0x278], 0xfffffff9
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x368], eax
push 2
pop eax
test eax, eax
je 0x40599b
cmp dword [ebp - 0xcc], 0
je 0x40599b
mov dword [ebp - 0x1a0], 1
jmp 0x4059a2
and dword [ebp - 0x1a0], 0
push 0
lea ecx, [ebp - 0x2bc]
call fcn.004014ea
mov eax, dword [eax]
imul eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x278], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x330], 0xfffffffd
lea ecx, [ebp - 0x2bc]
call fcn.004014ce
mov dword [ebp - 0x300], 1
mov dword [ebp - 0x2fc], 1
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x2f4], 1
lea ecx, [ebp - 0xcd]
call fcn.004014f9
push eax
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x3a4]
call fcn.004014fc
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2ec]
call fcn.004014a8
mov dword [ebp - 0x88], 0
jmp 0x405a5c
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x405a78
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0xec], 0xffffffff
jmp 0x405a4f
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xec], 3
jmp 0x405aa6
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xec]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xec], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xec], 0
jl 0x405b02
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0xec]
lea ecx, [ebp - 0x2ec]
call fcn.004014ea
mov esi, eax
push 4
pop eax
shl eax, 0
push dword [ebp + eax - 0xec]
lea ecx, [ebp - 0x2ec]
call fcn.004014ea
mov ecx, dword [esi]
mov dword [eax], ecx
push 2
lea ecx, [ebp - 0x2ec]
call fcn.004014ea
cmp dword [eax], 0
je 0x405b00
jmp 0x405a8b
jmp 0x405a8b
lea ecx, [ebp - 0x2ec]
call fcn.004014ce
mov eax, dword [ebp - 0x2c0]
movzx eax, byte [eax]
test eax, eax
je 0x406189
mov dword [ebp - 0x1c8], 0xfc07e17f
mov dword [ebp - 0xac], 7
mov dword [ebp - 0x39c], 0xfffffff7
mov dword [ebp - 0xe0], 0x2d2c87a7
mov dword [ebp - 0xbc], 0xfffffff7
mov dword [ebp - 0x290], 0xf13e13a6
mov dword [ebp - 0xc4], 0x8fb0b44
mov dword [ebp - 0xb0], 0x58e92eda
mov dword [ebp - 0x380], 0x6501874d
push 3
lea ecx, [ebp - 0x324]
call fcn.004013fc
mov dword [ebp - 0x288], 5
mov dword [ebp - 0x2e0], 0x82e77e81
mov dword [ebp - 0xd8], 0xfffc
mov dword [ebp - 0x2a8], 0xfffffff7
mov dword [ebp - 0x70], 0
jmp 0x405bbd
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x405bd6
push dword [ebp - 0x70]
lea ecx, [ebp - 0x324]
call fcn.004014ea
or dword [eax], 0xffffffff
jmp 0x405bb6
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0xbc], eax
jge 0x405bf0
mov dword [ebp - 0x1a8], 1
jmp 0x405bf7
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0xe0]
imul eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0xb0]
jl 0x405c18
mov dword [ebp - 0x280], 1
jmp 0x405c1f
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0xc4]
sub eax, 0xe005
sub eax, dword [ebp - 0x2a8]
cmp eax, dword [ebp - 0xe0]
jl 0x405c44
mov dword [ebp - 0x200], 1
jmp 0x405c4b
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0xcd21
je 0x405c6f
mov dword [ebp - 0x1b0], 1
jmp 0x405c76
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x1b0], eax
je 0x405c90
mov dword [ebp - 0x240], 1
jmp 0x405c97
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x240], eax
jl 0x405cb1
mov dword [ebp - 0x1b8], 1
jmp 0x405cb8
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x1b8], eax
jl 0x405cd2
mov dword [ebp - 0x208], 1
jmp 0x405cd9
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x208], eax
jl 0x405cfc
cmp dword [ebp - 0xc4], 0
je 0x405cfc
mov dword [ebp - 0x230], 1
jmp 0x405d03
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0xd8]
dec eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
add eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xac]
sub ecx, eax
neg ecx
mov dword [ebp - 0x1c0], ecx
push 1
lea ecx, [ebp - 0x324]
call fcn.004014ea
mov ecx, dword [ebp - 0x1c0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c8]
imul eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x230]
inc ecx
cmp eax, ecx
jne 0x405d6e
mov eax, 0xd9236f91
test eax, eax
je 0x405d6e
mov dword [ebp - 0x210], 1
jmp 0x405d75
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x2e0]
add ecx, dword [ebp - 0x210]
add eax, ecx
imul eax, dword [ebp - 0x290]
test eax, eax
je 0x405da9
mov eax, 0x32a5b4d6
test eax, eax
je 0x405da9
mov dword [ebp - 0x1d0], 1
jmp 0x405db0
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x324]
call fcn.004014ce
mov dword [ebp - 8], 0x83c7730f
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x74], 0
jmp 0x405de5
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x405df8
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x40], 4
jmp 0x405dde
mov dword [ebp - 8], 0
jmp 0x405e08
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x405e24
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x405e22
push 0
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
jmp 0x405e01
mov dword [ebp - 8], 0
jmp 0x405e34
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40617c
mov dword [ebp - 4], 0xfffffff8
mov dword [ebp - 4], 0
jmp 0x405e55
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x406177
mov dword [ebp - 0x24], 0xb5131d8b
mov dword [ebp - 0x54], 0xffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x40], ecx
jl 0x405e85
mov dword [ebp - 0x250], 1
jmp 0x405e8c
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x250]
neg eax
mov dword [ebp - 0x24], eax
je 0x40610f
push 1
lea ecx, [ebp - 0x30c]
call fcn.004013fc
mov dword [ebp - 0x17c], 0x8036
mov dword [ebp - 0x1a4], 0xf61949f
mov dword [ebp - 0x7c], 0
jmp 0x405ece
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x405ee7
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x30c]
call fcn.004014ea
or dword [eax], 0xffffffff
jmp 0x405ec7
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x405ef9
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
cmp dword [ebp - 4], 0
jne 0x405f57
mov eax, dword [ebp - 4]
mov dword [ebp - 0x394], eax
cmp dword [ebp - 8], 0xfff8
jb 0x405f1d
mov dword [ebp - 0x1d8], 1
jmp 0x405f24
and dword [ebp - 0x1d8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
mov ecx, dword [ebp - 0x1d8]
lea eax, [ecx + eax + 2]
test eax, eax
jne 0x405f57
push 0
lea ecx, [ebp - 0x30c]
call fcn.004014ea
cmp dword [eax], 0
jne 0x405f57
and dword [ebp - 0x218], 0
jmp 0x405f61
mov dword [ebp - 0x218], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x218]
je 0x405f78
mov dword [ebp - 0x1e0], 1
jmp 0x405f7f
and dword [ebp - 0x1e0], 0
imul eax, dword [ebp - 0x1e0], 0x511b
cmp eax, dword [ebp - 0x17c]
jne 0x405f9d
mov dword [ebp - 0x238], 1
jmp 0x405fa4
and dword [ebp - 0x238], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x238], eax
jne 0x405fc2
mov dword [ebp - 0x178], 1
jmp 0x405fc9
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
cmp dword [ebp - 0x24], eax
jge 0x405fea
mov dword [ebp - 0x2b0], 1
jmp 0x405ff1
and dword [ebp - 0x2b0], 0
or eax, 0xffffffff
cmp eax, 4
ja 0x406005
mov dword [ebp - 0x184], 1
jmp 0x40600c
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0x184], eax
jne 0x406026
mov dword [ebp - 0x18c], 1
jmp 0x40602d
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18c]
jg 0x406044
mov dword [ebp - 0x194], 1
jmp 0x40604b
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x194], eax
jl 0x406062
mov dword [ebp - 0x19c], 1
jmp 0x406069
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
cmp dword [ebp - 0x1a4], eax
jg 0x406096
mov eax, 0xdda31432
test eax, eax
jne 0x406096
and dword [ebp - 0x298], 0
jmp 0x4060a0
mov dword [ebp - 0x298], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x40], ecx
jg 0x4060ca
mov dword [ebp - 0x1ac], 1
jmp 0x4060d1
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
cmp dword [ebp - 0x54], eax
je 0x4060f2
mov dword [ebp - 0x1b4], 1
jmp 0x4060f9
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x30c]
call fcn.004014ce
jmp 0x406172
mov dword [ebp - 0x64], 0
jmp 0x40611f
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x406172
mov dword [ebp - 0x54], 0
jmp 0x406135
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x406170
mov dword [ebp - 0x24], 0
jmp 0x40614b
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x40616e
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x40616c
push 0
push 0x2174
push 0
call dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
jmp 0x406144
jmp 0x40612e
jmp 0x406118
jmp 0x405e4e
jmp 0x405e2d
push 0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
jmp 0x406343
push 2
lea ecx, [ebp - 0x2cc]
call fcn.004013fc
mov dword [ebp - 0x84], 0
jmp 0x4061af
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x4061ce
push dword [ebp - 0x84]
lea ecx, [ebp - 0x2cc]
call fcn.004014ea
and dword [eax], 0
jmp 0x4061a2
push 1
lea ecx, [ebp - 0x2cc]
call fcn.004014ea
and dword [eax], 0
jmp 0x406204
push 1
lea ecx, [ebp - 0x2cc]
call fcn.004014ea
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x2cc]
call fcn.004014ea
cmp dword [eax], 1
jne 0x40622d
mov dword [ebp - 0x2d0], 0x95364446
cmp dword [ebp - 0x2d0], 0
je 0x40622b
jmp 0x40622d
jmp 0x4061e0
lea ecx, [ebp - 0x2cc]
call fcn.004014ce
mov dword [ebp - 0x10], 0xbe1d925b
mov dword [ebp - 0x8c], 0
jmp 0x406258
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jge 0x406274
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x35c], 0x261f9c28
jmp 0x40624b
mov dword [ebp - 0x10], 1
jmp 0x406284
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4062ec
mov dword [ebp - 0x94], 9
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x35c], 0
je 0x4062a3
jmp 0x4062ec
mov dword [ebp - 0x94], 1
jmp 0x4062bc
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jl 0x4062ea
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x4062e8
push 0xa38
push 0xf1b
push 0x1998
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x4062af
jmp 0x40627d
mov dword [ebp - 0x10], 0xfffffff4
jmp 0x4062fc
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe2
je 0x40631b
mov dword [ebp - 0x1c4], 0xfffc
mov eax, dword [ebp - 0x1c4]
inc eax
mov dword [ebp - 0x1c4], eax
jmp 0x4062f5
push 0xb99
push 0xe5e
push 0x1b4f
push 0xf2e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x406839
mov dword [ebp - 0x130], 0xfc07e17f
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0x348], 0xfffffff7
mov dword [ebp - 0xc0], 0x2d2c87a7
mov dword [ebp - 0xb8], 0xfffffff7
mov dword [ebp - 0x28c], 0xf13e13a6
mov dword [ebp - 0xc8], 0x8fb0b44
mov dword [ebp - 0xe4], 0x58e92eda
mov dword [ebp - 0x398], 0x6501874d
push 3
lea ecx, [ebp - 0x318]
call fcn.004013fc
mov dword [ebp - 0x25c], 5
mov dword [ebp - 0x284], 0x82e77e81
mov dword [ebp - 0xd4], 0xfffc
mov dword [ebp - 0x274], 0xfffffff7
mov dword [ebp - 0x68], 0
jmp 0x4063e7
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x406400
push dword [ebp - 0x68]
lea ecx, [ebp - 0x318]
call fcn.004014ea
or dword [eax], 0xffffffff
jmp 0x4063e0
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0xb8], eax
jge 0x40641a
mov dword [ebp - 0xf4], 1
jmp 0x406421
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xc0]
imul eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0xe4]
jl 0x406442
mov dword [ebp - 0x260], 1
jmp 0x406449
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0xc8]
sub eax, 0xe005
sub eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0xc0]
jl 0x40646e
mov dword [ebp - 0xf8], 1
jmp 0x406475
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xcd21
je 0x406499
mov dword [ebp - 0x100], 1
jmp 0x4064a0
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x100], eax
je 0x4064ba
mov dword [ebp - 0x108], 1
jmp 0x4064c1
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0x108], eax
jl 0x4064db
mov dword [ebp - 0x110], 1
jmp 0x4064e2
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x110], eax
jl 0x4064fc
mov dword [ebp - 0x118], 1
jmp 0x406503
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x25c]
cmp dword [ebp - 0x118], eax
jl 0x406526
cmp dword [ebp - 0xc8], 0
je 0x406526
mov dword [ebp - 0x128], 1
jmp 0x40652d
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xdc]
sub ecx, eax
neg ecx
mov dword [ebp - 0x120], ecx
push 1
lea ecx, [ebp - 0x318]
call fcn.004014ea
mov ecx, dword [ebp - 0x120]
mov dword [eax], ecx
mov eax, dword [ebp - 0x130]
imul eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x128]
inc ecx
cmp eax, ecx
jne 0x406598
mov eax, 0xd9236f91
test eax, eax
je 0x406598
mov dword [ebp - 0x138], 1
jmp 0x40659f
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x284]
add ecx, dword [ebp - 0x138]
add eax, ecx
imul eax, dword [ebp - 0x28c]
test eax, eax
je 0x4065d3
mov eax, 0x32a5b4d6
test eax, eax
je 0x4065d3
mov dword [ebp - 0x140], 1
jmp 0x4065da
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0x318]
call fcn.004014ce
mov eax, dword [ebp + 8]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x20], 0xca4f833f
mov dword [ebp - 0x9c], 0
jmp 0x40661a
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x406636
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x3b0], 1
jmp 0x40660d
mov dword [ebp - 0x20], 2
jmp 0x406646
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x406662
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x406660
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x40663f
mov dword [ebp - 0x20], 0
jmp 0x406672
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x4066a3
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x4066a1
push 0
push 0x79a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
jmp 0x40666b
push 4
lea ecx, [ebp - 0x378]
call fcn.004013fc
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x294], 0xffffffff
mov dword [ebp - 0x150], 0xdc5336de
mov dword [ebp - 0x14], 0
jmp 0x4066db
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x4066f7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x378]
call fcn.004014ea
mov dword [eax], 0xffff
jmp 0x4066d4
mov dword [ebp - 0x14], 0
jmp 0x406707
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x40671d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2dc], 0x2167fa5c
jmp 0x406700
mov dword [ebp - 0x6c], 0
jmp 0x40672d
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jg 0x40674c
mov dword [ebp - 0x148], 0xd9a924c0
mov eax, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x148], eax
jmp 0x406726
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x150]
cmp dword [ebp + eax - 0x2dc], ecx
jle 0x40676d
mov dword [ebp - 0x158], 1
jmp 0x406774
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2dc]
mov dword [ebp - 0x350], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2dc]
cmp dword [ebp - 0x150], eax
jge 0x4067a7
mov dword [ebp - 0x160], 1
jmp 0x4067ae
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x158]
cmp eax, dword [ebp - 0x160]
jge 0x4067c8
mov dword [ebp - 0x168], 1
jmp 0x4067cf
and dword [ebp - 0x168], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x294]
imul ecx, dword [ebp - 0x168]
cmp dword [ebp + eax - 0x2dc], ecx
jne 0x4067f6
mov dword [ebp - 0x170], 1
jmp 0x4067fd
and dword [ebp - 0x170], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x170]
mov dword [ebp + eax - 0x2dc], ecx
lea ecx, [ebp - 0x378]
call fcn.004014ce
push dword [ebp - 0x29c]
push 0x59ff
push 0
push 0x20ec
push 0x6af6
call fcn.00420e79
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret