Function at 0x46a630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcb84
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x50f52c]
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 edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0046a560
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
push 0x12
mov esi, 0xf
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.00426020
mov byte [ebp - 4], 3
push 0x4ed230
push eax
lea edx, [ebp - 0xc0]
push edx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [edi + 0x54]
push eax
call fcn.00469c90
mov eax, dword [eax]
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], 0x10
jb 0x46a705
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc4], 0x10
jb 0x46a733
mov edx, dword [ebp - 0xd8]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0x10
jb 0x46a75b
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], 0x10
jb 0x46a779
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004b29fa
add esp, 4
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.0046a560
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 5
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xdc]
push eax
call fcn.00426020
mov byte [ebp - 4], 7
push 0x4ed22c
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
mov edx, dword [edi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], 0x10
jb 0x46a817
mov eax, dword [ebp - 0x68]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0xc4], 0x10
jb 0x46a83c
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x38], 0x10
jb 0x46a864
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa8], 0x10
jb 0x46a888
mov eax, dword [ebp - 0xbc]
push eax
call fcn.004b29fa
add esp, 4
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.0046a560
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 9
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00426020
mov byte [ebp - 4], 0xb
push 0x4ed228
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0xc
push eax
lea ecx, [edi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x54], 0x10
jb 0x46a92f
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xc4], 0x10
jb 0x46a954
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], 0x10
jb 0x46a97c
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa8], 0x10
jb 0x46a9a0
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004b29fa
add esp, 4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
call fcn.0046a560
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xd
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.0046a560
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xe
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.00426020
mov byte [ebp - 4], 0x10
push 0x4ed224
push eax
lea ecx, [ebp - 0xdc]
push ecx
call fcn.00425f60
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00426020
add esp, 0x24
mov byte [ebp - 4], 0x12
push eax
lea ecx, [edi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x54], 0x10
jb 0x46aa74
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xc4], 0x10
jb 0x46aa99
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xa8], 0x10
jb 0x46aac7
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x38], 0x10
jb 0x46aaef
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x8c], 0x10
jb 0x46ab14
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x70], 0x10
jb 0x46ab3e
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004b29fa
add esp, 4
mov edx, dword [ebp + 0x24]
push ebx
push 0x4e25d8
push edx
push ebx
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
call fcn.00401fe0
test eax, eax
je 0x46ad9b
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0046a560
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x13
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00426020
mov byte [ebp - 4], 0x15
push 0x4ed220
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0x16
cmp dword [ebp + 0x28], 8
jb 0x46abd4
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x30], ecx
jmp 0x46abda
lea edx, [ebp + 0x14]
mov dword [ebp - 0x30], edx
push eax
lea ecx, [edi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x70], 0x10
jb 0x46ac14
mov edx, dword [ebp - 0x84]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x8c], 0x10
jb 0x46ac3c
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x38], 0x10
jb 0x46ac64
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], 0x10
jb 0x46ac82
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b29fa
add esp, 4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.0046a560
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x17
push 0x12
push str.IDC_CONFIG_STATUS_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00426020
mov byte [ebp - 4], 0x19
push 0x4ed220
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [edi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x70], 0x10
jb 0x46ad24
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x8c], 0x10
jb 0x46ad4c
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x38], 0x10
jb 0x46ad74
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], 0x10
jb 0x46ad92
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.0046a560
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x1b
push 0x12
push str.IDC_CONFIG_CANCEL_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.00426020
mov byte [ebp - 4], 0x1d
push 0x4ed208
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [edi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
mov edx, dword [edi + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x2c]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x70], 0x10
jb 0x46ae3d
mov edx, dword [ebp - 0x84]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x8c], 0x10
jb 0x46ae65
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x38], 0x10
jb 0x46ae8d
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], 0x10
jb 0x46aeab
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b29fa
add esp, 4
lea eax, [ebp - 0x30]
push 0xcc
push eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
call fcn.004285a0
add esp, 8
mov byte [ebp - 4], 0x1f
mov ecx, dword [eax]
xor edx, edx
mov eax, ecx
mov word [ebp - 0x28], dx
lea edx, [eax + 2]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], edx
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x46aee3
sub eax, dword [ebp - 0x34]
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401860
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x30]
call fcn.0041c0e0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
push 0x4ed200
push ecx
call fcn.00401a30
mov byte [ebp - 4], 0x22
push 0x4ed1f4
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.00401b00
add esp, 0x18
mov byte [ebp - 4], 0x23
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401750
mov byte [ebp - 4], 0x22
cmp dword [ebp - 0x70], 8
jb 0x46af60
mov eax, dword [ebp - 0x84]
push eax
call fcn.004b29fa
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], cx
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x8c], 8
jb 0x46af8f
mov edx, dword [ebp - 0xa0]
push edx
call fcn.004b29fa
add esp, 4
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x6c]
xor eax, eax
push edx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], ax
call fcn.0046a560
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x24
push 0x12
push str.IDC_CONFIG_CANCEL_
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.00402840
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0xa4]
push edx
call fcn.00426020
mov byte [ebp - 4], 0x26
push 0x4ed208
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00425f60
add esp, 0x18
mov byte [ebp - 4], 0x27
cmp dword [ebp - 0x14], 8
jb 0x46b017
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
jmp 0x46b01d
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], edx
push eax
lea ecx, [edi + 0x54]
call fcn.00469c90
mov eax, dword [eax]
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 0x26
mov edi, 0x10
cmp dword [ebp - 0x70], edi
jb 0x46b05b
mov edx, dword [ebp - 0x84]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x8c], edi
jb 0x46b082
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x38], edi
jb 0x46b0a9
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x54], edi
jb 0x46b0c7
mov edx, dword [ebp - 0x68]
push edx
call fcn.004b29fa
add esp, 4
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], bl
mov esi, 8
cmp dword [ebp - 0x14], esi
jb 0x46b0e9
mov eax, dword [ebp - 0x28]
push eax
call fcn.004b29fa
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x28], esi
jb 0x46b112
mov edx, dword [ebp + 0x14]
push edx
call fcn.004b29fa
add esp, 4
xor eax, eax
mov word [ebp + 0x14], ax
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x24], ebx
mov eax, 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.004b3057
mov esp, ebp
pop ebp
ret 0x28