Function at 0x6f1eb0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7a68a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x58]
call fcn.00405f70
lea ecx, [esp + 0x48]
call fcn.00405f70
lea ecx, [esp + 0x68]
call fcn.00405f70
lea ecx, [esp + 0x20]
call fcn.005ff150
lea ecx, [esp + 0x14]
mov dword [esp + 0x104], 0
call fcn.005ff150
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 1
call fcn.005ff150
mov bl, 2
push str.RACE
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], bl
call fcn.00630ba0
mov eax, dword [0x828508]
mov edi, dword [ebp + 0xc]
mov eax, dword [eax + 0x130]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x20]
push ecx
movzx ecx, word [edi + 0x18]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x110], 3
call fcn.0041d1f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x104], bl
call fcn.00630d30
push str.ENVMAP
lea ecx, [esp + 0x10]
call fcn.00630ba0
mov edx, dword [0x828508]
mov eax, dword [edx + 0x130]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x14]
push ecx
movzx ecx, word [edi + 0x18]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x110], 4
call fcn.0041d1f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x104], bl
call fcn.00630d30
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6f1ffa
lea edx, [eax + 1]
jmp 0x6f1fd0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f1fd0
sub eax, edx
test eax, eax
jle 0x6f1ffa
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
call int.004062d0
mov dword [esp + 0x1c], 1
jmp 0x6f2002
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x5c]
push edx
push edi
mov ecx, esi
call fcn.006f17e0
mov ax, word [esi + 0x18]
cmp ax, word [edi + 0x18]
jne 0x6f208e
mov ecx, dword [esi + 0x14]
cmp ecx, dword [edi + 0x14]
jne 0x6f208e
mov dl, byte [esi]
cmp dl, byte [edi]
jne 0x6f208e
mov al, byte [esi + 1]
cmp al, byte [edi + 1]
jne 0x6f208e
mov cl, byte [esi + 0x1b]
cmp cl, byte [edi + 0x1b]
jne 0x6f208e
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 1
call fcn.00630d30
lea ecx, [esp + 0x14]
mov byte [esp + 0x104], 0
call fcn.00630d30
lea ecx, [esp + 0x20]
mov dword [esp + 0x104], 0xffffffff
call fcn.00630d30
mov eax, 1
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dl, byte [edi]
mov byte [esi], dl
mov al, byte [edi + 1]
mov byte [esi + 1], al
mov cx, word [edi + 0x18]
mov word [esi + 0x18], cx
mov edx, dword [edi + 0x14]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x14], edx
mov al, byte [edi + 0x1b]
push 1
mov byte [esi + 0x1b], al
mov edx, dword [ecx]
push 0xfe
call dword [edx + 0x98]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x6f20d1
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x58]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x11c]
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
push 0xff
call dword [eax + 0x7c]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push eax
push 0xff
lea eax, [esp + 0x60]
push eax
call dword [edx + 0x78]
test eax, eax
jne 0x6f2172
lea ecx, [esp + 0x58]
call fcn.00406080
push eax
lea ecx, [esp + 0x7c]
push str.CSWCCreatureAppearance::CreateBTypeBody__:_Failed_to_load_model__s.
push ecx
call fcn.0076dca2
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0x104], 1
call fcn.00630d30
lea ecx, [esp + 0x14]
mov byte [esp + 0x104], 0
call fcn.00630d30
lea ecx, [esp + 0x20]
mov dword [esp + 0x104], 0xffffffff
call fcn.00630d30
xor eax, eax
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push 1
push 0xff
call dword [edx + 0x98]
test eax, eax
mov dword [esp + 0x28], eax
je 0x6f21b9
mov ecx, dword [esi + 0x3c]
mov eax, dword [eax]
add ecx, 0x24
mov ebx, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x44]
push edx
call dword [eax + 0x5c]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6f21cc
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x118]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6f21df
lea eax, [esp + 0x68]
push eax
push 1
push 1
jmp 0x6f21f6
push str.DEFAULT
lea ecx, [esp + 0x3c]
call fcn.00406ec0
lea eax, [esp + 0x38]
push eax
push 1
push 0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push 0xff
call dword [edx + 0xac]
mov eax, dword [0x8284d4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x6f2222
mov edx, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
push edx
call fcn.00638c90
test eax, eax
je 0x6f223d
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
push 1
push 0xff
call dword [eax + 0x98]
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x40]
push 0x7b5718
lea ecx, [esp + 0x4c]
call fcn.00406100
test eax, eax
je 0x6f2276
push 0x7b5718
lea ecx, [esp + 0x3c]
call fcn.00406ec0
push 1
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x3c]
push 0xff
call fcn.00692da0
mov dx, word [edi + 0x18]
mov eax, dword [esi + 0x3c]
push eax
mov edi, 1
push str.AppearanceForceUpdate
push 0
mov word [esi + 0x18], dx
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
call fcn.0065d560
add esp, 0xc
test ebx, ebx
je 0x6f22c3
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push edi
push 0xff
call dword [edx + 0x98]
mov edx, dword [ebx]
push 0
push str.HeadHook
push eax
mov ecx, ebx
call dword [edx + 0x50]
mov dword [esi + 0x50], edi
mov eax, dword [0x8284d4]
mov ecx, dword [eax + 4]
call fcn.00638e70
lea ecx, [esp + 0x30]
mov dword [esi + 0x68], eax
mov byte [esp + 0x104], 1
call fcn.00630d30
lea ecx, [esp + 0x14]
mov byte [esp + 0x104], 0
call fcn.00630d30
lea ecx, [esp + 0x20]
mov dword [esp + 0x104], 0xffffffff
call fcn.00630d30
mov ecx, dword [esp + 0xfc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8