Function at 0x46acc6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, 0x10e4
lea ebp, [esp - 0x78]
call fcn.00470240
push ebx
push esi
push edi
push 0
mov esi, ecx
call fcn.004691c7
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46acef
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x46ad06
push 0
push 2
push 0x900
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x70]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ebx, ebx
inc ebx
push ebx
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.00468fc7
push 0
push 0x409
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x20]
call fcn.00467841
push 0
mov ecx, esi
mov dword [ebp + 0x74], eax
call fcn.004691c7
call edi
push 0x34
mov dword [esi + 0x70], eax
lea eax, [ebp + 0x20]
push 0xff
push eax
call sub.NSCRT.dll_memset
mov edi, dword [ebp + 0x74]
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x30], edi
call fcn.0046de5c
push 0
mov ecx, esi
call fcn.004694f8
push 0x271
mov ecx, esi
call fcn.00469130
push 0x4b
pop ecx
mov eax, edi
xor edx, edx
div ecx
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, 0x200
push ebx
mov dword [ebp + 0x74], eax
lea eax, [ebp - 0xc6c]
push eax
push 0x272
push dword [0x495150]
call edi
mov eax, dword [ebp + 0x74]
push 0x3c
pop ecx
xor edx, edx
div ecx
xor ecx, ecx
test edx, edx
setne cl
add ecx, eax
push ecx
lea eax, [ebp - 0xc6c]
push eax
lea eax, [ebp - 0x66c]
push ebx
push eax
call fcn.00402fb5
add esp, 0x10
push dword [esi]
lea ecx, [ebp - 0x66c]
push 1
push 0
lea eax, [esi + 8]
push ecx
lea ecx, [ebp + 0x20]
push ecx
push eax
push dword [esi + 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0046e659
mov dword [ebp + 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x70]
xor edx, edx
mov ecx, 0x3e8
div ecx
push 1
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.00468fc7
mov eax, dword [ebp + 0x74]
xor ecx, ecx
sub eax, ecx
je 0x46afb1
dec eax
dec eax
push ecx
mov ecx, esi
je 0x46afaa
sub eax, 0x100
je 0x46afa3
dec eax
je 0x46af97
dec eax
je 0x46af90
dec eax
je 0x46af90
dec eax
je 0x46af90
push 0x268
call fcn.00469c59
mov ecx, dword [esi + 0x1c]
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x64]
push eax
lea eax, [esi + 8]
push eax
call fcn.00468d0d
push 0x40
mov dword [ebp + 0x74], eax
lea eax, [ebp - 0x16c]
push eax
push 0x27e
push dword [0x495150]
call edi
push 0x80
lea eax, [ebp - 0x86c]
push eax
push 0x268
push dword [0x495150]
call edi
push 0x20
lea eax, [ebp - 0xac]
push eax
push 0x2ab
push dword [0x495150]
call edi
push 0x20
lea eax, [ebp - 0xec]
push eax
push 0x2ac
push dword [0x495150]
call edi
push dword [ebp + 0x74]
mov edi, 0x80
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.0046c2dc
push dword [ebp + 0x70]
lea eax, [ebp - 0x76c]
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push edi
push eax
call fcn.0046c500
lea eax, [ebp - 0x76c]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x86c]
push eax
push str._s_s_s_s_s
lea eax, [ebp - 0x106c]
push ebx
push eax
call fcn.00402fb5
add esp, 0x40
push 0x30
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x106c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
mov ecx, esi
call fcn.004691c7
mov esi, dword [esi + 0x44]
test esi, esi
je 0x46af80
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x2c]
call fcn.0046de6f
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
push 0x2ad
jmp 0x46af9c
push 0x2ae
call fcn.00469c59
jmp 0x46af69
push 0x2af
jmp 0x46af9c
push 0x26c
jmp 0x46af9c
mov eax, dword [esi + 0xc]
cmp eax, ecx
je 0x46affb
mov edx, 0xfffff000
cmp eax, edx
je 0x46aff0
cmp eax, 0xffffff00
je 0x46afe5
cmp eax, 0xfffffff0
je 0x46afd9
imul eax, eax, 0x64
mov dword [ebp + 0x74], 0x277
jmp 0x46b005
push 0xfffffffffffffff0
pop eax
mov dword [ebp + 0x74], 0x273
jmp 0x46b005
xor eax, eax
mov dword [ebp + 0x74], 0x275
jmp 0x46b005
mov eax, edx
mov dword [ebp + 0x74], 0x276
jmp 0x46b005
or eax, 0xffffffff
mov dword [ebp + 0x74], 0x274
lea ecx, [esi + 0x74]
push ecx
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [esi + 8]
push eax
call fcn.00468d7c
mov eax, dword [esi + 0x74]
push 0x64
pop ecx
xor edx, edx
div ecx
push edx
push eax
push str._d._02dx
lea eax, [ebp]
push 0x10
push eax
call fcn.00402fb5
add esp, 0x14
push 0x20
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x74]
push dword [0x495150]
call edi
push ebx
lea eax, [ebp - 0x66c]
push eax
push 0x269
push dword [0x495150]
call edi
push dword [esi + 8]
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0xc6c]
push ebx
push eax
call fcn.00402fb5
add esp, 0x10
push 8
lea eax, [ebp + 0x54]
push eax
push 0x278
push dword [0x495150]
call edi
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x46b0e0
cmp eax, 0xfffff000
je 0x46b0e0
cmp eax, 0xffffff00
je 0x46b0e0
cmp eax, 0xfffffff0
lea eax, [ebp - 0x6c]
push eax
je 0x46b0be
lea eax, [ebp]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0xc6c]
push eax
push str._s__s__s__s
jmp 0x46b0f8
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0xc6c]
push eax
push str._s__s__s
lea eax, [ebp - 0x66c]
push ebx
push eax
call fcn.00402fb5
add esp, 0x18
jmp 0x46b108
lea eax, [ebp]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp - 0xc6c]
push eax
push str._s__s__s___s_
lea eax, [ebp - 0x66c]
push ebx
push eax
call fcn.00402fb5
add esp, 0x1c
lea eax, [ebp - 0x66c]
push eax
push 0x403
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esi + 0x20]
push edi
push esi
push 0x46a29f
push dword [esi + 0x30]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x1c]
call fcn.004682d2
cmp eax, 0x32
jne 0x46af69
cmp dword [esi + 0x44], edi
jne 0x46b155
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x44], eax
push edi
mov ecx, esi
call fcn.004691c7
jmp 0x46af80