Function at 0x401600
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4543e4]
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 [0x456d48]
mov eax, dword [ecx + 4]
cmp eax, 9
je 0x4016b2
cmp eax, 0xd
je 0x401668
mov edx, dword [ebx + 4]
push edx
call esi
xor esi, esi
push esi
push 0x91
push 0x8006
push eax
call edi
jmp 0x401714
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov eax, 0x457594
mov dword [esp + 0x18], 0x4eed
call fcn.004148f0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
lea esi, [esp + 0x1c]
mov eax, 0x457594
call fcn.00414490
lea edx, [esp + 0x10]
mov eax, 0x457594
call fcn.004288b0
mov dword [eax], 0x4f06
jmp 0x401712
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, 0x457594
mov dword [esp + 0x18], 0x4eed
call fcn.004148f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea esi, [esp + 0x1c]
mov eax, 0x457594
call fcn.00414490
lea edx, [esp + 0x10]
mov eax, 0x457594
call fcn.004288b0
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 0x40179b
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
cmp eax, edx
ja 0x40179b
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 0x40178a
mov ecx, ebx
call fcn.004158f0
mov edi, dword [ebx + 4]
mov ecx, dword [ebx]
lea eax, [esi + esi*4]
lea esi, [ecx + eax*8]
test edi, edi
je 0x4017be
jmp 0x4017b7
cmp edi, dword [ebx + 8]
jne 0x4017ac
mov ecx, ebx
call fcn.004158f0
mov ecx, 8
mov edi, dword [ebx + 4]
test edi, edi
je 0x4017c3
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 0x401844
mov eax, dword [ebx]
mov ecx, edx
cmp eax, ecx
ja 0x401844
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 0x401833
mov ecx, ebx
call fcn.004158f0
mov edi, dword [ebx + 4]
mov eax, dword [ebx]
lea edx, [esi + esi*4]
lea esi, [eax + edx*8]
test edi, edi
je 0x401862
jmp 0x40185b
cmp edi, dword [ebx + 8]
jne 0x401850
mov ecx, ebx
call fcn.004158f0
mov edi, dword [ebx + 4]
test edi, edi
je 0x401862
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.0042e4c9
mov esp, ebp
pop ebp
ret