Function at 0x1010a6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183045
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0x1c
lea eax, [ebp - 0xd]
mov esi, esp
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, esi
push 8
push str.btn_bank
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 4], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 1
mov ecx, esi
push 8
push str.btn_sell
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 8], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 2
mov ecx, esi
push 0xb
push str.btn_allsell
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0xc], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 3
mov ecx, esi
push 6
push str.btn_up
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x14], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 4
mov ecx, esi
push 8
push str.btn_down
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x10], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 5
push 9
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
push str.btn_start
mov ecx, esi
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x28], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 6
mov ecx, esi
push 8
push str.btn_stop
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x30], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 7
mov ecx, esi
push 9
push str.btn_close
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x2c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
push 0xc
push str.text_excount
mov ecx, esi
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x34], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 9
mov ecx, esi
push 0xa
push str.btn_weapon
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x38], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xa
mov ecx, esi
push 9
push str.btn_armor
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x3c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xb
mov ecx, esi
push 0xd
push str.btn_accessory
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x40], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xc
mov ecx, esi
push 0xb
push str.btn_warrior
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x44], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xd
mov ecx, esi
push 9
push str.btn_rogue
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x48], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xd]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xe
mov ecx, esi
push 8
push str.btn_mage
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
mov dword [edi + 0x4c], eax
sub esp, 0x1c
mov esi, esp
lea eax, [ebp - 0xe]
mov dword [ebp - 0x14], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.100484a0
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 0xf
mov ecx, esi
push 0xa
push str.btn_priest
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10047890
mov dword [ebp - 4], 0xffffffff
push dword [edi]
call fcn.100d38b0
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