Function at 0x482150
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 1
push edi
cmp dword [esi + 0xdc0], ebx
jne 0x482176
call fcn.00487de0
push eax
push str.BBIDD_start___d__n
call fcn.00487d20
add esp, 8
mov eax, dword [esi + 0x5c]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x81000000
push 0xfffffffffffffff0
push eax
call edi
mov ecx, dword [esi + 0x5c]
push 8
push 0xffffffffffffffec
push ecx
call edi
mov edx, dword [esi + 0x5c]
push ebx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x5c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push ebx
call edi
push eax
push 0
call edi
mov ecx, dword [esi + 0x5c]
push eax
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x8b4]
lea edi, [esi + 0xd28]
lea ebp, [esi + 0x8b8]
push 0
mov dword [edi], 0x6c
mov dword [esi + 0xd2c], ebx
mov dword [esi + 0xd90], 0x200
mov edx, dword [eax]
push ebp
push edi
push eax
call dword [edx + 0x18]
mov ebx, eax
test ebx, ebx
je 0x482236
cmp dword [esi + 0xdc0], 1
jne 0x482410
call fcn.00487de0
push eax
push ebx
mov ecx, esi
call fcn.004826d0
push eax
push str.BBIDD_failed_CS_returncode_s_returning_with_free___d__n
call fcn.00487d20
add esp, 0xc
mov ecx, esi
call fcn.00482480
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [ebp]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov ebx, eax
test ebx, ebx
je 0x48227d
cmp dword [esi + 0xdc0], 1
jne 0x482410
call fcn.00487de0
push eax
push ebx
mov ecx, esi
call fcn.004826d0
push eax
push str.BBIDD_failed_GSD_returncode_s_returning_with_free___d__n
call fcn.00487d20
add esp, 0xc
mov ecx, esi
call fcn.00482480
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov cl, byte [esi + 0xd74]
mov eax, dword [esi + 0xd7c]
test cl, 0x40
mov ebx, 8
je 0x4822eb
cmp eax, ebx
mov ecx, eax
ja 0x48229b
mov ecx, ebx
cmp ecx, 0x20
jae 0x4822b0
cmp eax, 8
jbe 0x4822a9
mov ebx, eax
jmp 0x4822b5
mov ebx, 8
jmp 0x4822b5
mov ebx, 0x20
test ah, 4
je 0x4822bf
mov ebx, 0x10
test ah, 2
je 0x4822c9
mov ebx, 0x18
test ah, 1
je 0x4822d3
mov ebx, 0x20
mov edx, dword [esi + 0xd88]
mov eax, dword [esi + 0xd84]
mov ecx, dword [esi + 0xd80]
push edx
push eax
push ecx
push ebx
jmp 0x4822f3
push 0
push 0
push 0
push 8
lea ecx, [esi + 0xcc4]
call fcn.00480b30
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi + 0xd34], edx
mov dword [esi + 0xd30], eax
mov eax, dword [esi + 0x8b4]
lea edx, [esi + 0x8bc]
push 0
mov dword [esi + 0xd2c], 0x1007
mov dword [esi + 0xd90], 0x840
mov ecx, dword [eax]
push edx
push edi
push eax
call dword [ecx + 0x18]
mov edi, eax
test edi, edi
je 0x482379
cmp dword [esi + 0xdc0], 1
jne 0x482410
call fcn.00487de0
push eax
push edi
mov ecx, esi
call fcn.004826d0
push eax
push str.BBIDD_failed_CS_2_returncode_s_returning_with_free___d__n
call fcn.00487d20
add esp, 0xc
mov ecx, esi
call fcn.00482480
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp ebx, 8
jne 0x48241e
mov eax, dword [esi + 0x8b4]
lea edi, [esi + 0x8c0]
push 0
lea edx, [esi + 0x8c4]
mov ecx, dword [eax]
push edi
push edx
push 4
push eax
call dword [ecx + 0x14]
mov ebx, eax
test ebx, ebx
je 0x4823d9
cmp dword [esi + 0xdc0], 1
jne 0x482410
call fcn.00487de0
push eax
push ebx
mov ecx, esi
call fcn.004826d0
push eax
push str.BBIDD_failed_CP_returncode_s_returning_with_free___d__n
call fcn.00487d20
add esp, 0xc
mov ecx, esi
call fcn.00482480
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [ebp]
mov edx, dword [edi]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov edi, eax
test edi, edi
je 0x48241e
cmp dword [esi + 0xdc0], 1
jne 0x482410
call fcn.00487de0
push eax
push edi
mov ecx, esi
call fcn.004826d0
push eax
push str.BBIDD_failed_SP_returncode_s_returning_with_free___d__n
call fcn.00487d20
add esp, 0xc
mov ecx, esi
call fcn.00482480
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp dword [esi + 0xdc0], 1
jne 0x48243a
call fcn.00487de0
push eax
push str.BB_end_success___d__n
call fcn.00487d20
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8