Function at 0x100a3120
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eee34
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x10122094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], ebx
cmp byte [0x1012f130], bl
jne 0x100a65bc
push 6
mov dword [ebp - 0x58], ebx
lea ecx, [ebp - 0x58]
push str.skills
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
call fcn.1003f030
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ebx
push eax
call fcn.100a66c0
mov esi, dword [eax]
mov esi, dword [esi + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a31da
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a31d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
nop dword [eax]
push 6
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push str.skills
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1003f030
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 1
push eax
call fcn.100a66c0
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100a3268
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a325e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp esi, edi
jae 0x100a339d
push 2
push 0x1010d1bc
call fcn.1003f030
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.100a0120
mov edi, dword [eax + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100a32e8
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a32de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
test edi, edi
je 0x100a3395
push 2
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push 0x1010d1bc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1003f030
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.100a0120
cmp dword [eax + 0x14], 0x10
jb 0x100a3332
mov eax, dword [eax]
push 0xa
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.100c62e2
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x5c]
movzx edi, ax
cmp edx, 0x10
jb 0x100a3382
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3378
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov ecx, dword [0x1012f134]
mov eax, edi
cmp eax, ecx
cmova ecx, eax
mov dword [0x1012f134], ecx
add esi, 8
jmp 0x100a31f0
push 9
push str.charstats
call fcn.1003f030
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 4
push eax
call fcn.100a66c0
mov esi, dword [eax]
mov esi, dword [esi + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100a33f9
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a33ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65dd
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
nop dword [eax + eax]
push 9
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.charstats
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 5
push eax
call fcn.100a66c0
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a3488
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a347e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
cmp esi, edi
jae 0x100a36af
push 0xb
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.ToHitFactor
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 6
push eax
mov ecx, esi
call fcn.100a0120
mov edi, dword [eax + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a3508
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a34fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
test edi, edi
je 0x100a36a7
push 4
call fcn.100b4eaa
add esp, 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x78], eax
mov dword [eax], 0
push 0xb
push str.ToHitFactor
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 7
push eax
mov ecx, esi
call fcn.100a0120
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x100a356d
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a3590
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.1003f030
mov byte [ebp - 4], 8
call fcn.100c35cc
cmp dword [ebp - 0x44], 0x10
lea edi, [ebp - 0x58]
mov dword [ebp - 0x94], eax
cmovae edi, dword [ebp - 0x58]
mov dword [eax], 0
lea eax, [ebp - 0xa0]
push 0xa
push eax
push edi
call fcn.100c629c
add esp, 0xc
mov ecx, eax
cmp edi, dword [ebp - 0xa0]
je 0x100a65ec
mov eax, dword [ebp - 0x94]
cmp dword [eax], 0x22
je 0x100a65e2
mov edi, dword [ebp - 0x84]
mov byte [ebp - 4], 7
mov dword [edi], ecx
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a3632
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x100a367f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3675
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov eax, dword [0x1012f42c]
cmp eax, dword [0x1012f430]
je 0x100a369d
mov dword [eax], edi
add dword [0x1012f42c], 4
add esi, 8
jmp 0x100a3410
lea ecx, [ebp - 0x78]
push ecx
push eax
call fcn.100a6940
add esi, 8
jmp 0x100a3410
push 0xc
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push str.itemstatcost
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1003f030
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 9
push eax
call fcn.100a66c0
mov edi, dword [eax]
mov edi, dword [edi + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], edi
cmp edx, 0x10
jb 0x100a372a
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3720
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65f6
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
nop dword [eax]
push 0xc
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.itemstatcost
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xa
push eax
call fcn.100a66c0
mov eax, dword [eax]
mov esi, dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a37b8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a37ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
cmp edi, esi
jae 0x100a3e31
push 2
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x1010657c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.100a0120
mov esi, dword [eax + 0x10]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a3838
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a382e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
test esi, esi
je 0x100a3e26
push 2
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x1010657c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x14], 0x10
jb 0x100a3882
mov eax, dword [eax]
push 0xa
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.100c62e2
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x14]
movzx esi, ax
mov dword [ebp - 0xa0], esi
cmp edx, 0x10
jb 0x100a38d8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a38ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov eax, dword [0x1012f138]
movzx ecx, si
cmp ecx, eax
mov dword [ebp - 0x94], ecx
cmova eax, ecx
mov dword [0x1012f138], eax
mov eax, dword [ebp - 0x90]
cwde
inc eax
mov dword [ebp - 0x90], eax
cmp eax, ecx
jge 0x100a39b8
mov ebx, eax
mov edi, ecx
nop word [eax + eax]
push 0x20
call fcn.100b4eaa
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0xa
push str.missing_id
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x84], esi
call fcn.1003f030
mov word [esi + 0x1e], bx
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov eax, dword [0x1012f420]
cmp eax, dword [0x1012f424]
je 0x100a398e
mov dword [eax], esi
add dword [0x1012f420], 4
jmp 0x100a39a1
lea ecx, [ebp - 0x84]
push ecx
push eax
call fcn.100a6ac0
mov esi, dword [ebp - 0x84]
push esi
call fcn.1005ae50
inc ebx
mov dword [eax], esi
cmp ebx, edi
jl 0x100a3910
mov edi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x7c]
push 0x20
call fcn.100b4eaa
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x84], esi
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 4
mov dword [ebp - 0x28], 0
push str.Stat
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.100a0120
cmp esi, eax
je 0x100a3a59
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x100a3a50
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.1003f030
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a3a94
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3a8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
cmp dword [esi + 0x14], 0x10
mov edx, esi
mov eax, dword [ebp - 0x84]
jb 0x100a3aab
mov edx, dword [esi]
mov esi, dword [esi + 0x10]
add esi, dword [eax]
jmp 0x100a3abe
mov esi, dword [esi + 0x10]
mov ecx, eax
add esi, eax
mov dword [ebp - 0x94], eax
cmp dword [eax + 0x14], 0x10
jb 0x100a3ac6
mov ecx, dword [eax]
mov dword [ebp - 0x94], ecx
cmp ecx, esi
je 0x100a3afa
mov ebx, dword [ebp - 0x94]
sub edx, ebx
mov dword [ebp - 0x94], edx
mov edi, edx
nop word [eax + eax]
movsx eax, byte [ebx]
push eax
call fcn.100c4148
mov byte [ebx + edi], al
add esp, 4
inc ebx
cmp ebx, esi
jne 0x100a3ae0
mov edi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xa0]
push 0xf
mov dword [ebp - 0x28], 0
push str.Send_Param_Bits
mov word [esi + 0x1e], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xe
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x14], 0x10
jb 0x100a3b4c
mov eax, dword [eax]
push 0xa
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.100c62e2
mov byte [esi + 0x1c], al
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a3b9c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3b92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 9
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Save_Bits
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xf
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x14], 0x10
jb 0x100a3bde
mov eax, dword [eax]
push 0xa
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.100c62e2
mov byte [esi + 0x18], al
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a3c2e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3c24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 8
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Save_Add
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x10
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x14], 0x10
jb 0x100a3c70
mov eax, dword [eax]
push 0xa
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.100c62e2
mov byte [esi + 0x1a], al
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a3cc0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3cb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 0xf
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Save_Param_Bits
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x11
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x14], 0x10
jb 0x100a3d02
mov eax, dword [eax]
push 0xa
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.100c62e2
mov byte [esi + 0x19], al
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a3d52
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3d48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 2
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x1010d234
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x12
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x14], 0x10
jb 0x100a3d94
mov eax, dword [eax]
push 0xa
lea ecx, [ebp - 0xa4]
push ecx
push eax
call fcn.100c62e2
mov byte [esi + 0x1b], al
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a3de4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3dda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov eax, dword [0x1012f420]
cmp eax, dword [0x1012f424]
je 0x100a3dfc
mov dword [eax], esi
add dword [0x1012f420], 4
jmp 0x100a3e0f
lea ecx, [ebp - 0x90]
push ecx
push eax
call fcn.100a6ac0
mov esi, dword [ebp - 0x90]
push esi
call fcn.1005ae50
mov dword [eax], esi
mov eax, dword [ebp - 0xa0]
movzx eax, ax
mov dword [ebp - 0x90], eax
add edi, 8
mov dword [ebp - 0x78], edi
jmp 0x100a3740
push 0x40
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
call fcn.100b4eaa
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 0x13
push 0x40
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
call fcn.100b4eaa
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0x14
push 0x40
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
call fcn.100b4eaa
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0x15
push 0x40
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
call fcn.100b4eaa
add esp, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x70]
push 9
mov dword [ebp - 0x70], 0
push str.itemtypes
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1003f030
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x17
push eax
call fcn.100a66c0
mov esi, dword [eax]
mov esi, dword [esi + 0x10]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100a3f75
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3f6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65fb
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
nop word [eax + eax]
push 9
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.itemtypes
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
call fcn.100a66c0
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a4002
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a3ff8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
cmp esi, edi
jae 0x100a45d8
push 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Code
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x19
push eax
mov ecx, esi
call fcn.100a0120
mov edi, dword [eax + 0x10]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a407c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4072
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
test edi, edi
je 0x100a45d0
push 9
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Throwable
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, esi
call fcn.100a0120
push 4
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.Code
mov edi, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, esi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xcc]
call fcn.1004d870
cmp eax, edi
je 0x100a4118
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x100a410f
mov edi, dword [edi]
push ecx
push edi
mov ecx, eax
call fcn.1003f030
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a4150
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4146
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x100a419a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4190
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 8
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.BodyLoc1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, esi
call fcn.100a0120
push 4
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.Code
mov edi, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, esi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xac]
call fcn.1004d870
cmp eax, edi
je 0x100a422e
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x100a4225
mov edi, dword [edi]
push ecx
push edi
mov ecx, eax
call fcn.1003f030
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a4266
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a425c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x100a42b0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a42a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 6
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Equiv1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
push eax
mov ecx, esi
call fcn.100a0120
mov edi, dword [eax + 0x10]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a4322
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4318
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
test edi, edi
je 0x100a4440
push 6
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Equiv1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1f
push eax
mov ecx, esi
call fcn.100a0120
push 4
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.Code
mov edi, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x20
push eax
mov ecx, esi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xbc]
call fcn.1004d870
cmp eax, edi
je 0x100a43be
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x100a43b5
mov edi, dword [edi]
push ecx
push edi
mov ecx, eax
call fcn.1003f030
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a43f6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a43ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x100a4440
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4436
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 6
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Equiv2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x21
push eax
mov ecx, esi
call fcn.100a0120
mov edi, dword [eax + 0x10]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a44b2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a44a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
test edi, edi
je 0x100a45d0
push 6
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.Equiv2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x22
push eax
mov ecx, esi
call fcn.100a0120
push 4
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.Code
mov edi, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x23
push eax
mov ecx, esi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xc4]
call fcn.1004d870
cmp eax, edi
je 0x100a454e
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x100a4545
mov edi, dword [edi]
push ecx
push edi
mov ecx, eax
call fcn.1003f030
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100a4586
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a457c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x100a45d0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a45c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
add esi, 8
jmp 0x100a3f90
push 5
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push str.armor
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1003f030
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x24
push eax
call fcn.100a66c0
mov edi, dword [eax]
mov edi, dword [edi + 0x10]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x90], edi
cmp edx, 0x10
jb 0x100a4650
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a6600
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 5
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.armor
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x25
push eax
call fcn.100a66c0
mov eax, dword [eax]
mov esi, dword [eax + 0x14]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a46d4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a46ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
cmp edi, esi
jae 0x100a6589
push 4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.code
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x26
push eax
mov ecx, edi
call fcn.100a0120
mov esi, dword [eax + 0x10]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a474e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
test esi, esi
je 0x100a4f03
push 0x28
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
call fcn.100b4eaa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
push 9
mov dword [ebp - 0x28], 0
push str.stackable
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x28
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a4827
push 9
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.stackable
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x29
or ebx, 1
mov ecx, edi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a6605
cmp dword [eax + 0x14], 0x10
jb 0x100a481e
mov eax, dword [eax]
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7d], al
jmp 0x100a482b
mov byte [ebp - 0x7d], 0
mov dword [ebp - 4], 0x28
test bl, 1
je 0x100a4883
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffe
mov dword [ebp - 0x7c], ebx
cmp edx, 0x10
jb 0x100a4871
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a48bb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a48b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 7
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.useable
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x2a
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a4956
push 7
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.useable
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x2b
or ebx, 2
mov ecx, edi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a6605
cmp dword [eax + 0x14], 0x10
jb 0x100a494d
mov eax, dword [eax]
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7e], al
jmp 0x100a495a
mov byte [ebp - 0x7e], 0
mov dword [ebp - 4], 0x2a
test bl, 2
je 0x100a49b2
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffd
mov dword [ebp - 0x7c], ebx
cmp edx, 0x10
jb 0x100a49a0
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4996
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100a49ea
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a49e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
push 9
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.throwable
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1003f030
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x2c
push eax
mov ecx, edi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a4a85
push 9
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.throwable
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1003f030
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x2d
or ebx, 4
mov ecx, edi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a6605
cmp dword [eax + 0x14], 0x10
jb 0x100a4a7c
mov eax, dword [eax]
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7f], al
jmp 0x100a4a89
mov byte [ebp - 0x7f], 0
mov dword [ebp - 4], 0x2c
test bl, 4
je 0x100a4ae1
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffb
mov dword [ebp - 0x7c], ebx
cmp edx, 0x10
jb 0x100a4acf
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a4ac5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a65d8
push edx
push ecx
call fcn.100b4eda
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x2e
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov esi, esp
lea ebx, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.100a0120
push eax
mov ecx, esi
call fcn.1003ecf0
mov edx, ebx
lea ecx, [ebp - 0xb4]
call fcn.100a7f10
add esp, 0x1c
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x58]
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x2f
push eax
mov ecx, edi
call fcn.100a0120
push str.ultracode
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x30
push eax
mov ecx, edi
call fcn.100a0120
push eax
mov ecx, esi
call fcn.1004ee10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1003ec40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x27
call fcn.1003ec40
test esi, esi
jne 0x100a4ba2
mov esi, 0x30000000
jmp 0x100a4c0b
push str.code
lea ecx, [ebp - 0x58]
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x31
push eax
mov ecx, edi
call fcn.100a0120
push str.ubercode
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x32
push eax
mov ecx, edi
call fcn.100a0120
push eax
mov ecx, esi
call fcn.1004ee10
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1003ec40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x27
call fcn.1003ec40
mov ebx, 0x24000000
test esi, esi
mov esi, ebx
mov eax, 0x28000000
cmove esi, eax
push str.circ
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x78], esi
call fcn.1003ec90
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.10078e10
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb4]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a5017
or esi, 0x80000000
mov dword [ebp - 0x78], esi
mov ebx, dword [ebp - 0x78]
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
sub esp, 0x18
mov byte [ebp - 4], 0x39
lea eax, [ebp - 0x28]
mov esi, esp
mov ecx, edi
push eax
call fcn.100a0120
push eax
mov ecx, esi
call fcn.1003ecf0
mov edx, ebx
lea ecx, [ebp - 0xb4]
call fcn.100a8090
add esp, 0x18
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.1003ec40
push 0x48
call fcn.100b4eaa
push 0x48
mov esi, eax
push 0
push esi
call fcn.100b7cc0
add esp, 0x10
mov ecx, esi
call fcn.100a6630
push str.name
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3a
push eax
mov ecx, edi
call fcn.100a0120
push eax
mov ecx, esi
call fcn.10042200
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3b
push eax
mov ecx, edi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
lea ecx, [ebp - 0x28]
movzx eax, byte [eax]
mov byte [esi + 0x18], al
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3c
push eax
mov ecx, edi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
lea ecx, [ebp - 0x28]
movzx eax, byte [eax + 1]
mov byte [esi + 0x19], al
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3d
push eax
mov ecx, edi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
lea ecx, [ebp - 0x28]
movzx eax, byte [eax + 2]
mov byte [esi + 0x1a], al
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.type
lea ecx, [ebp - 0x28]
mov byte [esi + 0x1b], 0
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3e
push eax
mov ecx, edi
call fcn.100a0120
push eax
lea ecx, [esi + 0x1c]
call fcn.10042200
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.invwidth
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x3f
push eax
mov ecx, edi
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
lea ecx, [ebp - 0x28]
movzx eax, byte [eax]
sub al, 0x30
mov byte [ebp - 4], 0x27
mov byte [esi + 0x34], al
call fcn.1003ec40
push str.invheight
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x40
push eax
mov ecx, edi
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
lea ecx, [ebp - 0x28]
movzx eax, byte [eax]
sub al, 0x30
mov byte [ebp - 4], 0x27
mov byte [esi + 0x35], al
call fcn.1003ec40
mov al, byte [ebp - 0x7d]
lea ecx, [ebp - 0x28]
mov byte [esi + 0x36], al
mov al, byte [ebp - 0x7e]
mov byte [esi + 0x37], al
mov al, byte [ebp - 0x7f]
push str.level
mov byte [esi + 0x38], al
mov word [esi + 0x39], 0
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0
call fcn.1003ec90
mov byte [ebp - 4], 0x41
push 0xa
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100a0120
mov ecx, eax
call fcn.1007ab20
add esp, 4
mov byte [esi + 0x44], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.magic_lvl
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x42
push eax
mov ecx, edi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
push eax
call fcn.100c52d8
add esp, 4
mov byte [esi + 0x45], al
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x43
push eax
mov ecx, edi
call fcn.100a0120
push eax
call fcn.100a6800
lea ecx, [ebp - 0x28]
mov dword [eax], esi
call fcn.1003ec40
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x16
call fcn.100a6610
push str.weapons
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x44
push eax
call fcn.100a66c0
lea ecx, [ebp - 0x28]
mov esi, dword [eax]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0xa0], esi
mov byte [ebp - 4], 0x16
call fcn.1003ec40
push str.weapons
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x45
push eax
call fcn.100a66c0
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov ebx, dword [eax + 0x14]
mov byte [ebp - 4], 0x16
call fcn.1003ec40
cmp esi, ebx
jae 0x100a5c41
mov edi, 0x48000000
nop dword [eax]
push str.code
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x46
push eax
mov ecx, esi
call fcn.100a0120
lea ecx, [ebp - 0x28]
mov ebx, dword [eax + 0x10]
mov byte [ebp - 4], 0x16
call fcn.1003ec40
test ebx, ebx
je 0x100a5bef
lea ecx, [ebp - 0x8c]
call fcn.100a6660
push str.stackable
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x47
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x48
push eax
mov ecx, esi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a5274
push str.stackable
lea ecx, [ebp - 0x28]
call fcn.1003ec90
mov byte [ebp - 4], 0x49
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x7c]
mov ecx, esi
or ebx, 0x20
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7e], al
jmp 0x100a527b
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x33
push eax
mov ecx, edi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xac]
call fcn.1004d870
push str.head
mov ecx, eax
call fcn.1004edd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
mov esi, eax
call fcn.1003ec40
test esi, esi
jne 0x100a5068
mov ebx, dword [ebp - 0x78]
or ebx, 1
jmp 0x100a4c58
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x34
push eax
mov ecx, edi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xac]
call fcn.1004d870
push str.tors
mov ecx, eax
call fcn.1004edd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
mov esi, eax
call fcn.1003ec40
test esi, esi
jne 0x100a50b9
mov ebx, dword [ebp - 0x78]
or ebx, 2
jmp 0x100a4c58
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x35
push eax
mov ecx, edi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xac]
call fcn.1004d870
push str.glov
mov ecx, eax
call fcn.1004edd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
mov esi, eax
call fcn.1003ec40
test esi, esi
jne 0x100a510a
mov ebx, dword [ebp - 0x78]
or ebx, 8
jmp 0x100a4c58
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x36
push eax
mov ecx, edi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xac]
call fcn.1004d870
push str.feet
mov ecx, eax
call fcn.1004edd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
mov esi, eax
call fcn.1003ec40
test esi, esi
jne 0x100a515b
mov ebx, dword [ebp - 0x78]
or ebx, 0x10
jmp 0x100a4c58
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x37
push eax
mov ecx, edi
call fcn.100a0120
push eax
lea ecx, [ebp - 0xac]
call fcn.1004d870
push str.belt
mov ecx, eax
call fcn.1004edd0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x27
mov esi, eax
call fcn.1003ec40
test esi, esi
jne 0x100a51ac
mov ebx, dword [ebp - 0x78]
or ebx, 0x20
jmp 0x100a4c58
push str.type
lea ecx, [ebp - 0x58]
call fcn.1003ec90
mov byte [ebp - 4], 0x38
lea eax, [ebp - 0x58]
mov ebx, dword [ebp - 0x7c]
mov ecx, edi
or ebx, 8
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
push eax
lea ecx, [ebp - 0xac]
call fcn.1004d870
push 0x1010d2e8
push 3
push 1
mov ecx, eax
call fcn.100872e0
test eax, eax
jne 0x100a522e
push str.shld
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
or ebx, 0x10
push eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x7c], ebx
push eax
lea ecx, [ebp - 0xb4]
call fcn.10078e10
mov byte [ebp - 0x71], 1
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb4]
jne 0x100a5232
mov byte [ebp - 0x71], 0
test bl, 0x10
je 0x100a5245
and ebx, 0xffffffef
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
mov dword [ebp - 4], 0x27
test bl, 8
je 0x100a525f
and ebx, 0xfffffff7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a4c55
mov ebx, dword [ebp - 0x78]
or ebx, 4
jmp 0x100a4c58
mov ebx, dword [ebp - 0x7c]
mov byte [ebp - 0x7e], 0
mov dword [ebp - 4], 0x48
test bl, 0x20
je 0x100a5295
and ebx, 0xffffffdf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.useable
lea ecx, [ebp - 0x58]
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x4a
push eax
mov ecx, esi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a52fc
push str.useable
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4b
or ebx, 0x40
mov ecx, esi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7d], al
jmp 0x100a5300
mov byte [ebp - 0x7d], 0
mov dword [ebp - 4], 0x4a
test bl, 0x40
je 0x100a531a
and ebx, 0xffffffbf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.throwable
lea ecx, [ebp - 0x58]
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x4c
push eax
mov ecx, esi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a5384
push str.throwable
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x4d
or ebx, 0x80
mov ecx, esi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x71], al
jmp 0x100a5388
mov byte [ebp - 0x71], 0
mov dword [ebp - 4], 0x4c
test bl, bl
jns 0x100a53a4
and ebx, 0xffffff7f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.type
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x4e
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ebx, esp
mov ecx, esi
push eax
call fcn.100a0120
push eax
mov ecx, ebx
call fcn.1003ecf0
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x8c]
call fcn.100a7f10
add esp, 0x1c
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x28]
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x58]
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x4f
push eax
mov ecx, esi
call fcn.100a0120
push str.ultracode
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x50
push eax
mov ecx, esi
call fcn.100a0120
push eax
mov ecx, ebx
call fcn.1004ee10
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.1003ec40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
test ebx, ebx
jne 0x100a5465
mov dword [ebp - 0x78], 0x50000000
jmp 0x100a54ca
push str.code
lea ecx, [ebp - 0x58]
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x51
push eax
mov ecx, esi
call fcn.100a0120
push str.ubercode
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x52
push eax
mov ecx, esi
call fcn.100a0120
push eax
mov ecx, ebx
call fcn.1004ee10
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.1003ec40
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
test ebx, ebx
mov eax, 0x44000000
cmove eax, edi
mov dword [ebp - 0x78], eax
push str.club
lea ecx, [ebp - 0x40]
call fcn.1003ec90
mov byte [ebp - 4], 0x53
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xd8]
or ebx, 0x100
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.10078e10
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
jne 0x100a558a
push str.hamm
lea ecx, [ebp - 0x58]
call fcn.1003ec90
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0x54
push eax
lea eax, [ebp - 0xdc]
or ebx, 0x200
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.10078e10
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
jne 0x100a558a
push str.mace
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
or ebx, 0x400
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x7c], ebx
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
mov byte [ebp - 0x7f], 0
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
je 0x100a558e
mov byte [ebp - 0x7f], 1
test ebx, 0x400
je 0x100a55a7
and ebx, 0xfffffbff
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
test ebx, 0x200
je 0x100a55c0
and ebx, 0xfffffdff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
mov dword [ebp - 4], 0x47
test ebx, 0x100
je 0x100a55e0
and ebx, 0xfffffeff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
cmp byte [ebp - 0x7f], 0
je 0x100a55f2
or dword [ebp - 0x78], 0x800
jmp 0x100a58ec
push str.wand
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a5638
or dword [ebp - 0x78], 0x200000
jmp 0x100a58ec
push str.staf
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a567e
or dword [ebp - 0x78], 0x100000
jmp 0x100a58ec
push 0x1010d350
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a56c4
or dword [ebp - 0x78], 0x40000
jmp 0x100a58ec
push 0x10109e34
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a570a
or dword [ebp - 0x78], 0x400
jmp 0x100a58ec
push str.scep
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a5750
or dword [ebp - 0x78], 0x400000
jmp 0x100a58ec
push str.swor
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a5796
or dword [ebp - 0x78], 0x1000
jmp 0x100a58ec
push str.knif
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a57dc
or dword [ebp - 0x78], 0x2000
jmp 0x100a58ec
push str.spea
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a5822
or dword [ebp - 0x78], 0x10000
jmp 0x100a58ec
push str.pole
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a5868
or dword [ebp - 0x78], 0x20000
jmp 0x100a58ec
push str.xbow
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a58ab
or dword [ebp - 0x78], 0x80000
jmp 0x100a58ec
push str.jave
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
test bl, bl
je 0x100a58ec
or dword [ebp - 0x78], 0x8000
push str.thro
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x8c]
setne bl
call fcn.1003ec40
push str.type
lea ecx, [ebp - 0x40]
call fcn.1003ec90
mov byte [ebp - 4], 0x55
mov ecx, esi
mov eax, dword [ebp - 0x78]
or eax, 0x4000
test bl, bl
cmove eax, dword [ebp - 0x78]
sub esp, 0x18
mov dword [ebp - 0x94], eax
mov ebx, esp
lea eax, [ebp - 0x40]
push eax
call fcn.100a0120
push eax
mov ecx, ebx
call fcn.1003ecf0
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
call fcn.100a8090
add esp, 0x18
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push 0x48
call fcn.100b4eaa
push 0x48
mov ebx, eax
push 0
push ebx
call fcn.100b7cc0
add esp, 0x10
mov ecx, ebx
call fcn.100a6630
push str.name
lea ecx, [ebp - 0x40]
mov ebx, eax
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x56
push eax
mov ecx, esi
call fcn.100a0120
push eax
mov ecx, ebx
call fcn.10042200
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x57
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
movzx eax, byte [eax]
mov byte [ebx + 0x18], al
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x40]
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x58
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
lea ecx, [ebp - 0x40]
movzx eax, byte [eax + 1]
mov byte [ebx + 0x19], al
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x59
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
lea ecx, [ebp - 0x40]
movzx eax, byte [eax + 2]
mov byte [ebx + 0x1a], al
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.type
lea ecx, [ebp - 0x40]
mov byte [ebx + 0x1b], 0
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x5a
push eax
mov ecx, esi
call fcn.100a0120
push eax
lea ecx, [ebx + 0x1c]
call fcn.10042200
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.invwidth
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x5b
push eax
mov ecx, esi
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
lea ecx, [ebp - 0x40]
movzx eax, byte [eax]
sub al, 0x30
mov byte [ebp - 4], 0x47
mov byte [ebx + 0x34], al
call fcn.1003ec40
push str.invheight
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x5c
push eax
mov ecx, esi
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
movzx eax, byte [eax]
sub al, 0x30
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x40]
mov byte [ebx + 0x35], al
call fcn.1003ec40
mov al, byte [ebp - 0x7e]
lea ecx, [ebp - 0x40]
mov byte [ebx + 0x36], al
mov al, byte [ebp - 0x7d]
mov byte [ebx + 0x37], al
mov al, byte [ebp - 0x71]
mov byte [ebx + 0x38], al
mov eax, dword [ebp - 0x94]
push str.level
mov word [ebx + 0x39], 0
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], 0
call fcn.1003ec90
push 0xa
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x5d
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1007ab20
add esp, 4
mov byte [ebx + 0x44], al
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.magic_lvl
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x5e
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
push eax
call fcn.100c52d8
add esp, 4
mov byte [ebx + 0x45], al
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x47
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x5f
push eax
mov ecx, esi
call fcn.100a0120
push eax
call fcn.100a6800
lea ecx, [ebp - 0x40]
mov dword [eax], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
call fcn.100a6610
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xa0]
call fcn.100a66a0
push str.weapons
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x45
push eax
call fcn.100a66c0
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov ebx, dword [eax + 0x14]
mov byte [ebp - 4], 0x16
call fcn.1003ec40
mov esi, dword [ebp - 0xa0]
cmp esi, ebx
jb 0x100a4f70
mov edi, dword [ebp - 0x90]
push str.misc
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x60
push eax
call fcn.100a66c0
lea ecx, [ebp - 0x40]
mov esi, dword [eax]
mov esi, dword [esi + 0x10]
mov dword [ebp - 0xa0], esi
mov byte [ebp - 4], 0x16
call fcn.1003ec40
push str.misc
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x61
push eax
call fcn.100a66c0
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov ebx, dword [eax + 0x14]
mov byte [ebp - 4], 0x16
call fcn.1003ec40
cmp esi, ebx
jae 0x100a6578
nop word [eax + eax]
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x62
push eax
mov ecx, esi
call fcn.100a0120
lea ecx, [ebp - 0x40]
mov ebx, dword [eax + 0x10]
mov byte [ebp - 4], 0x16
call fcn.1003ec40
test ebx, ebx
je 0x100a652c
lea ecx, [ebp - 0x9c]
call fcn.100a6660
push str.stackable
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x63
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x64
push eax
mov ecx, esi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a5d53
push str.stackable
lea ecx, [ebp - 0x40]
call fcn.1003ec90
mov byte [ebp - 4], 0x65
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x7c]
mov ecx, esi
or ebx, 0x800
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7f], al
jmp 0x100a5d5a
mov ebx, dword [ebp - 0x7c]
mov byte [ebp - 0x7f], 0
mov dword [ebp - 4], 0x64
test ebx, 0x800
je 0x100a5d7a
and ebx, 0xfffff7ff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
push str.useable
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x66
push eax
mov ecx, esi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a5de4
push str.useable
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x67
or ebx, 0x1000
mov ecx, esi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7e], al
jmp 0x100a5de8
mov byte [ebp - 0x7e], 0
mov dword [ebp - 4], 0x66
test ebx, 0x1000
je 0x100a5e08
and ebx, 0xffffefff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
push str.throwable
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x68
push eax
mov ecx, esi
call fcn.100a0120
cmp dword [eax + 0x10], 0
jbe 0x100a5e72
push str.throwable
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x69
or ebx, 0x2000
mov ecx, esi
push eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], ebx
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov al, byte [eax]
sub al, 0x30
mov byte [ebp - 0x7d], al
jmp 0x100a5e76
mov byte [ebp - 0x7d], 0
mov dword [ebp - 4], 0x68
test ebx, 0x2000
je 0x100a5e96
and ebx, 0xffffdfff
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
push str.type
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x6a
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ebx, esp
mov ecx, esi
push eax
call fcn.100a0120
push eax
mov ecx, ebx
call fcn.1003ecf0
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x9c]
call fcn.100a7f10
add esp, 0x1c
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x40]
call fcn.1003ec40
push str.type2
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x6b
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ebx, esp
mov ecx, esi
push eax
call fcn.100a0120
push eax
mov ecx, ebx
call fcn.1003ecf0
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x9c]
call fcn.100a7f10
add esp, 0x1c
mov byte [ebp - 4], 0x63
lea ecx, [ebp - 0x40]
call fcn.1003ec40
push str.rune
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne bl
call fcn.1003ec40
movzx ebx, bl
lea ecx, [ebp - 0x40]
push str.gem0
shl ebx, 0xc
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a5fc3
or ebx, 1
jmp 0x100a60cf
push str.gem1
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a6008
or ebx, 2
jmp 0x100a60cf
push str.gem2
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a604d
or ebx, 4
jmp 0x100a60cf
push str.gem3
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a608f
or ebx, 8
jmp 0x100a60cf
push str.gem4
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a60cf
or ebx, 0x10
push str.gema
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a6114
or ebx, 0x20
jmp 0x100a62b9
push str.gemd
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a6159
or ebx, 0x40
jmp 0x100a62b9
push str.geme
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a61a1
or ebx, 0x80
jmp 0x100a62b9
push str.gemr
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a61e9
or ebx, 0x100
jmp 0x100a62b9
push str.gems
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a6231
or ebx, 0x200
jmp 0x100a62b9
push str.gemt
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a6276
or ebx, 0x400
jmp 0x100a62b9
push str.gemz
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.10078e10
lea ecx, [ebp - 0x40]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x9c]
setne byte [ebp - 0x71]
call fcn.1003ec40
cmp byte [ebp - 0x71], 0
je 0x100a62b9
or ebx, 0x800
push 0x48
call fcn.100b4eaa
push 0x48
push 0
push eax
mov dword [ebp - 0x90], eax
call fcn.100b7cc0
mov ecx, dword [ebp - 0x90]
add esp, 0x10
call fcn.100a6630
push str.name
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x84], eax
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x6c
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, dword [ebp - 0x84]
push eax
call fcn.10042200
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x6d
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
mov ecx, dword [ebp - 0x84]
movzx eax, byte [eax]
mov byte [ecx + 0x18], al
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x6e
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
mov ecx, dword [ebp - 0x84]
movzx eax, byte [eax + 1]
mov byte [ecx + 0x19], al
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x6f
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1003eae0
mov ecx, dword [ebp - 0x84]
movzx eax, byte [eax + 2]
mov byte [ecx + 0x1a], al
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x40]
push str.type
mov byte [eax + 0x1b], 0
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x70
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, dword [ebp - 0x84]
push eax
lea ecx, [ecx + 0x1c]
call fcn.10042200
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x63
call fcn.1003ec40
push str.invwidth
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x71
push eax
mov ecx, esi
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov ecx, dword [ebp - 0x84]
movzx eax, byte [eax]
sub al, 0x30
mov byte [ebp - 4], 0x63
mov byte [ecx + 0x34], al
lea ecx, [ebp - 0x40]
call fcn.1003ec40
push str.invheight
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x72
push eax
mov ecx, esi
call fcn.100a0120
push ecx
mov ecx, eax
call fcn.100a6920
mov ecx, dword [ebp - 0x84]
movzx eax, byte [eax]
sub al, 0x30
mov byte [ebp - 4], 0x63
mov byte [ecx + 0x35], al
lea ecx, [ebp - 0x40]
call fcn.1003ec40
mov eax, dword [ebp - 0x84]
mov cl, byte [ebp - 0x7f]
push str.level
mov byte [eax + 0x36], cl
mov cl, byte [ebp - 0x7e]
mov byte [eax + 0x37], cl
mov cl, byte [ebp - 0x7d]
mov byte [eax + 0x38], cl
lea ecx, [ebp - 0x40]
mov word [eax + 0x39], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], ebx
call fcn.1003ec90
push 0xa
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x73
push eax
mov ecx, esi
call fcn.100a0120
mov ecx, eax
call fcn.1007ab20
mov ebx, dword [ebp - 0x84]
lea ecx, [ebp - 0x40]
add esp, 4
mov byte [ebp - 4], 0x63
mov byte [ebx + 0x44], al
call fcn.1003ec40
mov byte [ebx + 0x45], 0
push str.code
lea ecx, [ebp - 0x40]
call fcn.1003ec90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x74
push eax
mov ecx, esi
call fcn.100a0120
push eax
call fcn.100a6800
lea ecx, [ebp - 0x40]
mov dword [eax], ebx
call fcn.1003ec40
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x16
call fcn.100a6610
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa0]
call fcn.100a66a0
push str.misc
lea ecx, [ebp - 0x28]
call fcn.1003ec90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x61
push eax
call fcn.100a66c0
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
mov ebx, dword [eax + 0x14]
mov byte [ebp - 4], 0x16
call fcn.1003ec40
mov esi, dword [ebp - 0xa0]
cmp esi, ebx
jb 0x100a5cb0
mov ebx, dword [ebp - 0x7c]
add edi, 8
mov dword [ebp - 0x90], edi
jmp 0x100a4662
lea ecx, [ebp - 0xc4]
mov byte [0x1012f130], 1
call fcn.1003d180
lea ecx, [ebp - 0xbc]
call fcn.1003d180
lea ecx, [ebp - 0xac]
call fcn.1003d180
lea ecx, [ebp - 0xcc]
call fcn.1003d180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b4e9c
mov esp, ebp
pop ebp
ret
call fcn.100ba49f
call fcn.100ba49f
push str.stoi_argument_out_of_range
call fcn.100b2c7b
push str.invalid_stoi_argument
call fcn.100b2c3b
call fcn.100ba49f
call fcn.100ba49f
call fcn.100ba49f
call fcn.1003f230
int3