Function at 0x1004bdd2
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x1008a418]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, edx
mov dword [esp + 8], ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
sub eax, 1
je 0x1004c029
sub eax, 1
je 0x1004bfe4
sub eax, 1
je 0x1004bf6f
sub eax, 1
je 0x1004bf62
sub eax, 1
je 0x1004bf48
dec eax
sub eax, 1
je 0x1004bf19
sub eax, 1
jne 0x1004c29b
push 0x6c
push edi
mov esi, 0x1008aa20
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x14b
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x10]
xor ebx, ebx
push 0x104
lea eax, [esp + 0x1c]
push eax
lea eax, [ebx + 0x10de]
push eax
push dword [0x1008b1e4]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x18]
push eax
push 0
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
inc ebx
cmp ebx, 3
jb 0x1004be68
xor ebx, ebx
push ebx
push ebx
push 0x14e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x14]
mov edx, 0x17ad
push 0x17b0
mov ecx, edi
call fcn.1005386c
push 0x17b1
mov edx, 0x17af
mov ecx, edi
call fcn.1005386c
push 3
push 0x17a8
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, eax
call fcn.1004f4f5
push ebx
push 0x17ab
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push 0x17aa
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
pop ebx
jmp 0x1004c21b
cmp dword [ebp + 8], 0x100
je 0x1004c2ca
push 0x62
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1004c2c1
push 1
push 0x9ab
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, eax
call fcn.1004f4f5
jmp 0x1004c2c1
xor ebx, ebx
mov esi, 0x1008aa48
inc ebx
jmp 0x1004c21b
mov eax, dword [0x1008b3f0]
mov esi, 0x1008aa50
push 0xf
pop ebx
push 0
push 0xa11
mov dword [0x1008aab8], eax
mov eax, dword [0x1008b364]
push edi
mov dword [0x1008aac0], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
push 0
push 0xa12
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
push 0
push 0xa15
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
push 0
push 0x1789
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
jmp 0x1004c21b
mov eax, dword [0x1008b364]
mov esi, 0x1008aad0
push 0xa
pop ebx
push 0
push 0xa72
push edi
mov dword [0x1008ab18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
push 0
push 0xa73
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
push 0
push 0xa74
jmp 0x1004bfd1
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0xb37
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0xc
mov esi, eax
push 0xf4
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 0xb8]
call fcn.10064a1a
push eax
push 0
push 0xf7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0xfb8
push dword [0x1008b1e4]
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.1004bd02
push 0x104
mov dword [ebx + 0xd8], eax
lea eax, [esp + 0x1c]
push eax
push 0xfb9
push dword [0x1008b1e4]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0xad4
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esp + 0x18]
mov ecx, eax
call fcn.1004bd02
push 0x43
push edi
mov dword [ebx + 0xdc], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
mov dword [ebx + 0x44], eax
push esi
push 0xad6
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, eax
call fcn.1004f4f5
cmp dword [ebp + 8], 0x100
jne 0x1004c126
push esi
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 9
pop ebx
push esi
push 0xad4
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 0xad7
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 0xad8
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 0xad9
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push 0x190
push 0x141
push 0x43
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
test byte [eax + 0x40], 8
je 0x1004c216
mov esi, 0x10005b90
push esi
push 0x1795
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push 0x1794
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp eax, 0x411
jne 0x1004c216
push 0xacd
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1004c320
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xace
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x1004c320
mov esi, eax
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push eax
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, 0x1008ab20
add esi, 4
push dword [esi]
mov dword [esp + 0x14], 0x190
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004c293
cmp dword [esi], 0x6c
je 0x1004c293
cmp dword [esi], 0x99f
je 0x1004c2a8
cmp dword [esi], 0xa10
je 0x1004c2a8
cmp dword [esi], 0xa71
je 0x1004c2a8
cmp dword [esi], 0x17a1
jle 0x1004c264
cmp dword [esi], 0x17a3
jle 0x1004c293
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0xc5
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 8], 0x100
jne 0x1004c293
push 0
push 1
push 0xcf
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
add esi, 8
sub ebx, 1
jne 0x1004c21e
cmp dword [ebp + 0xc], 2
jne 0x1004c2af
mov edx, 0xa71
jmp 0x1004c2ba
mov ecx, 0x620
jmp 0x1004c268
cmp dword [ebp + 0xc], 3
jne 0x1004c2c1
mov edx, 0xa10
mov ecx, edi
call fcn.1004fab6
cmp dword [ebp + 8], 0x100
jne 0x1004c2fd
xor esi, esi
mov ecx, dword [esi + 0x100071a0]
mov eax, ecx
sub eax, 0xa1a
je 0x1004c2f5
sub eax, 0x5b
je 0x1004c2f5
push ecx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1004c2f5
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add esi, 4
cmp esi, 0x5c
jb 0x1004c2cc
mov ecx, dword [esp + 0x224]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.10087900
mov esp, ebp
pop ebp
ret 8