Function at 0x10018070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b192
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x100ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx ebx, word [ebp + 0xc]
cmp ebx, 0x20
jb 0x100182d0
mov eax, dword [edi + 0x9c]
lea ecx, [edi + 0x9c]
mov dword [ebp - 0x18], ecx
call dword [eax]
mov eax, dword [0x100d5824]
cmp eax, dword [edi + 0xd4]
je 0x100180e3
mov ecx, edi
mov dword [edi + 0xd4], eax
call fcn.10017d60
mov ecx, edi
call fcn.100184d0
mov ecx, edi
call fcn.100174b0
mov esi, dword [edi + 0xd4]
add esi, 0x18
cmp esi, 0x80
jbe 0x100180fb
mov esi, 0x80
jmp 0x10018105
mov eax, 8
cmp esi, eax
cmovb esi, eax
cmp byte [0x100d5821], 1
jne 0x10018166
cmp dword [0x100d589c], 0
mov eax, ebx
mov dword [ebp - 0x14], eax
jne 0x10018146
push 0xa8
call fcn.1001a158
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1000ab00
mov dword [ebp - 4], 0xffffffff
mov dword [0x100d589c], eax
push 1
lea eax, [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0x4000000
push 0x804
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
movzx ebx, word [ebp + 0xc]
movzx ecx, si
shl ecx, 0x10
movzx eax, bx
or ecx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], ecx
lea ecx, [edi + 0x14c]
push eax
call fcn.10011aa0
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0x150]
jne 0x10018247
movzx eax, byte [edi + 0x55]
lea ecx, [edi + 0xc]
push eax
lea eax, [ebp - 0x98]
push eax
push ebx
push esi
call fcn.1000ed70
test al, al
je 0x100182b2
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
lea eax, [ebp - 0x98]
push eax
push ebx
push esi
call fcn.100182f0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x14c]
call fcn.10011aa0
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0x150]
jne 0x10018203
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x14c]
call fcn.10018bd0
mov eax, dword [eax]
movups xmm0, xmmword [ebp - 0x78]
mov ecx, dword [ebp - 0x28]
movups xmmword [eax + 0xc], xmm0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [eax + 0x1c], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax + 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [eax + 0x3c], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax + 0x4c], xmm0
mov dword [eax + 0x5c], ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0x14c]
call fcn.10011aa0
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [eax + 0xc]
mov ecx, dword [0x100d5828]
lea esi, [edi + 0xf8]
mov edx, dword [edi + 0x9c]
movups xmmword [esi], xmm0
movups xmm0, xmmword [eax + 0x1c]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x2c]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [eax + 0x3c]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [eax + 0x4c]
movups xmmword [esi + 0x40], xmm0
mov eax, dword [eax + 0x5c]
mov dword [esi + 0x50], eax
add word [edi + 0x108], cx
mov dword [edi + 0xd8], ecx
lea ecx, [edi + 0x9c]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push str.DrawLetter_Failed__Letter:_04x
push 2
push dword [0x100d58e8]
call fcn.10014810
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8