Function at 0x41b5a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x2a]
mov dword [ebp - 8], eax
mov ecx, dword [0x42d384]
cmp dword [ecx + 0xac], 0
je 0x41b66b
mov edx, dword [0x42d384]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x42d384]
mov dword [ecx + 0xac], 0
push 5
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x46]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x46]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x46]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x42d384]
mov dword [edx + 0x42], 1
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x52]
push ecx
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x56]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041be40
add esp, 0xc
mov edx, dword [0x42d384]
cmp dword [edx + 0x70], 0
je 0x41b685
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x74]
mov dword [ebp - 8], ecx
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x1e]
jg 0x41b761
mov ecx, dword [0x42d384]
cmp dword [ecx + 0x7c], 0
je 0x41b761
mov edx, dword [0x42d384]
mov dword [edx + 0x80], 1
mov ecx, dword [0x42d384]
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ecx + 0x1a]
mov edx, dword [0x42d384]
mov ecx, dword [edx + 0x2e]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edx + 0x22]
jge 0x41b6e8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
jmp 0x41b6f4
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x22]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x41b703
mov dword [ebp - 0x24], 1
jmp 0x41b72b
mov ecx, dword [0x42d384]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 0x22]
jge 0x41b719
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x41b725
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x22]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0041b4dd
add esp, 8
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x84], ecx
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x88], eax
jmp 0x41ba80
mov ecx, dword [0x42d384]
xor edx, edx
mov dx, word [ecx + 8]
and edx, 1
test edx, edx
je 0x41b782
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax + 0x1a]
mov dword [ebp - 0x18], ecx
mov edx, dword [0x42d384]
xor eax, eax
mov ax, word [edx + 8]
and eax, 2
test eax, eax
je 0x41b7a4
mov ecx, dword [0x42d384]
mov edx, dword [ebp - 0xc]
sub edx, dword [ecx + 0x1e]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jl 0x41b7b0
cmp dword [ebp - 0x18], 0
jge 0x41b7b5
jmp 0x41ba80
mov dword [ebp - 0x10], 0
jmp 0x41b7c7
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [0x42d384]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0xa]
jge 0x41b8c7
mov eax, dword [0x42d384]
cmp dword [eax + 0x70], 0
jne 0x41b7ee
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jge 0x41b7ee
jmp 0x41b7be
mov edx, dword [0x42d384]
cmp dword [edx + 0x70], 0
je 0x41b811
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x74]
jl 0x41b811
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jge 0x41b811
jmp 0x41b7be
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jl 0x41b8a9
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x26
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x32]
mov edx, dword [ebp - 4]
add edx, dword [eax + ecx + 0x14]
cmp dword [ebp - 0xc], edx
jg 0x41b8a9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x42d384]
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ecx + 0x1a]
mov edx, dword [0x42d384]
mov ecx, dword [edx + 0x2e]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x26
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x32]
cmp dword [ecx + edx + 0x18], 0
jne 0x41b8a7
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041c9d5
add esp, 0x10
jmp 0x41ba80
jmp 0x41b8c7
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x26
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x32]
mov ecx, dword [ebp - 4]
add ecx, dword [edx + eax + 0x14]
mov dword [ebp - 4], ecx
jmp 0x41b7be
mov edx, dword [0x42d384]
cmp dword [edx + 0x70], 0
je 0x41b966
mov eax, dword [0x42d384]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x74]
jge 0x41b8f2
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x4a], eax
jmp 0x41b964
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0xa]
sub edx, 1
cmp dword [ebp - 0x14], edx
jge 0x41b90b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x41b91a
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0xa]
sub edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x2c]
jle 0x41b92a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
jmp 0x41b958
mov edx, dword [0x42d384]
mov eax, dword [edx + 0xa]
sub eax, 1
cmp dword [ebp - 0x14], eax
jge 0x41b943
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], ecx
jmp 0x41b952
mov edx, dword [0x42d384]
mov eax, dword [edx + 0xa]
sub eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x4a], eax
jmp 0x41b9d8
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0xa]
sub edx, 1
cmp dword [ebp - 0x14], edx
jge 0x41b97f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
jmp 0x41b98e
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0xa]
sub edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x38]
jle 0x41b99e
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x3c], ecx
jmp 0x41b9cc
mov edx, dword [0x42d384]
mov eax, dword [edx + 0xa]
sub eax, 1
cmp dword [ebp - 0x14], eax
jge 0x41b9b7
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
jmp 0x41b9c6
mov edx, dword [0x42d384]
mov eax, dword [edx + 0xa]
sub eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x42d384]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x4a], eax
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x22]
sub edx, 1
cmp dword [ebp - 0x1c], edx
jge 0x41b9f1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
jmp 0x41ba00
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x22]
sub edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x2e]
cmp ecx, dword [ebp - 0x44]
jle 0x41ba1b
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x2e]
mov dword [ebp - 0x48], eax
jmp 0x41ba49
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x22]
sub edx, 1
cmp dword [ebp - 0x1c], edx
jge 0x41ba34
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
jmp 0x41ba43
mov ecx, dword [0x42d384]
mov edx, dword [ecx + 0x22]
sub edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov ecx, dword [0x42d384]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0x4e], edx
mov eax, dword [0x42d384]
mov ecx, dword [eax + 0x52]
push ecx
mov edx, dword [0x42d384]
mov eax, dword [edx + 0x56]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041be40
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.0041adf4
add esp, 4
mov esp, ebp
pop ebp
ret