Function at 0x10123b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019f65d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 8
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], 0x5f6e7462
mov dword [ebp - 0x24], 0x6b6e6162
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10123c12
push 4
push eax
call esi
test eax, eax
jne 0x10123c12
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x10123c12
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x10123c12
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
jmp 0x10123c28
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
push 8
mov dword [edi + 4], eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], 0x5f6e7462
mov dword [ebp - 0x24], 0x6c6c6573
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x10123ce3
push 4
push eax
call esi
test eax, eax
jne 0x10123ce3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x10123ce3
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x10123ce3
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
jmp 0x10123cf9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
push 8
mov dword [edi + 8], eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov ax, word [0x101dd1a0]
movq xmm0, qword [str.btn_allsell]
mov word [ebp - 0x20], ax
mov al, byte [0x101dd1a2]
mov byte [ebp - 0x1e], al
mov eax, dword [edi]
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x10123dc5
push 4
push eax
call esi
test eax, eax
jne 0x10123dc5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x10123dc5
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x10123dc5
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
jmp 0x10123ddb
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
push 8
mov dword [edi + 0xc], eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [str.btn_up]
mov dword [ebp - 0x28], eax
mov ax, word [0x101d8f18]
mov word [ebp - 0x24], ax
mov eax, dword [edi]
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x22], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x10123e9a
push 4
push eax
call esi
test eax, eax
jne 0x10123e9a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x10123e9a
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x10123e9a
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
jmp 0x10123eb0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
push 8
mov dword [edi + 0x14], eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], 0x5f6e7462
mov dword [ebp - 0x24], 0x6e776f64
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x10123f6b
push 4
push eax
call esi
test eax, eax
jne 0x10123f6b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x10123f6b
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x10123f6b
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
jmp 0x10123f81
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
push 8
mov dword [edi + 0x10], eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1013ca30
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov al, byte [0x101d8c08]
movq xmm0, qword [str.btn_start]
mov byte [ebp - 0x20], al
mov eax, dword [edi]
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0xf
movq qword [ebp - 0x28], xmm0
mov byte [ebp - 0x1f], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x10124042
push 4
push eax
call esi
test eax, eax
jne 0x10124042
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x10124042
add eax, 0xff400000
cmp eax, 0x3fffff
ja 0x10124042
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [0x101d64b0]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100477d0
jmp 0x10124053
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.100477d0
xor esi, esi
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.1013c8d0
mov dword [edi + 0x28], esi
sub esp, 0x14
mov esi, esp
xorps xmm0, xmm0
push 8
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.1013ca30
add esp, 4
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [esi + 0x14], 8
mov dword [esi + 0x18], 0xf
mov dword [esi + 4], 0x5f6e7462
mov dword [esi + 8], 0x706f7473
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x30], eax
mov ecx, esp
push str.btn_close
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x2c], eax
mov ecx, esp
push str.text_excount
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x34], eax
mov ecx, esp
push str.btn_weapon
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x38], eax
mov ecx, esp
push str.btn_armor
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x3c], eax
mov ecx, esp
push str.btn_accessory
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x40], eax
mov ecx, esp
push str.btn_warrior
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x44], eax
mov ecx, esp
push str.btn_rogue
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x48], eax
mov ecx, esp
push str.btn_mage
call fcn.10046c60
push dword [edi]
call fcn.100e1620
sub esp, 0x1c
mov dword [edi + 0x4c], eax
mov ecx, esp
push str.btn_priest
call fcn.10046c60
push dword [edi]
call fcn.100e1620
mov dword [edi + 0x50], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret