Function at 0x460cb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x51e080]
xor eax, esp
mov dword [esp + 0x70], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], ebx
jne 0x460ce4
mov esi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x7c]
mov dword [ebp + 0xc], esi
jmp 0x460d52
mov esi, dword [ebx + 0x6c]
lea eax, [esi + 4]
push eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebp + 0xc]
and ecx, edx
mov eax, dword [esi + 0x30]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x460d13
cmp edx, dword [ebx + 8]
je 0x460d37
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x460d07
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
je 0x460d13
mov ebx, dword [ebx + 0x14]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + 0xc]
movzx eax, bl
mov ebx, dword [esp + 0x44]
mov ecx, dword [ebx + 0x7c]
cmp ecx, eax
mov dword [esp + 0x48], eax
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x460dae
test ecx, ecx
jne 0x460d85
push 0
push 0x3ee
push edi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3fc
jmp 0x460da4
cmp ecx, 1
jne 0x460d93
push 0
push 0x3f5
jmp 0x460da4
cmp ecx, 2
je 0x460d66
cmp ecx, 3
jne 0x460dae
push 0
push 0x3ea
push edi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebx + 0x80], 0
je 0x460e9c
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x460e9c
cmp eax, 1
jne 0x460dfb
push 0
push 0
push 0xf0
push 0x3f5
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [ebx + 0x6c]
and eax, 1
push eax
push dword [ebx + 0x80]
mov dword [esp + 0x4c], eax
call fcn.0046ffb0
jmp 0x460e9c
cmp eax, 2
je 0x460e9c
cmp eax, 3
jne 0x460e9c
push 0x10
lea eax, [esp + 0x60]
push eax
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x5c]
push eax
call fcn.004e2502
mov eax, dword [ebx + 0x80]
add esp, 4
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add eax, 4
push eax
fstp dword [esp + 0x50]
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x30]
and ecx, edx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x460e92
nop dword [eax + eax]
cmp edx, dword [eax + 8]
je 0x460e7e
mov eax, dword [eax + 4]
test eax, eax
jne 0x460e70
jmp 0x460e92
test eax, eax
je 0x460e92
movss xmm2, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
push eax
call fcn.004700e0
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x80], esi
cmp dword [ebx + 0x7c], eax
je 0x461096
mov dword [ebx + 0x7c], eax
test eax, eax
jne 0x460f41
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push 0x5ae3df80
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3f0
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push 0x3a2acbc0
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
push 0x3ee
push edi
call esi
push 0x502a60
push 0x3fc
push edi
call esi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 8
push 0x3ee
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x242
push 0x20
push 0x20
push 0
push 0
push 0
push 0x3fc
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x46115f
cmp eax, 1
jne 0x460f81
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push 0x4a6491f2
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
push 0x3f0
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 8
push 0x3f5
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46109f
cmp eax, 2
jne 0x461027
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push 0x6cef5041
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x3f0
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push 0x9a834b37
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
push 0x3ee
push edi
call esi
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push 0xd417fa93
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
push 0x3fc
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 8
push 0x3ee
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x242
push 0x20
push 0x80
push 0
push 0
push 0
push 0x3fc
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp + 0xc]
jmp 0x46118d
cmp eax, 3
jne 0x461235
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push 0xb309cbc0
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
push 0x3f0
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 8
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push 5
push 0xc5
push 0x3ea
push edi
call eax
push 0
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
jmp 0x4611ed
cmp eax, 1
jne 0x461155
mov esi, dword [ebx + 0x6c]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebp + 0xc]
and ecx, edx
mov eax, dword [esi + 0x30]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4610cc
nop
cmp edx, dword [eax + 8]
je 0x46113e
mov eax, dword [eax + 4]
test eax, eax
jne 0x4610c0
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov ecx, dword [ebx + 0x70]
lea edx, [esp + 0x40]
push dword [esp + 0x48]
push edx
mov eax, dword [ecx]
call dword [eax]
push dword [esp + 0x40]
push 0x3f5
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebx + 0x6c]
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0xc]
push 1
call fcn.0046fe20
mov eax, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0
push dword [esp + 0x48]
push 0xf1
push 0x3f5
push edi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x4610cc
mov eax, dword [eax + 0xc]
mov dword [esp + 0x48], eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4610de
test eax, eax
jne 0x461188
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0
push 0x3fc
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x4611e8
mov ecx, dword [ebx + 0x84]
lea eax, [ebx + 0x84]
test ecx, ecx
je 0x4611b0
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebx + 0x84]
mov dword [eax], 0
push eax
push esi
push ecx
mov ecx, dword [ebx + 0x6c]
call fcn.004701e0
mov eax, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 1
push dword [ebx + 0x84]
push 0x30
push 0x3fc
push edi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
cmp eax, 3
jne 0x461235
mov ecx, dword [ebx + 0x6c]
lea eax, [esp + 0x4c]
push eax
push esi
push 1
call fcn.00470020
movss xmm0, dword [esp + 0x4c]
lea eax, [esp + 0x5c]
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push 0x50db1c
push 0xffffffffffffffff
push 0x10
push eax
call fcn.00415570
add esp, 0x18
lea eax, [esp + 0x5c]
push eax
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8