Function at 0x479b40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fdb66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x24], ebp
call fcn.0046b880
xor ebx, ebx
mov dword [ebp], 0x5088a0
lea ecx, [esp + 0x18]
mov dword [ebp + 8], str.Login_gump
lea edx, [esp + 0x1c]
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x58], 0x44c
mov dword [ebp + 0x9c], 0xffffffff
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0xa0], ebx
mov eax, dword [0xcf153c]
push ecx
push edx
push 0xa28
mov dword [esp + 0x3c], ebx
mov dword [ebp + 0xa4], eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x20], 0x280
mov dword [ebp + 0x24], 0x1e0
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
call fcn.004a9760
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add ecx, 0x46
push str.framedata_for_CDumbGump
lea esi, [eax + 0xa0]
push 8
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x14], ebx
lea edx, [esi + 0x14]
mov dword [ebp + 0x18], 1
mov dword [esp + 0x28], edx
call fcn.004b9f50
mov ecx, dword [ebp + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 0x40], edi
push str.dumb_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x24]
imul eax, dword [ebp + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [ebp + 0x40]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x40]
mov dx, word [ebp + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [ebp + 0x40]
mov dx, word [ebp + 0x24]
mov ecx, dword [eax + 4]
xor eax, eax
mov word [ecx + 2], dx
mov ecx, dword [ebp + 0x24]
imul ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x40]
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x40]
mov edi, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [eax + eax + 0xff]
push 0xa28
push edx
lea edx, [ecx + ecx + 0x140]
push edx
mov edx, edi
sub edx, eax
mov eax, esi
sub eax, ecx
push edx
push eax
call fcn.00446180
push 0x1d0
call fcn.004ed8ee
add esp, 0x3c
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 1
je 0x479cff
push ebx
push ebx
push ebx
push 0x34f
push 2
push 0x10
push 2
push 0x1e
push 0x140
add edi, 0xfffffff6
push ebp
add esi, 0x3c
push edi
push esi
mov ecx, eax
call fcn.00443f40
mov edx, eax
mov dword [esp + 0x10], edx
jmp 0x479d05
mov dword [esp + 0x10], ebx
mov edx, ebx
mov edi, str.Character_Selection
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 0xf8], ebx
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0xfc]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x20], esi
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x30], bl
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
mov ecx, edx
push esi
push ebp
mov dword [edx + 0xc0], ebx
call fcn.0046af30
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x17c]
push 0x1d4
mov dword [edi + 0x9c], 0xffffffff
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 2
je 0x479db1
mov edi, dword [ebp + 0x34]
push ebx
push ebx
push esi
push 0x386
push 5
push 0x1e
push ebx
mov ecx, 0x96
push 0x1e
push 0x118
sub ecx, edi
mov edi, dword [esp + 0x38]
push ebp
push ecx
push edi
mov ecx, eax
call fcn.00443280
jmp 0x479db7
mov edi, dword [esp + 0x14]
xor eax, eax
push esi
push ebp
mov ecx, eax
mov byte [esp + 0x38], bl
mov dword [ebp + 0xbc], eax
call fcn.0046af30
mov edx, dword [ebp + 0xbc]
mov dword [edx + 0xc4], esi
mov eax, dword [ebp + 0xbc]
mov word [eax + 0x1d2], 0x23
mov ecx, dword [ebp + 0xbc]
mov word [ecx + 0x1d0], 0x2b8
mov edx, dword [ebp + 0xbc]
mov byte [edx + 0xf2], 0x16
mov eax, dword [ebp + 0xbc]
mov byte [eax + 0xf3], bl
mov ecx, dword [ebp + 0xbc]
mov dword [ecx + 0xc0], esi
mov edx, dword [ebp + 0xbc]
mov dword [edx + 0x9c], 0x186b7
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ecx]
call dword [eax + 0x17c]
push 0x1d4
mov dword [ebp + 0xa8], 0xffffffff
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 3
je 0x479e85
mov edx, dword [ebp + 0x34]
push ebx
push ebx
push esi
push 0x386
push 5
push 0x1e
push ebx
mov ecx, 0xbe
push 0x1e
push 0x118
sub ecx, edx
push ebp
push ecx
push edi
mov ecx, eax
call fcn.00443280
jmp 0x479e87
xor eax, eax
push esi
push ebp
mov ecx, eax
mov byte [esp + 0x38], bl
mov dword [ebp + 0xc0], eax
call fcn.0046af30
mov edx, dword [ebp + 0xc0]
mov dword [edx + 0xc4], esi
mov eax, dword [ebp + 0xc0]
mov word [eax + 0x1d2], 0x23
mov ecx, dword [ebp + 0xc0]
mov word [ecx + 0x1d0], 0x2b8
mov edx, dword [ebp + 0xc0]
mov byte [edx + 0xf2], 0x16
mov eax, dword [ebp + 0xc0]
mov byte [eax + 0xf3], bl
mov ecx, dword [ebp + 0xc0]
mov dword [ecx + 0xc0], esi
mov edx, dword [ebp + 0xc0]
mov dword [edx + 0x9c], 0x186b7
mov ecx, dword [ebp + 0xc0]
mov eax, dword [ecx]
call dword [eax + 0x17c]
push 0x1d4
mov dword [ebp + 0xac], 0xffffffff
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 4
je 0x479f55
mov edx, dword [ebp + 0x34]
push ebx
push ebx
push esi
push 0x386
push 5
push 0x1e
push ebx
mov ecx, 0xe6
push 0x1e
push 0x118
sub ecx, edx
push ebp
push ecx
push edi
mov ecx, eax
call fcn.00443280
jmp 0x479f57
xor eax, eax
push esi
push ebp
mov ecx, eax
mov byte [esp + 0x38], bl
mov dword [ebp + 0xc4], eax
call fcn.0046af30
mov edx, dword [ebp + 0xc4]
mov dword [edx + 0xc4], esi
mov eax, dword [ebp + 0xc4]
mov word [eax + 0x1d2], 0x23
mov ecx, dword [ebp + 0xc4]
mov word [ecx + 0x1d0], 0x2b8
mov edx, dword [ebp + 0xc4]
mov byte [edx + 0xf2], 0x16
mov eax, dword [ebp + 0xc4]
mov byte [eax + 0xf3], bl
mov ecx, dword [ebp + 0xc4]
mov dword [ecx + 0xc0], esi
mov edx, dword [ebp + 0xc4]
mov dword [edx + 0x9c], 0x186b7
mov ecx, dword [ebp + 0xc4]
mov eax, dword [ecx]
call dword [eax + 0x17c]
push 0x1d4
mov dword [ebp + 0xb0], 0xffffffff
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 5
je 0x47a025
mov edx, dword [ebp + 0x34]
push ebx
push ebx
push esi
push 0x386
push 5
push 0x1e
push ebx
mov ecx, 0x10e
push 0x1e
push 0x118
sub ecx, edx
push ebp
push ecx
push edi
mov ecx, eax
call fcn.00443280
jmp 0x47a027
xor eax, eax
push esi
push ebp
mov ecx, eax
mov byte [esp + 0x38], bl
mov dword [ebp + 0xc8], eax
call fcn.0046af30
mov edx, dword [ebp + 0xc8]
mov dword [edx + 0xc4], esi
mov eax, dword [ebp + 0xc8]
mov word [eax + 0x1d2], 0x23
mov ecx, dword [ebp + 0xc8]
mov word [ecx + 0x1d0], 0x2b8
mov edx, dword [ebp + 0xc8]
mov byte [edx + 0xf2], 0xb
mov eax, dword [ebp + 0xc8]
mov byte [eax + 0xf3], bl
mov ecx, dword [ebp + 0xc8]
mov dword [ecx + 0xc0], esi
mov edx, dword [ebp + 0xc8]
mov dword [edx + 0x9c], 0x186b7
mov ecx, dword [ebp + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x17c]
push 0x1d4
mov dword [ebp + 0xb4], 0xffffffff
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 6
je 0x47a0f5
mov edx, dword [ebp + 0x34]
push ebx
push ebx
push esi
push 0x386
push 5
push 0x1e
push ebx
mov ecx, 0x136
push 0x1e
push 0x118
sub ecx, edx
push ebp
push ecx
push edi
mov ecx, eax
call fcn.00443280
jmp 0x47a0f7
xor eax, eax
push esi
push ebp
mov ecx, eax
mov byte [esp + 0x38], bl
mov dword [ebp + 0xcc], eax
call fcn.0046af30
mov edx, dword [ebp + 0xcc]
mov dword [edx + 0xc4], esi
mov eax, dword [ebp + 0xcc]
mov word [eax + 0x1d2], 0x23
mov ecx, dword [ebp + 0xcc]
mov word [ecx + 0x1d0], 0x2b8
mov edx, dword [ebp + 0xcc]
mov byte [edx + 0xf2], 0x16
mov eax, dword [ebp + 0xcc]
mov byte [eax + 0xf3], bl
mov ecx, dword [ebp + 0xcc]
mov dword [ecx + 0xc0], esi
mov edx, dword [ebp + 0xcc]
mov dword [edx + 0x9c], 0x186b7
mov ecx, dword [ebp + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x17c]
mov ecx, dword [ebp + 0xa4]
mov dword [ebp + 0xb8], 0xffffffff
mov edx, dword [ebp + ecx*4 + 0xbc]
mov dword [edx + 0xe8], esi
mov eax, dword [ebp + 0xa4]
mov ecx, dword [ebp + eax*4 + 0xbc]
mov edx, dword [ecx]
call dword [edx + 0x17c]
push 0xf0
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 7
je 0x47a1ed
mov edx, dword [ebp + 0x34]
push ebx
push 0x159f
push 0x159d
push fcn.0049f110
mov ecx, 0x15e
push ebx
push ebx
sub ecx, edx
push ebp
push ecx
push edi
mov ecx, eax
call fcn.0043ba10
mov edi, eax
jmp 0x47a1ef
xor edi, edi
push esi
push ebp
mov ecx, edi
mov byte [esp + 0x38], bl
mov dword [edi + 0xb0], 0x159e
call fcn.0046af30
push 0xf0
mov dword [edi + 0x9c], 0x186b9
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 8
je 0x47a25e
mov ecx, dword [ebp + 0x34]
push ebx
push 0x159c
mov edx, 0x15e
push 0x159a
push 0x49f1c0
sub edx, ecx
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push ebp
add ecx, 0xda
push edx
push ecx
mov ecx, eax
call fcn.0043ba10
mov edi, eax
jmp 0x47a260
xor edi, edi
push esi
push ebp
mov ecx, edi
mov byte [esp + 0x38], bl
mov dword [edi + 0xb0], 0x159b
call fcn.0046af30
push 0xf0
mov dword [edi + 0x9c], 0x186b8
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 9
je 0x47a2c1
push ebx
push 0x15a6
push 0x15a4
push fcn.0049ee40
push ebx
push ebx
push ebp
push 0x1bd
push 0x262
mov ecx, eax
call fcn.0043ba10
jmp 0x47a2c3
xor eax, eax
mov dword [ebp + 0xd0], eax
mov dword [eax + 0xb0], 0x15a5
mov ecx, dword [ebp + 0xd0]
push esi
push ebp
mov byte [esp + 0x38], bl
call fcn.0046af30
mov edx, dword [ebp + 0xd0]
push 0xf0
mov dword [edx + 0x9c], 0x186bb
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x30], 0xa
je 0x47a334
push ebx
push 0x15a3
push 0x15a1
push fcn.004a1a90
push ebx
push ebx
push ebp
push 0x1bd
push 0x24a
mov ecx, eax
call fcn.0043ba10
jmp 0x47a336
xor eax, eax
mov dword [ebp + 0xd4], eax
mov dword [eax + 0xb0], 0x15a2
mov ecx, dword [ebp + 0xd4]
push esi
push ebp
mov byte [esp + 0x38], bl
call fcn.0046af30
mov eax, dword [ebp + 0xd4]
push ebp
mov dword [eax + 0x9c], 0x186ba
call fcn.00449f50
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, ebp
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret