Function at 0x10009170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1000d8e0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.1000e11c
lea eax, [edi + 4]
mov dword [ebp - 0x40], eax
mov dword [edi + 4], 0
mov byte [edi + 8], 0
lea eax, [edi + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
lea eax, [edi + 0x14]
mov dword [ebp - 0x38], eax
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
lea eax, [edi + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
lea eax, [edi + 0x24]
mov dword [ebp - 0x30], eax
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
lea eax, [edi + 0x2c]
mov dword [ebp - 0x2c], eax
test esi, esi
mov dword [ebp - 0x28], edi
je 0x10009243
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.1000e3b9
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x28]
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.1000e825
add esp, 4
nop word [eax + eax]
push ebp
sub esp, 8
add ebp, 0xc
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, 0x1069adc6
mov esi, 0x9f167c3a
cmp eax, 0x9f167c3a
je 0x100092b7
cmp eax, 0x517e83a9
je 0x100092a5
cmp eax, 0x1069adc6
jne 0x10009282
cmp dword [ebp - 0x24], 0
mov eax, 0x517e83a9
cmove eax, esi
jmp 0x10009282
push dword [ebp - 0x24]
call fcn.10015f90
add esp, 4
mov eax, 0x9f167c3a
jmp 0x10009282
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, 0x1069adc6
mov esi, 0x9f167c3a
cmp eax, 0x9f167c3a
je 0x1000930d
cmp eax, 0x517e83a9
je 0x100092fb
cmp eax, 0x1069adc6
jne 0x100092d8
cmp dword [ebp - 0x24], 0
mov eax, 0x517e83a9
cmove eax, esi
jmp 0x100092d8
push dword [ebp - 0x24]
call fcn.10015f90
add esp, 4
mov eax, 0x9f167c3a
jmp 0x100092d8
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, 0x2e84a0eb
mov esi, 0x841d0b69
cmp eax, 0x841d0b69
je 0x10009363
cmp eax, 0xc87b080a
je 0x10009351
cmp eax, 0x2e84a0eb
jne 0x1000932e
cmp dword [ebp - 0x24], 0
mov eax, 0xc87b080a
cmove eax, esi
jmp 0x1000932e
push dword [ebp - 0x24]
call fcn.10015f90
add esp, 4
mov eax, 0x841d0b69
jmp 0x1000932e
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, 0x2e84a0eb
mov esi, 0x841d0b69
cmp eax, 0x841d0b69
je 0x100093b9
cmp eax, 0xc87b080a
je 0x100093a7
cmp eax, 0x2e84a0eb
jne 0x10009384
cmp dword [ebp - 0x24], 0
mov eax, 0xc87b080a
cmove eax, esi
jmp 0x10009384
push dword [ebp - 0x24]
call fcn.10015f90
add esp, 4
mov eax, 0x841d0b69
jmp 0x10009384
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, 0x1069adc6
mov esi, 0x9f167c3a
cmp eax, 0x9f167c3a
je 0x1000940f
cmp eax, 0x517e83a9
je 0x100093fd
cmp eax, 0x1069adc6
jne 0x100093da
cmp dword [ebp - 0x24], 0
mov eax, 0x517e83a9
cmove eax, esi
jmp 0x100093da
push dword [ebp - 0x24]
call fcn.10015f90
add esp, 4
mov eax, 0x9f167c3a
jmp 0x100093da
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, 0x1069adc6
mov esi, 0x9f167c3a
cmp eax, 0x9f167c3a
je 0x10009465
cmp eax, 0x517e83a9
je 0x10009453
cmp eax, 0x1069adc6
jne 0x10009430
cmp dword [ebp - 0x24], 0
mov eax, 0x517e83a9
cmove eax, esi
jmp 0x10009430
push dword [ebp - 0x24]
call fcn.10015f90
add esp, 4
mov eax, 0x9f167c3a
jmp 0x10009430
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov ecx, edi
call fcn.1000e14d
add esp, 8
pop ebp
ret