Function at 0x1000f620
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068a3f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x100801a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 0
push 0
push 0xfa
push 0x1a4
push 0
push 0
sub esp, 0x18
xor eax, eax
mov esi, esp
push 0xd
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Choose_Outfit
push esi
mov dword [esi + 0x10], 0xd
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 0xd], 0
mov ecx, ebx
call fcn.100175d0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.GUIOutfitDialog.0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
push 0
push 0
push 0
lea eax, [ebx + 0x34]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.1000d3d0
mov edi, 0xffffffaa
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x2c]
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 5
sub eax, ecx
push eax
push ebx
push 0x10016180
sub esp, 0x18
xor eax, eax
mov esi, esp
push 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Cancel
push esi
mov dword [esi + 0x10], 6
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 6], 0
mov ecx, ebx
call fcn.10017a50
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 0x2c]
lea eax, [eax + eax*2]
shl eax, 5
sub edi, eax
xor eax, eax
push edi
mov edi, ebx
push edi
push 0x1000f4e0
sub esp, 0x18
mov esi, esp
push 2
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push 0x10079080
push esi
mov dword [esi + 0x10], 2
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 2], 0
mov ecx, edi
call fcn.10017a50
push 0x22
push 0x6e
push 4
mov ecx, edi
call fcn.10017370
push 1
push 1
push 0
push 0
push edi
push 0x1000f2e0
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x1c], esp
push 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Head
push esi
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 4], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 0x18], 4
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ecx*4]
mov byte [ebp - 4], 1
call fcn.10012630
push 1
push 1
push 0x19
push 0
push edi
push 0x1000f300
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [esi], eax
mov dword [esi + 4], eax
push 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Body
push esi
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 4], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 0x18], 4
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ecx*4]
mov byte [ebp - 4], 1
call fcn.10012630
push 1
push 1
push 0x32
push 0
push edi
push 0x1000f320
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x1c], esp
push 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Legs
push esi
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 4], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 0x18], 4
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ecx*4]
mov byte [ebp - 4], 1
call fcn.10012630
push 1
push 1
push 0x4b
push 0
push edi
push 0x1000f340
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x1c], esp
push 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Feet
push esi
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 4], 0
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x34]
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ecx*4]
mov byte [ebp - 4], 1
call fcn.10012630
push 0x6d
push 0x14
push 5
mov ecx, edi
call fcn.10017370
push 1
push 0
push 0
push 0
push edi
push 0x1000f360
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x1c], esp
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Previous
push esi
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 8], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 0x18], 5
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ecx*4]
mov byte [ebp - 4], 1
call fcn.10012630
push 1
push 0
push 0
push 0x2c
push edi
push 0x1000f420
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x1c], esp
push 4
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push str.Next
push esi
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 4], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 0x18], 5
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ecx*4]
mov byte [ebp - 4], 1
call fcn.10012630
push 0x48
mov dword [ebp - 0x1c], 6
call fcn.10042cf2
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
push 0
push 0x154
push 0x91
push 0x14
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.10016550
mov dword [esi], vtable.LabelEx.0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0xff
mov dword [esi + 0x3c], 0xff
mov dword [esi + 0x38], 0xff
mov dword [esi + 0x44], 0
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x18], esi
cmp eax, dword [ebx + 0x30]
je 0x1000faf9
mov dword [eax], esi
add dword [ebx + 0x2c], 4
jmp 0x1000fb06
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebx + 0x28]
call fcn.100163f0
mov dword [esi + 0x1c], edi
cmp dword [edi + 0x3c], 0
jne 0x1000fb1c
cmp byte [esi + 0x1a], 0
je 0x1000fb1c
mov dword [edi + 0x3c], esi
mov byte [esi + 0x1b], 1
mov esi, dword [ebx + 0x2c]
lea eax, [ebp - 0x1c]
sub esi, dword [ebx + 0x28]
lea ecx, [edi + 0x34]
push eax
sar esi, 2
call fcn.1000d3d0
lea ecx, [esi - 1]
mov dword [ebp - 0x2c], 0xf
push 0xa0
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.10042cf2
mov dword [ebp - 0x40], eax
mov ecx, 0x27
mov dword [ebp - 0x30], 0x9e
mov esi, str.Choose_an_outfit_and_determine_the_colours_of_the_various_parts_of_your_characters_body_n_nQuest_outfits_such_as_faction_outfits_can_also_be_found_in_this_menu
mov dword [ebp - 0x2c], 0x9f
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add esp, 4
movsw word es:[edi], word [esi]
mov byte [eax + 0x9e], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x1c], 6
call fcn.1000d3d0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov esi, dword [eax + ecx*4]
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push dword [esi + 0x10]
mov dword [esi + 0x34], 4
sub esp, 0x18
mov dword [esi + 0x38], 0xbf
mov dword [esi + 0x3c], 0xbf
mov ecx, esp
mov dword [esi + 0x40], 0xbf
mov dword [esi + 0x44], 0
push eax
call fcn.10005b80
mov edx, dword [esi + 0x34]
lea ecx, [ebp - 0x28]
call fcn.100200d0
add esp, 0x1c
lea ecx, [esi + 0x28]
push eax
call fcn.100144c0
lea ecx, [ebp - 0x28]
call fcn.10004b70
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
jb 0x1000fc05
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
push eax
push dword [esi + 0x34]
mov eax, 0x491b80
call eax
mov dword [esi + 0x10], eax
add esp, 0xc
mov ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x28]
imul ecx
mov byte [ebp - 4], 1
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
mov dword [esi + 0x14], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1000fc76
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000fc6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000fddc
push ecx
push edx
call fcn.10042d22
add esp, 8
mov edi, dword [ebp - 0x10]
mov ecx, edi
push 0x16
push 0x3f
push 7
call fcn.10017430
sub esp, 0x18
xor eax, eax
mov esi, esp
mov dword [ebp - 0x18], esp
push 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push 0x100792c0
push esi
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0xf
call fcn.10044580
add esp, 0xc
mov byte [esi + 1], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 0x1c], 7
call fcn.1000d3d0
sub esp, 0x14
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + ecx*4]
mov eax, esp
mov byte [ebp - 4], 1
mov dword [eax], 4
mov dword [eax + 4], 0xbf
mov dword [eax + 8], 0xbf
mov dword [eax + 0xc], 0xbf
mov dword [eax + 0x10], 1
call fcn.10014230
lea eax, [ebp - 0x1c]
mov dword [edi + 0x5c], 0
push eax
lea ecx, [edi + 0x34]
mov dword [ebp - 0x1c], 4
call fcn.1000d3d0
mov dword [ebp - 0x18], 1
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x18]
push ecx
add eax, 0x28
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.10012dc0
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xd], 0
jne 0x1000fd65
cmp dword [eax + 0x10], 1
ja 0x1000fd65
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
je 0x1000fd65
mov eax, dword [eax + 0x14]
jmp 0x1000fd67
xor eax, eax
mov byte [eax + 0x19], 1
lea ecx, [edi + 0x34]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
call fcn.1000d3d0
mov dword [ebp - 0x18], 1
mov ecx, dword [eax]
mov eax, dword [ebx + 0x28]
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x28]
call fcn.10012dc0
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xd], 0
jne 0x1000fdb6
cmp dword [eax + 0x10], 1
ja 0x1000fdb6
cmp eax, dword [esi + 0x28]
je 0x1000fdb6
mov eax, dword [eax + 0x14]
jmp 0x1000fdb8
xor eax, eax
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x1000fdc8
push dword [eax + 0x20]
push eax
call ecx
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1004fd3c
int3