Function at 0x45ac10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x52fe34]
sub esp, 0x30
cmp word [eax + 0x11c80], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
mov esi, ecx
je 0x45ac61
lea edx, [esi + 0xf368c]
push edx
xor ecx, ecx
push ecx
mov word [eax + 0x11c80], cx
mov eax, dword [esi + 0xf3688]
push 0x411
push eax
call ebx
mov ecx, dword [esi + 0xf3684]
push 0
push 1
push 0x401
push ecx
call ebx
mov eax, dword [ebp + 8]
cmp eax, 0x101
jne 0x45acf2
mov edx, dword [0x5306c8]
push 0x801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 9
mov esi, eax
push 0x110a
push esi
call ebx
test eax, eax
jne 0x45ac9d
push eax
push eax
push 0x110a
push esi
call ebx
push eax
push 1
push 0x110a
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x45acc2
push eax
push eax
push 0x110a
push esi
call ebx
mov edi, eax
test edi, edi
je 0x45af3b
push edi
push 3
push 0x110a
push esi
call ebx
test eax, eax
je 0x45acdc
push eax
push 2
push 0x1102
push esi
call ebx
push edi
push 9
push 0x110b
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x102
jne 0x45ad80
mov eax, dword [0x5306c8]
push 0x801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 9
mov esi, eax
push 0x110a
push esi
call ebx
test eax, eax
jne 0x45ad2b
push eax
push 0xa
push 0x110a
push esi
call ebx
push eax
push 2
push 0x110a
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x45ad50
push eax
push eax
push 0x110a
push esi
call ebx
mov edi, eax
test edi, edi
je 0x45af3b
push edi
push 3
push 0x110a
push esi
call ebx
test eax, eax
je 0x45ad6a
push eax
push 2
push 0x1102
push esi
call ebx
push edi
push 9
push 0x110b
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [eax + 8], 0xfffffe3d
jne 0x45af3b
mov ecx, dword [0x5306c8]
push 0x801
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 8]
mov edi, eax
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x45add9
cmp eax, dword [ecx + 0x3c]
je 0x45add9
lea edx, [ebp - 0x30]
push edx
push 0
push 0x113f
push edi
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x10
mov dword [ebp - 0x28], 0
call ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x45ae03
mov dword [ebp - 0x2c], eax
mov eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0x113f
push edi
mov dword [ebp - 0x30], 8
call ebx
cmp byte [esi + 0xf3478], 0
jne 0x45af3b
mov ecx, dword [esi + 0xf3704]
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
cmp dword [ecx], edi
je 0x45af3b
jmp 0x45ae30
mov edx, dword [esi + 0xf3704]
mov ecx, dword [edx + edi + 0x90]
lea eax, [edx + edi]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x3c], ecx
jne 0x45aef9
mov ecx, dword [eax + 0x88]
cmp dword [esi + ecx*4 + 0xf2b74], 0
lea ecx, [esi + ecx*4 + 0xf2b74]
jne 0x45aeb6
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [esi + 0xf3704]
mov ecx, dword [0x5306c8]
lea eax, [edx + edi]
movzx edx, word [eax]
push eax
push 0x477450
push ecx
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [esi + 0xf3704]
mov edx, dword [ecx + edi + 0x88]
mov dword [esi + edx*4 + 0xf2b74], eax
jmp 0x45aec5
mov ecx, dword [ecx]
push eax
mov eax, dword [esi + 0xf3474]
push 1
push eax
push ecx
call ebx
mov edx, dword [esi + 0xf3704]
mov eax, dword [edx + edi + 0x88]
mov ecx, dword [esi + eax*4 + 0xf2b74]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x52fe34]
mov eax, dword [edx + 0xf3704]
mov ecx, dword [edi + eax]
mov dword [esi + 0xf2be4], ecx
jmp 0x45af0e
cmp dword [edx + 0x14], ecx
jne 0x45af0e
mov edx, dword [eax + 0x88]
mov eax, dword [esi + edx*4 + 0xf2b74]
mov dword [ebp - 8], eax
mov edi, dword [ebp - 4]
mov ecx, dword [esi + 0xf3704]
inc edi
mov dword [ebp - 4], edi
imul edi, edi, 0x98
cmp dword [edi + ecx], 0
jne 0x45ae30
mov eax, dword [ebp - 8]
test eax, eax
je 0x45af3b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4