Function at 0x476f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x70ceab
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x78b624]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push edi
mov eax, dword [0x78b624]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12c]
mov esi, ecx
mov dword [esp + 0xc], 0
push str.facelist.ini
push eax
lea eax, [esp + 0x1c]
push str._s_s
push eax
mov dword [esp + 0x134], 0
call dword [0x72a7c0]
mov ecx, dword [str.FaceListMain]
mov dword [esi + 0x2c], ecx
mov edx, dword [0x7300f0]
mov dword [esi + 0x30], edx
mov eax, dword [0x7300f4]
mov dword [esi + 0x34], eax
mov cl, byte [0x7300f8]
mov byte [esi + 0x38], cl
mov ecx, dword [esp + 0x1c]
add esp, 0x10
test ecx, ecx
je 0x477028
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0xc], 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
call dword [0x72a158]
add esp, 0xc
test eax, eax
mov dword [esp + 0xc], eax
je 0x4772b8
mov edx, dword [esi]
mov edx, dword [edx + 8]
push str.Main
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
mov eax, dword [esi + 0xa2c]
mov eax, dword [eax + 8]
lea ecx, [esi + 0xa2c]
push str.BtnMore
lea edx, [esp + 0x10]
push edx
call eax
mov edx, dword [esi + 0x3fc]
mov edx, dword [edx + 8]
lea ecx, [esi + 0x3fc]
push str.BtnLess
lea eax, [esp + 0x10]
push eax
call edx
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov edi, 1
je 0x47711b
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push 0x79a194
push 0
push str.ColumnCount
push str.Main
call edx
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x47711b
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esi + 0x105c]
push edx
push 0
push str.BigColumnCount
push str.Main
call eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x47711b
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0x79a198
push 0
push 0x72e008
push str.Main
call eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x47711b
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esi + 0x1068]
push eax
push edi
push str.BtnWidth
push str.Main
call edx
mov ecx, dword [esp + 0xc]
cmp dword [esi + 0x1068], edi
jge 0x477129
mov dword [esi + 0x1068], edi
test ecx, ecx
je 0x47714a
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esi + 0x106c]
push edx
push edi
push str.BtnHeight
push str.Main
call eax
mov ecx, dword [esp + 0xc]
cmp dword [esi + 0x106c], edi
jge 0x477158
mov dword [esi + 0x106c], edi
test ecx, ecx
je 0x4771c0
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esi + 0x1060]
push eax
push 0
push str.IndentH
push str.Main
call edx
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4771c0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esi + 0x1064]
push edx
push 0
push str.IndentV
push str.Main
call eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4771c0
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 0x80
lea eax, [esp + 0x18]
push eax
push str.black
push str.BgColor
push str.Main
call edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00464170
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
and eax, 0xffffff
add esp, 8
test ecx, ecx
mov dword [esi + 0x1070], eax
je 0x477207
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 0x80
lea eax, [esp + 0x18]
push eax
push str.black
push str.BgOver
push str.Main
call edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00464170
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
and eax, 0xffffff
add esp, 8
test ecx, ecx
mov dword [esi + 0x1074], eax
je 0x47724e
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 0x80
lea eax, [esp + 0x18]
push eax
push str.black
push str.BorderColor
push str.Main
call edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00464170
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
add esp, 8
test ecx, ecx
mov dword [esi + 0x107c], eax
je 0x47728a
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esi + 0x1078]
push eax
push 0
push str.BgAlpha
push str.Main
call edx
mov eax, dword [esi + 0x1078]
mov ecx, dword [esi + 0x1068]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
shl eax, 0x18
or dword [esi + 0x1070], eax
imul ecx, dword [0x79a194]
mov eax, dword [esi + 0x20]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x124], 0xffffffff
je 0x4772d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0069516a
add esp, 0x11c
ret 4