Function at 0x406c90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667e2b
mov eax, dword fs:[0]
push eax
sub esp, 0xe2c
mov eax, dword [0x6fe3a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd08], ecx
mov dword [ebp - 0xdd0], 8
mov dword [ebp - 0xdcc], 0xff
lea eax, [ebp - 0xdd0]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00516b59
mov ecx, dword [ebp - 0xd08]
call fcn.005181e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd38], eax
mov ecx, dword [ebp - 0xd38]
push ecx
call fcn.0064b449
add esp, 4
push str.qwctimxandaiizyv
push 0x702f54
call fcn.004087f0
add esp, 8
mov dword [ebp - 0xdf8], 0x98995f
mov ecx, 0xc
mov esi, str.yxeahfbvptdznorlmsugjwkqcikqnsrvdwfxabhtyozujcg
lea edi, [ebp - 0xbc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov esi, str.bwpuvaexicgtkynflszdojmrhqgwvrpkocmf
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 9
mov esi, str.yihatunbxmcrlvjfoweqzgpkdsxyfpabvdw
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xb
mov esi, str.owtgqkcxdpunazirlbjfevmshyuhgonslitqzwpbdfyk
lea edi, [ebp - 0x8c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xda8], 0x16
mov dword [ebp - 0xdb0], 0x2d
mov dword [ebp - 0xdb8], 0x1c
mov dword [ebp - 0xdc0], 0x2a
mov ecx, 0x702f54
call fcn.004089e0
mov dword [ebp - 0xd14], eax
lea edx, [ebp - 0xbc]
push edx
call fcn.00648600
add esp, 4
mov dword [ebp - 0xdac], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00648600
add esp, 4
mov dword [ebp - 0xdb4], eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00648600
add esp, 4
mov dword [ebp - 0xdbc], eax
lea edx, [ebp - 0x8c]
push edx
call fcn.00648600
add esp, 4
mov dword [ebp - 0xdc4], eax
movsd xmm0, qword [0x67ac70]
movsd qword [ebp - 0xd10], xmm0
movsd xmm0, qword [0x67ac78]
movsd qword [ebp - 0xd20], xmm0
mov eax, 1
test eax, eax
je 0x406f8a
cvttsd2si eax, qword [ebp - 0xd20]
add eax, dword [ebp - 0xda8]
cdq
idiv dword [ebp - 0xdac]
mov cl, byte [ebp + edx - 0xbc]
movzx edx, cl
push edx
mov eax, dword [ebp - 0xd14]
sub eax, 1
push eax
mov ecx, 0x702f54
call fcn.00408ec0
cvttsd2si eax, qword [ebp - 0xd20]
add eax, dword [ebp - 0xdb0]
cdq
idiv dword [ebp - 0xdb4]
mov cl, byte [ebp + edx - 0x5c]
movzx edx, cl
push edx
mov eax, dword [ebp - 0xd14]
sub eax, 2
push eax
mov ecx, 0x702f54
call fcn.00408ec0
cvttsd2si eax, qword [ebp - 0xd20]
add eax, dword [ebp - 0xdb8]
cdq
idiv dword [ebp - 0xdbc]
mov cl, byte [ebp + edx - 0x34]
movzx edx, cl
push edx
mov eax, dword [ebp - 0xd14]
sub eax, 3
push eax
mov ecx, 0x702f54
call fcn.00408ec0
cvttsd2si eax, qword [ebp - 0xd20]
add eax, dword [ebp - 0xdc0]
cdq
idiv dword [ebp - 0xdc4]
mov cl, byte [ebp + edx - 0x8c]
movzx edx, cl
push edx
mov eax, dword [ebp - 0xd14]
sub eax, 4
push eax
mov ecx, 0x702f54
call fcn.00408ec0
sub esp, 8
movsd xmm0, qword [ebp - 0xd10]
movsd qword [esp], xmm0
call fcn.0064b474
add esp, 8
fstp qword [ebp - 0xd10]
movsd xmm0, qword [ebp - 0xd10]
mulsd xmm0, qword [0x67ac88]
movsd qword [ebp - 0xd10], xmm0
cvttsd2si ecx, qword [ebp - 0xd10]
cvtsi2sd xmm0, ecx
movsd xmm1, qword [ebp - 0xd10]
subsd xmm1, xmm0
movsd qword [ebp - 0xd10], xmm1
cvttsd2si edx, qword [ebp - 0xd10]
add edx, 1
cvtsi2sd xmm0, edx
movsd qword [ebp - 0xd10], xmm0
movsd xmm0, qword [ebp - 0xd20]
addsd xmm0, qword [ebp - 0xd10]
movsd qword [ebp - 0xd20], xmm0
movsd xmm0, qword [ebp - 0xd20]
comisd xmm0, xmmword [0x67ac90]
jbe 0x406f85
jmp 0x406f8a
jmp 0x406e15
mov dword [ebp - 0xd34], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xd34], eax
movsd xmm0, qword [ebp - 0xd20]
addsd xmm0, qword [0x67ac78]
movsd qword [ebp - 0xd20], xmm0
mov eax, dword [ebp - 0xd34]
cmp eax, dword [ebp - 0xd38]
jbe 0x406f94
lea ecx, [ebp - 0xcfc]
call fcn.0040b500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xd40], eax
cmp dword [ebp - 0xd40], 0
je 0x40718d
cmp dword [ebp - 0xd3c], 1
jle 0x40718d
mov dword [ebp - 0xd18], 1
jmp 0x407027
mov edx, dword [ebp - 0xd18]
add edx, 1
mov dword [ebp - 0xd18], edx
mov eax, dword [ebp - 0xd18]
cmp eax, dword [ebp - 0xd3c]
jge 0x40718d
mov ecx, dword [ebp - 0xd18]
mov edx, dword [ebp - 0xd40]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 0xd04]
call fcn.00407b90
mov byte [ebp - 4], 1
push 0
push 0x67aa48
lea ecx, [ebp - 0xd04]
call fcn.004086a0
test eax, eax
jne 0x4070b9
push 3
lea ecx, [ebp - 0xd4c]
push ecx
lea ecx, [ebp - 0xd04]
call fcn.00408bd0
mov dword [ebp - 0xdc8], eax
mov edx, dword [ebp - 0xdc8]
mov dword [ebp - 0xd48], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd48]
push eax
lea ecx, [ebp - 0xcfc]
call fcn.00407dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4c]
call fcn.004059a0
push 0
push 0x67aa50
lea ecx, [ebp - 0xd04]
call fcn.004086a0
test eax, eax
jne 0x407119
push 3
lea ecx, [ebp - 0xd58]
push ecx
lea ecx, [ebp - 0xd04]
call fcn.00408bd0
mov dword [ebp - 0xd50], eax
mov edx, dword [ebp - 0xd50]
mov dword [ebp - 0xd54], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd54]
push eax
mov ecx, 0x702e80
call fcn.00407dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd58]
call fcn.004059a0
push 0
push 0x67aa58
lea ecx, [ebp - 0xd04]
call fcn.004086a0
test eax, eax
jne 0x407179
push 3
lea ecx, [ebp - 0xd64]
push ecx
lea ecx, [ebp - 0xd04]
call fcn.00408bd0
mov dword [ebp - 0xd5c], eax
mov edx, dword [ebp - 0xd5c]
mov dword [ebp - 0xd60], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xd60]
push eax
mov ecx, 0x702e84
call fcn.00407dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd64]
call fcn.004059a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd04]
call fcn.004059a0
jmp 0x407018
mov ecx, 0x702e80
call fcn.00408a80
movzx ecx, al
test ecx, ecx
je 0x4071e8
push 0x67aa60
lea edx, [ebp - 0xd70]
push edx
call fcn.0040cc30
add esp, 8
mov dword [ebp - 0xd68], eax
mov eax, dword [ebp - 0xd68]
mov dword [ebp - 0xd6c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd6c]
push ecx
mov ecx, 0x702e80
call fcn.00407dd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd70]
call fcn.004059a0
lea ecx, [ebp - 0xcfc]
call fcn.004089e0
test eax, eax
jne 0x407264
push 0x10
mov ecx, 0x702e80
call fcn.0042dd70
push eax
push 0x67aa80
lea edx, [ebp - 0xd78]
push edx
call fcn.0040cc30
add esp, 8
mov dword [ebp - 0xd74], eax
mov ecx, dword [ebp - 0xd74]
call fcn.0042dd70
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0xd78]
call fcn.004059a0
mov dword [ebp - 0xd7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcfc]
call fcn.004059a0
mov eax, dword [ebp - 0xd7c]
jmp 0x407665
mov ecx, dword [ebp - 0xd08]
call fcn.00406860
mov byte [ebp - 0xcfd], al
lea ecx, [ebp - 0xcf4]
call fcn.004ca390
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xcf4]
call fcn.004ca3b0
cmp dword [ebp - 0xcf4], 0
je 0x4072a4
mov dword [ebp - 0xd44], 1
jmp 0x4072ae
mov dword [ebp - 0xd44], 0
mov al, byte [ebp - 0xd44]
mov byte [ebp - 0xcf5], al
movzx ecx, byte [ebp - 0xcf5]
test ecx, ecx
je 0x40733a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xddc], esp
push str.2090
call fcn.004040b0
mov dword [ebp - 0xd80], eax
mov edx, dword [ebp - 0xd80]
mov dword [ebp - 0xde0], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0c]
push eax
call fcn.0040d280
add esp, 4
mov dword [ebp - 0xd84], eax
mov ecx, dword [ebp - 0xd84]
mov dword [ebp - 0xd88], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xd88]
call fcn.00404360
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.0040da60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0c]
call fcn.0042da90
movzx edx, byte [ebp - 0xcfd]
test edx, edx
jne 0x407481
push ecx
mov ecx, esp
mov dword [ebp - 0xdf0], esp
lea eax, [ebp - 0xcfc]
push eax
call fcn.00407ad0
mov dword [ebp - 0xdf4], eax
mov ecx, dword [ebp - 0xd08]
call fcn.00406930
mov byte [ebp - 0xcfe], al
movzx ecx, byte [ebp - 0xcfe]
mov dword [ebp - 0xd2c], ecx
mov dword [ebp - 0xd28], 0
movzx edx, byte [ebp - 0xcf5]
test edx, edx
jne 0x40744b
cmp dword [ebp - 0xd2c], 0
jne 0x40744b
cmp dword [ebp - 0xd28], 1
jg 0x40744b
push 0x41000
mov ecx, 0x702e80
call fcn.0042dd70
push eax
push 0x67a868
lea eax, [ebp - 0xd90]
push eax
call fcn.0040cc30
add esp, 8
mov dword [ebp - 0xd8c], eax
mov ecx, dword [ebp - 0xd8c]
call fcn.0042dd70
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0xd90]
call fcn.004059a0
push ecx
mov ecx, esp
mov dword [ebp - 0xde4], esp
lea edx, [ebp - 0xcfc]
push edx
call fcn.00407ad0
mov dword [ebp - 0xdfc], eax
mov ecx, dword [ebp - 0xd08]
call fcn.00406930
mov byte [ebp - 0xcff], al
movzx eax, byte [ebp - 0xcff]
mov dword [ebp - 0xd2c], eax
mov ecx, dword [ebp - 0xd28]
add ecx, 1
mov dword [ebp - 0xd28], ecx
jmp 0x40739b
mov dword [ebp - 0xd94], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcf4]
call fcn.004ca3a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcfc]
call fcn.004059a0
mov eax, dword [ebp - 0xd94]
jmp 0x407665
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xd30], eax
push 0x58
mov edx, dword [ebp - 0xd30]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x67ac78]
divsd xmm0, qword [0x67ac80]
movsd qword [0x702e70], xmm0
push 0x5a
mov eax, dword [ebp - 0xd30]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x67ac78]
divsd xmm0, qword [0x67ac80]
movsd qword [0x702e78], xmm0
mov ecx, dword [ebp - 0xd30]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0xcfc]
call fcn.0042dd70
push eax
lea ecx, [ebp - 0xd4]
call fcn.00407c40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd21]
call fcn.00409510
push eax
lea edx, [ebp - 0xe00]
push edx
lea ecx, [ebp - 0xd4]
call fcn.00409ab0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xe04]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.004099d0
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0xec]
call fcn.00407730
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdd4], esp
lea eax, [ebp - 0xec]
push eax
call fcn.00404020
mov dword [ebp - 0xd98], eax
mov ecx, dword [ebp - 0xd98]
mov dword [ebp - 0xdd8], ecx
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xdec]
push edx
call fcn.0040d280
add esp, 4
mov dword [ebp - 0xd9c], eax
mov eax, dword [ebp - 0xd9c]
mov dword [ebp - 0xda0], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xda0]
call fcn.00404360
mov byte [ebp - 4], 0xe
mov ecx, eax
call fcn.00408f70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xdec]
call fcn.0042da90
lea ecx, [ebp - 0xcf4]
call fcn.00408ae0
movzx ecx, al
push ecx
movzx edx, byte [ebp - 0xcf5]
push edx
lea ecx, [ebp - 0xe38]
call fcn.00412fe0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe38]
call fcn.00413270
mov ecx, dword [ebp - 0xd08]
call fcn.00406b70
mov dword [ebp - 0xda4], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe38]
call fcn.00413230
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xec]
call fcn.004041d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.00407cb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xcf4]
call fcn.004ca3a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcfc]
call fcn.004059a0
mov eax, dword [ebp - 0xda4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00641b27
mov esp, ebp
pop ebp
ret