Function at 0x41a160
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x41a3f1
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ebx, 0x111
jne 0x41a274
cmp di, 0x3ed
jne 0x41a1a2
call fcn.0041a440
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f6
jne 0x41a1bc
mov ecx, esi
call fcn.0041a6b0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ef
jne 0x41a1d6
mov ecx, esi
call fcn.0041a900
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ea
jne 0x41a1f0
mov ecx, esi
call fcn.0041bb80
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x40f
jne 0x41a20a
mov ecx, esi
call fcn.0041cf30
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x410
jne 0x41a224
mov ecx, esi
call fcn.0041cde0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3ee
jne 0x41a2e5
push 1
mov ecx, esi
call fcn.0041a110
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x24], esp
push 0x3ee
mov dword [eax], ebp
mov eax, edi
shr eax, 0x10
push eax
call fcn.0041b530
mov ecx, dword [esp + 0x24]
mov dword [ecx], 0
mov ecx, esi
call fcn.0041a100
test eax, eax
je 0x41a2e5
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x110
jne 0x41a2b7
push 1
mov ecx, esi
call fcn.0041a110
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
call fcn.00406b30
mov ecx, esi
call fcn.0041b3d0
mov edx, dword [esp + 0x24]
mov ecx, esi
mov dword [edx], eax
call fcn.0041a100
test eax, eax
je 0x41a2e5
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x3922
jne 0x41a2e5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 1
push eax
push ecx
push ebx
mov ecx, esi
call fcn.0041cb10
mov edx, dword [esp + 0x24]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ebp
push edi
push ebx
push ecx
lea ecx, [esi + 0x1c]
call fcn.00424980
test eax, eax
jne 0x41a3a6
cmp ebx, 5
lea eax, [esi + 0x78]
jne 0x41a37c
test eax, eax
je 0x41a315
lea esi, [eax - 0x78]
jmp 0x41a317
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41a34c
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x41a33d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41a351
test edi, edi
jne 0x41a34c
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41a351
cmp edi, 1
je 0x41a39c
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.0041d300
mov eax, dword [esp + 0x24]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x41a3b2
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41a39c
cmp dword [eax + 0x18], ecx
je 0x41a39c
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ebx, 0xf
jne 0x41a3f1
push 1
mov ecx, esi
call fcn.0041a110
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
call fcn.0041bad0
mov ecx, dword [esp + 0x24]
mov dword [ecx], 0
mov ecx, esi
call fcn.0041a100
test eax, eax
je 0x41a3f1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18