Function at 0x42985d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x2c], edi
je 0x429a8d
mov dword [esi + 0x2c], edi
neg edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
sbb edi, edi
and edi, 5
push edi
push dword [esi + 0x28]
call ebx
push 0x3fb
add esi, 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
call ebx
push 0x3f0
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push eax
call ebx
mov edi, 0x3f9
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 0xc], 0
jne 0x4298e9
mov ebx, dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push 0x3f8
push dword [esi]
call ebx
push 0
push edi
push dword [esi]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [esi]
jmp 0x429974
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x3ea
je 0x42996f
cmp eax, 0x3e8
je 0x42996f
cmp eax, 0x400
je 0x42996f
cmp eax, 0x3ec
je 0x42996f
cmp eax, 0x3fb
je 0x42996f
cmp eax, 0x3ee
je 0x42996f
cmp eax, 0x3f0
je 0x42996f
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov edi, esi
call fcn.0040a8d1
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
jne 0x429954
neg eax
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
call fcn.0042495f
push 2
push dword [ebp - 4]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x4298f5
lea eax, [ebp - 0x24]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
jne 0x42999b
neg eax
add dword [ebp - 0x18], eax
push 1
push esi
lea eax, [ebp - 0x24]
call fcn.0042495f
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
push 0x3f
pop ecx
mov byte [ebp - 0x124], 0
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x100
push edi
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 5
add eax, 0xe124
push eax
call fcn.00424413
lea eax, [ebp - 0x124]
push 0xa
push eax
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 0x14
test eax, eax
jne 0x429a0c
lea eax, [ebp - 0x124]
jmp 0x429a0d
inc eax
cmp byte [eax], 0
je 0x429a1b
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push edi
lea eax, [ebp - 0x124]
push eax
mov ebx, 0x3ec
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov edi, 0x4ccb18
lea eax, [ebp - 0x124]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
jne 0x429a61
test eax, eax
jne 0x429a68
lea eax, [ebp - 0x124]
push edi
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
jmp 0x429a68
test eax, eax
je 0x429a68
mov byte [eax], 0
lea eax, [ebp - 0x124]
push eax
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push 0x503e8
push 0x111
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebx
pop edi
pop esi
leave
ret 8