Function at 0x401600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4563e4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov ebx, ecx
mov eax, dword [ebx + 4]
push edi
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x4ee8
push 0x8003
push eax
call edi
mov ecx, dword [0x458dc8]
push ecx
call fcn.00409db0
cmp eax, 9
je 0x4016b5
cmp eax, 0xd
je 0x40166b
mov edx, dword [ebx + 4]
push edx
call esi
xor esi, esi
push esi
push 0x91
push 0x8006
push eax
call edi
jmp 0x401717
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov eax, 0x459614
mov dword [esp + 0x18], 0x4eed
call fcn.00414870
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea esi, [esp + 0x1c]
mov eax, 0x459614
call fcn.00414400
lea edx, [esp + 0x10]
mov eax, 0x459614
call fcn.00414140
mov dword [eax], 0x4f06
jmp 0x401715
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, 0x459614
mov dword [esp + 0x18], 0x4eed
call fcn.00414870
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea esi, [esp + 0x1c]
mov eax, 0x459614
call fcn.00414400
lea edx, [esp + 0x10]
mov eax, 0x459614
call fcn.00414140
mov dword [eax], 0x4ef2
mov edx, dword [ebx + 4]
push 0x502
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
mov edi, dword [ebx + 0x28]
add ebx, 0x24
mov ecx, 8
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0x502
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], 0x20
cmp eax, edi
jae 0x40179e
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
cmp eax, edx
ja 0x40179e
mov ecx, edx
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x40178d
mov ecx, ebx
call fcn.00415c70
mov edi, dword [ebx + 4]
mov ecx, dword [ebx]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*8]
test edi, edi
je 0x4017c1
jmp 0x4017ba
cmp edi, dword [ebx + 8]
jne 0x4017af
mov ecx, ebx
call fcn.00415c70
mov ecx, 8
mov edi, dword [ebx + 4]
test edi, edi
je 0x4017c6
lea esi, [esp + 0x1c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
add dword [ebx + 4], 0x28
mov edi, dword [ebx + 4]
xor eax, eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], 0x501
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x30], 0x502
mov dword [esp + 0x40], 0x10
cmp edx, edi
jae 0x401847
mov eax, dword [ebx]
mov ecx, edx
cmp eax, ecx
ja 0x401847
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [ebx + 8]
jne 0x401836
mov ecx, ebx
call fcn.00415c70
mov edi, dword [ebx + 4]
mov eax, dword [ebx]
lea edx, [esi + esi*4]
lea esi, [eax + edx*8]
test edi, edi
je 0x401865
jmp 0x40185e
cmp edi, dword [ebx + 8]
jne 0x401853
mov ecx, ebx
call fcn.00415c70
mov edi, dword [ebx + 4]
test edi, edi
je 0x401865
lea esi, [esp + 0x1c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x28
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret