Function at 0x41a360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e7b5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x45c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x41a3b4
mov edx, dword [ebx + 0xcc]
test edx, edx
je 0x41a3b4
mov eax, dword [ecx]
push 0
push edx
push ecx
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4502ac]
call esi
push 1
mov ecx, ebx
call fcn.004191a0
mov edx, 0x198
lea ecx, [ebp - 0x54]
call fcn.00416920
push dword [eax]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x54]
call fcn.00449b03
add esp, 4
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1be
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx]
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x4502ac]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x48]
call fcn.004177e0
lea esi, [ebx + 0x200]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
lea edi, [ebx + 0x1d0]
mov eax, dword [ebx + 0x1c8]
lea ecx, [ebp - 0x48]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041a640
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041a640
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x38], 0
je 0x41a554
cmp dword [ebp - 0x44], 0
mov byte [ebx + 0x21b], 1
jne 0x41a519
xor esi, esi
jmp 0x41a4b0
inc esi
cmp byte [esi + 0x453150], 0
jne 0x41a4b0
cmp esi, dword [ebp - 0x40]
jbe 0x41a4ed
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x48]
mov edi, eax
call fcn.00449b03
add esp, 8
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], esi
jmp 0x41a4f0
mov edi, dword [ebp - 0x48]
xor ecx, ecx
test esi, esi
je 0x41a510
jmp 0x41a500
movzx eax, byte [ecx + 0x453150]
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x41a500
xor eax, eax
mov word [edi + esi*2], ax
mov dword [ebp - 0x44], esi
push 0x10
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
push dword [ebx + 4]
call dword [0x4512d8]
cmp dword [ebp - 0x18], 0
je 0x41a5ea
cmp byte [ebx + 0x156], 0
jne 0x41a5ea
mov ecx, ebx
mov byte [ebx + 0x155], 1
call fcn.0041ae30
jmp 0x41a5f5
cmp dword [ebp - 0x18], 0
jne 0x41a534
cmp dword [ebp - 0x20], 0
mov byte [ebx + 0x21b], 1
je 0x41a5ea
cmp dword [ebp - 0x2c], 0
jne 0x41a5d9
xor esi, esi
inc esi
cmp byte [esi + 0x453150], 0
jne 0x41a573
cmp esi, dword [ebp - 0x28]
jbe 0x41a5b0
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449b46
push dword [ebp - 0x30]
mov edi, eax
call fcn.00449b03
add esp, 8
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], esi
jmp 0x41a5b3
mov edi, dword [ebp - 0x30]
xor ecx, ecx
test esi, esi
je 0x41a5d0
lea esp, [esp]
movzx eax, byte [ecx + 0x453150]
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, esi
jb 0x41a5c0
xor eax, eax
mov word [edi + esi*2], ax
mov dword [ebp - 0x2c], esi
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x24]
push dword [ebx + 4]
call dword [0x4512d8]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push dword [ebp - 0x24]
call fcn.00449b03
push dword [ebp - 0x30]
call fcn.00449b03
push dword [ebp - 0x3c]
call fcn.00449b03
push dword [ebp - 0x48]
call fcn.00449b03
add esp, 0x10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449a40
mov esp, ebp
pop ebp
ret