Function at 0x44bf70
Capabilities:
Encrypt data using speck

Disassembly:
sub esp, 0x2c
mov dword [0xdfe128], 0
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], str.Wear_Wield_which_item_
mov dword [esp], eax
mov dword [0x54c7e4], 0x50df04
mov dword [0x54c7e0], 0x4413b0
call fcn.00443190
test al, al
je 0x42805d
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0046fc40
add esp, 0x2c
ret
sub esp, 0x2c
mov dword [0xdfe128], 0
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], str.Wear_Wield_which_item_
mov dword [esp], eax
mov dword [0x54c7e4], 0x50df04
mov dword [0x54c7e0], 0x4413b0
call fcn.00443190
test al, al
je 0x4280bd
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.004719e0
add esp, 0x2c
ret
push ebp
mov ebp, eax
mov ecx, 0x1a
push edi
mov edi, edx
push esi
push ebx
mov ebx, 0xc
sub esp, 0x18c
movzx edx, word [eax + eax + 0xf0cd14]
movzx eax, word [eax + eax + 0xf0cd20]
cmp dword [0x5029ac], 0x2c
mov dword [esp + 0x3c], 0
cmove ebx, ecx
cmp ax, 0x2c
je 0x44ac20
cmp ax, 0x2d
je 0x44aaf0
cmp ax, 0x2b
jne 0x44ae00
movzx eax, word [0xf034b0]
mov dword [esp + 8], 3
cmp ax, 7
je 0x44b020
cmp ax, 0x4d
je 0x44b020
cmp ax, 0x39
je 0x44b120
mov dword [esp + 4], str.Sell_what_
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00443190
test al, al
je 0x44affc
mov ecx, dword [esp + 0x40]
cmp ecx, 0x63
jle 0x44b090
mov eax, 0x51eb851f
mov ebx, ecx
imul ecx
mov eax, ecx
sar eax, 0x1f
sar edx, 5
sub edx, eax
lea eax, [edx - 1]
imul edx, edx, 0x64
sub ebx, edx
imul edx, eax, 0x2100
imul esi, ebx, 0x160
lea ebx, [ebx + ebx*4]
imul eax, eax, 0xf00
shl ebx, 5
lea edx, [esi + edx + 0xf248a0]
movzx edi, byte [edx + 0x4d]
movzx edx, byte [edx + 0x16]
lea ebx, [ebx + eax + 0xf0e0a0]
cmp edi, 1
jle 0x44b110
cmp edx, 0x12
jg 0x44b1d8
cmp edx, 2
jle 0x44aaa5
mov eax, 0x70828
bt eax, edx
jae 0x44aaa5
cmp byte [0xde831e], 0
jne 0x44b170
mov dword [esp + 4], edi
mov dword [esp], str.How_many__a_or_spacebar_for_all__
mov byte [0xdfdfd7], 1
call fcn.00414be0
mov esi, eax
cmp word [0xf034b0], 0x39
je 0x44b0b8
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.004705d0
add esp, 0x18c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [0xf0ce78]
movzx edx, word [0xf034b0]
test al, al
je 0x44afe0
sub eax, dword [0x54d880]
mov dword [esp + 4], str.Which_item_do_you_want_to_examine_
cmp eax, ebx
cmovle ebx, eax
mov esi, ebx
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x40]
mov dword [esp], ebx
call fcn.0044a540
call fcn.004238b0
lea eax, [esi + 0x60]
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0xe0]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x3b]
mov dword [esp + 8], 0x61
mov dword [esp + 4], str._Items__c__c__ESC_to_exit___s
mov dword [esp], ebx
call fcn.0044a540
mov ebp, dword [sym.imp.msvcrt.dll_islower]
jmp 0x44ab75
call fcn.0040e990
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00411de0
test al, al
je 0x44b060
movsx edi, byte [esp + 0x3b]
mov dword [esp], edi
call ebp
test eax, eax
je 0x44ab70
sub edi, 0x61
mov edx, edi
js 0x44ab70
cmp dword [esp + 0x24], edi
jle 0x44ab70
mov dword [esp + 0x24], edx
call fcn.00423840
cmp byte [esp + 0x3b], 0x1b
je 0x44affc
mov edx, dword [esp + 0x24]
add edx, dword [0x54d880]
imul eax, edx, 0x160
add eax, dword [0xf0ce7c]
movzx ecx, byte [eax + 0x16]
lea ebx, [ecx - 0x59]
cmp bl, 6
jbe 0x44b190
cmp cl, 0x6f
jne 0x44b160
movzx ecx, byte [eax + 0x17]
lea ebx, [ecx - 0x64]
cmp bl, 2
ja 0x44abfe
cmp word [eax + 0x62], 0
je 0x44b160
mov eax, dword [eax + 0x28]
not edx
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.00493160
jmp 0x44affc
movzx ecx, word [0xf034b0]
movzx eax, byte [0xf0ce78]
cmp cx, 0x4d
sete dl
cmp cx, 7
sete cl
or edx, ecx
test al, al
je 0x44b010
sub eax, dword [0x54d880]
cmp eax, ebx
cmovle ebx, eax
mov dword [esp + 0x24], ebx
test dl, dl
je 0x44b070
lea eax, [esp + 0x40]
mov dword [esp + 4], str.Which_item_do_you_want_to_take_
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call fcn.0044a540
call fcn.004238b0
mov eax, dword [esp + 0x2c]
lea ebx, [esp + 0xe0]
mov dword [esp + 8], 0x61
mov dword [esp + 4], str._Items__c__c__ESC_to_exit___s
lea esi, [esp + 0x3b]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp], ebx
add eax, 0x60
mov dword [esp + 0xc], eax
call fcn.0044a540
mov dword [esp + 0x28], edi
mov ebp, dword [sym.imp.msvcrt.dll_islower]
jmp 0x44acc5
call fcn.0040e990
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00411de0
test al, al
je 0x44b048
movsx edi, byte [esp + 0x3b]
mov dword [esp], edi
call ebp
test eax, eax
je 0x44acc0
sub edi, 0x61
js 0x44acc0
cmp dword [esp + 0x24], edi
jle 0x44acc0
mov eax, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.00423840
cmp byte [esp + 0x3b], 0x1b
je 0x44affc
mov edx, dword [0x503558]
mov eax, dword [esp + 0x24]
add eax, dword [0x54d880]
mov esi, dword [0xf0ce7c]
mov ebx, eax
mov eax, dword [eax*4 + 0xf0cac0]
cmp eax, dword [edx + 0x11d0]
jg 0x44b1f0
imul edx, ebx, 0x160
add esi, edx
movzx edx, byte [esi + 0x4d]
cmp dl, 1
jbe 0x44b030
mov ecx, edi
test cl, cl
jne 0x44b030
movzx ecx, word [0xf034b0]
cmp cx, 7
je 0x44b208
cmp cx, 0x4d
je 0x44b208
mov dword [esp + 4], eax
mov dword [esp], str.That_costs__d_gold_per_item.
call fcn.00402550
mov dword [esp], eax
call fcn.00413da0
mov ecx, dword [ebx*4 + 0xf0cac0]
test ecx, ecx
jle 0x44b21d
mov eax, dword [0x503558]
mov eax, dword [eax + 0x11d0]
cdq
idiv ecx
mov edi, eax
movzx eax, byte [esi + 0x4d]
cmp edi, eax
jge 0x44b221
cmp edi, 1
jle 0x44b236
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 4], str.Quantity__1_
mov dword [esp], esi
mov byte [0xdfdfd7], 1
call fcn.0044a540
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00414be0
lea esi, [esi]
nop
test eax, eax
jg 0x44b035
jmp 0x44affc
movzx eax, byte [ebp + 0xf0ce40]
test al, 1
je 0x44af3b
movzx eax, byte [0xf0ce78]
test al, al
jne 0x44ae50
movzx eax, word [0xf034b0]
cmp ax, 7
je 0x44aff0
cmp ax, 0x4d
je 0x44aff0
mov dword [esp], str.I_am_currently_out_of_stock.
call fcn.00413da0
add esp, 0x18c
pop ebx
pop esi
pop edi
pop ebp
ret
sub eax, dword [0x54d880]
mov dword [esp + 4], 0x51866c
cmp eax, ebx
mov dword [esp + 0x28], edx
cmovle ebx, eax
mov esi, ebx
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x40]
mov dword [esp], ebx
call fcn.0044a540
call fcn.004238b0
lea eax, [esi + 0x60]
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0xe0]
mov dword [esp + 0xc], eax
lea esi, [esp + 0x3b]
mov dword [esp + 8], 0x61
mov dword [esp + 4], str._Items__c__c__ESC_to_exit___s
mov dword [esp], ebx
mov dword [esp + 0x3c], 0xffffffff
call fcn.0044a540
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov edi, dword [sym.imp.msvcrt.dll_islower]
mov word [esp + 0x28], dx
jmp 0x44aed5
call fcn.0040e990
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00411de0
test al, al
je 0x44b1a0
movsx ebp, byte [esp + 0x3b]
mov dword [esp], ebp
call edi
test eax, eax
je 0x44aed0
mov edx, ebp
sub edx, 0x61
js 0x44aed0
cmp dword [esp + 0x24], edx
jle 0x44aed0
mov eax, edx
mov ebp, dword [esp + 0x2c]
movzx edx, word [esp + 0x28]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
call fcn.00423840
cmp byte [esp + 0x3b], 0x1b
je 0x44affc
mov eax, dword [0x54d880]
mov edx, dword [esp + 0x24]
add dword [esp + 0x3c], eax
movzx eax, byte [ebp + 0xf0ce40]
test al, 2
je 0x44af7b
mov ecx, 3
test al, 8
jne 0x44b130
lea eax, [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x51866c
mov dword [esp], eax
mov dword [esp + 0x24], edx
call fcn.00443190
test al, al
je 0x44affc
movzx eax, byte [ebp + 0xf0ce40]
mov edx, dword [esp + 0x24]
test al, 4
je 0x44b100
mov dword [esp + 4], 0xffffffff
mov dword [esp], str.How_much_gold__a_or_spacebar_for_all__
mov dword [esp + 0x24], edx
mov byte [0xdfdfd7], 1
call fcn.00414be0
mov edx, dword [esp + 0x24]
test eax, eax
je 0x44affc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
movzx edx, dx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004704f0
add esp, 0x18c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dx, 7
je 0x44aff0
cmp dx, 0x4d
jne 0x44ae35
mov dword [esp], str.Your_home_is_empty.
call fcn.00413da0
add esp, 0x18c
pop ebx
pop esi
pop edi
pop ebp
ret
test dl, dl
je 0x44ae35
jmp 0x44aff0
mov dword [esp + 4], str.Drop_what_
jmp 0x44aa0d
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00470590
jmp 0x44affc
mov edi, dword [esp + 0x28]
mov eax, 0xffffffff
jmp 0x44acf8
mov edx, 0xffffffff
jmp 0x44aba4
lea eax, [esp + 0x40]
mov dword [esp + 4], str.Which_item_are_you_interested_in_
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call fcn.0044a540
jmp 0x44ac75
imul eax, ecx, 0x160
lea ebx, [ecx + ecx*4]
shl ebx, 5
add ebx, 0xf561e0
movzx edi, byte [eax + 0xf579ed]
movzx edx, byte [eax + 0xf579b6]
jmp 0x44aa77
cmp edi, esi
je 0x44b1b0
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0xe0]
mov dword [esp + 8], esi
mov dword [esp + 4], str.Really_donate__d_of_your__s_
mov dword [esp], ebx
call fcn.0044a540
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00412750
mov ecx, dword [esp + 0x40]
test al, al
jne 0x44aad0
jmp 0x44affc
xor eax, eax
jmp 0x44afaa
mov esi, 1
jmp 0x44aabe
mov dword [esp + 4], str.Donate_what_
jmp 0x44aa0d
mov dword [0x54c7e0], 0x4413b0
mov ecx, 0xb
mov dword [0xdfe128], 0x4936a0
mov dword [0x54c7e4], 0x51866c
jmp 0x44af4c
mov dword [esp], edx
call fcn.00470550
jmp 0x44affc
cmp byte [0x54c7e9], 0
jne 0x44aaa5
cmp word [0xf034b0], 0x39
je 0x44b1b0
mov esi, edi
jmp 0x44aad0
mov dword [esp], eax
call fcn.00492220
jmp 0x44affc
movzx edx, word [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x44af13
mov dword [esp + 8], ebx
lea ebx, [esp + 0xe0]
mov esi, edi
mov dword [esp + 4], str.Really_donate__s_
mov dword [esp], ebx
call fcn.0044a540
jmp 0x44b0df
cmp edx, 0x30
je 0x44aa98
jmp 0x44aaa5
mov dword [esp], str.You_do_not_have_enough_gold.
call fcn.00413da0
jmp 0x44affc
mov dword [esp + 4], edx
mov dword [esp], 0
call fcn.00414be0
jmp 0x44adf0
movzx eax, byte [esi + 0x4d]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00414be0
jmp 0x44adf0
mov esi, dword [esp + 0x2c]
mov dword [esp + 4], str.Quantity__
mov dword [esp], esi
call fcn.0044a540
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00414be0
jmp 0x44adf0
push ebp
mov eax, 0x1a
mov edx, 0xc
push edi
push esi
push ebx
sub esp, 0x25c
cmp dword [0x5029ac], 0x2c
movzx ecx, word [0xf034b0]
cmove edx, eax
movzx eax, byte [0xf0ce78]
test al, al
je 0x44bf20
sub eax, dword [0x54d880]
mov edi, edx
lea esi, [esp + 0x3f]
mov dword [esp + 4], 0x51866c
cmp eax, edx
lea ebx, [esp + 0x150]
cmovle edi, eax
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 0x2c], edi
call fcn.0044a540
call fcn.004238b0
lea eax, [esp + 0x50]
mov dword [esp + 8], 0x61
mov dword [esp + 0x10], eax
lea eax, [edi + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._Items__c__c__ESC_to_exit___s
mov dword [esp], ebx
call fcn.0044a540
mov edi, dword [sym.imp.msvcrt.dll_islower]
jmp 0x44be25
call fcn.0040e990
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00411de0
test al, al
je 0x44bf48
movsx ebp, byte [esp + 0x3f]
mov dword [esp], ebp
call edi
test eax, eax
je 0x44be20
mov edx, ebp
sub edx, 0x61
js 0x44be20
cmp dword [esp + 0x2c], edx
jle 0x44be20
mov dword [esp + 0x2c], edx
call fcn.00423840
cmp byte [esp + 0x3f], 0x1b
je 0x44bf12
movzx eax, byte [0xf0ce46]
mov ecx, dword [0xf0ce48]
mov edi, dword [esp + 0x2c]
add edi, dword [0x54d880]
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.00404dc0
mov edx, dword [0x503558]
mov ecx, dword [esp + 0x2c]
movsx eax, al
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
movsx eax, word [edx + 0x32e1a]
mov dword [esp + 0x10], eax
movsx eax, word [edx + 0x32e18]
mov dword [esp + 8], 0x5186e6
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x11
mov dword [esp], esi
call fcn.0044a950
lea eax, [esp + 0x50]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0044b560
lea eax, [esp + 0x50]
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], str._s__s
mov dword [esp + 4], 0xff
call fcn.0044a950
mov dword [esp], ebx
mov byte [esp + 0x24f], 0
call fcn.00418830
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp cx, 7
je 0x44bf58
cmp cx, 0x4d
je 0x44bf58
mov dword [esp], str.I_am_currently_out_of_stock.
call fcn.00413da0
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0xffffffff
jmp 0x44be54
mov dword [esp], str.Your_home_is_empty.
call fcn.00413da0
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
push ebp
mov ecx, 0xc
mov edx, 0x1a
push edi
push esi
push ebx
sub esp, 0x2c
cmp dword [0x5029ac], 0x2c
cmovne edx, ecx
mov dword [esp + 0x18], edx
movzx edx, byte [0xde82e0]
test dl, dl
jne 0x44c280
cmp word [0xf0cd14], 0
je 0x44c698
movzx edi, byte [0xf0ce2e]
mov ebx, edi
movsx ebx, bl
cmp eax, ebx
je 0x44c6c9
mov ebx, edi
mov byte [esp + 0x1e], 0
and ebx, 0xffffffdf
cmp bl, 0x57
sete bl
mov esi, ebx
mov ebx, edi
cmp bl, 0x74
mov ecx, esi
sete bl
or cl, bl
mov esi, ecx
je 0x44c730
cmp word [0xf0cd16], 0
je 0x44c031
movzx edi, byte [0xf0ce2f]
mov ecx, edi
movsx ebp, cl
cmp eax, ebp
je 0x44c6e9
mov ebp, edi
and ebp, 0xffffffdf
mov ebx, ebp
cmp bl, 0x57
sete bl
cmp cl, 0x74
mov ebp, ebx
sete byte [esp + 0x1f]
movzx ebx, byte [esp + 0x1f]
mov ecx, ebp
or cl, bl
mov ebp, ecx
je 0x44c744
mov byte [esp + 0x1e], 0
cmp word [0xf0cd18], 0
je 0x44c07c
movzx edi, byte [0xf0ce30]
mov ecx, edi
movsx ebp, cl
cmp eax, ebp
je 0x44c6f9
mov ebp, edi
and ebp, 0xffffffdf
mov ebx, ebp
cmp bl, 0x57
sete bl
cmp cl, 0x74
mov ebp, ebx
sete byte [esp + 0x1f]
movzx ebx, byte [esp + 0x1f]
mov ecx, ebp
or cl, bl
mov ebp, ecx
je 0x44c7a4
mov byte [esp + 0x1e], 0
cmp word [0xf0cd1a], 0
je 0x44c0c7
movzx edi, byte [0xf0ce31]
mov ecx, edi
movsx ebp, cl
cmp eax, ebp
je 0x44c709
mov ebp, edi
and ebp, 0xffffffdf
mov ebx, ebp
cmp bl, 0x57
sete bl
cmp cl, 0x74
mov ebp, ebx
sete byte [esp + 0x1f]
movzx ebx, byte [esp + 0x1f]
mov ecx, ebp
or cl, bl
mov ebp, ecx
je 0x44c7b1
mov byte [esp + 0x1e], 0
cmp word [0xf0cd1c], 0
je 0x44c112
movzx edi, byte [0xf0ce32]
mov ecx, edi
movsx ebp, cl
cmp eax, ebp
je 0x44c719
mov ebp, edi
and ebp, 0xffffffdf
mov ebx, ebp
cmp bl, 0x57
sete bl
cmp cl, 0x74
mov ebp, ebx
sete byte [esp + 0x1f]
movzx ebx, byte [esp + 0x1f]
mov ecx, ebp
or cl, bl
mov ebp, ecx
je 0x44c7be
mov byte [esp + 0x1e], 0
cmp word [0xf0cd1e], 0
je 0x44c160
movzx edi, byte [0xf0ce33]
mov ecx, edi
movsx ebp, cl
cmp eax, ebp
je 0x44c729
mov ebp, edi
and ebp, 0xffffffdf
mov ebx, ebp
cmp bl, 0x57
sete bl
cmp cl, 0x74
mov ebp, ebx
sete byte [esp + 0x1f]
movzx ebx, byte [esp + 0x1f]
mov ecx, ebp
or cl, bl
mov ebp, ecx
je 0x44c7cb
mov byte [esp + 0x1e], 0
lea esi, [esi]
cmp eax, 0x67
je 0x44cbfa
cmp eax, 0x64
je 0x44cc8d
cmp word [0xf0cd14], 0
je 0x44c3d0
movzx edi, byte [0xf0ce2e]
mov ecx, edi
cmp cl, 0x70
je 0x44c1af
jg 0x44c3b0
cmp cl, 0x64
je 0x44c6c0
cmp cl, 0x67
jne 0x44c3d0
cmp eax, 0x70
je 0x44c6c9
cmp eax, 7
je 0x44ca50
cmp eax, 0x1a
jne 0x44cb28
test dl, dl
jne 0x44ca41
cmp word [0xf0cd16], 0
je 0x44c450
movzx edi, byte [0xf0ce2f]
mov ebx, edi
cmp bl, 0x70
jne 0x44c3e8
cmp word [0xf0cd18], 0
je 0x44c4d0
movzx edi, byte [0xf0ce30]
mov ebx, edi
cmp bl, 0x70
jne 0x44c468
cmp word [0xf0cd1a], 0
je 0x44c550
movzx edi, byte [0xf0ce31]
mov ebx, edi
cmp bl, 0x70
jne 0x44c4e8
cmp word [0xf0cd1c], 0
je 0x44c5d0
movzx edi, byte [0xf0ce32]
mov ebx, edi
cmp bl, 0x70
jne 0x44c568
cmp word [0xf0cd1e], 0
je case.0x44c64c.5
movzx edi, byte [0xf0ce33]
mov ebx, edi
cmp bl, 0x70
jne 0x44c5e8
lea esi, [esi]
mov dword [esp], eax
call fcn.00429b80
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp word [0xf0cd14], 0
je 0x44c6b0
movsx esi, byte [0xf0ce2e]
mov ebx, esi
cmp eax, esi
je 0x44c6c9
cmp bl, 0x77
sete cl
cmp bl, 0x54
sete bl
mov esi, ecx
or ebx, esi
xor ebx, 1
mov byte [esp + 0x1e], bl
cmp word [0xf0cd16], 0
je 0x44c2e6
movzx esi, byte [0xf0ce2f]
mov ecx, esi
movsx edi, cl
cmp eax, edi
je 0x44c6e9
cmp cl, 0x77
je 0x44c758
cmp cl, 0x54
je 0x44c758
cmp word [0xf0cd18], 0
je 0x44c316
movzx esi, byte [0xf0ce30]
mov ecx, esi
movsx edi, cl
cmp eax, edi
je 0x44c6f9
cmp cl, 0x77
je 0x44c768
cmp cl, 0x54
je 0x44c768
cmp word [0xf0cd1a], 0
je 0x44c346
movzx esi, byte [0xf0ce31]
mov ecx, esi
movsx edi, cl
cmp eax, edi
je 0x44c709
cmp cl, 0x77
je 0x44c778
cmp cl, 0x54
je 0x44c778
cmp word [0xf0cd1c], 0
je 0x44c376
movzx esi, byte [0xf0ce32]
mov ecx, esi
movsx edi, cl
cmp eax, edi
je 0x44c719
cmp cl, 0x77
je 0x44c788
cmp cl, 0x54
je 0x44c788
cmp word [0xf0cd1e], 0
je 0x44c3a6
movzx esi, byte [0xf0ce33]
mov ecx, esi
movsx edi, cl
cmp edi, eax
je 0x44c729
cmp cl, 0x77
je 0x44c798
cmp cl, 0x54
je 0x44c798
mov esi, edx
jmp 0x44c160
cmp cl, 0x78
jne 0x44c3d0
cmp eax, 0x78
je 0x44c6c9
cmp eax, 0x6c
je 0x44c6c9
lea esi, [esi]
nop
cmp word [0xf0cd16], 0
je 0x44c450
movzx edi, byte [0xf0ce2f]
mov ecx, edi
cmp cl, 0x70
je 0x44c406
mov ecx, edi
cmp cl, 0x70
jg 0x44c430
cmp cl, 0x64
je 0x44c6e0
cmp cl, 0x67
jne 0x44c450
cmp eax, 0x70
je 0x44c6e9
cmp eax, 7
je 0x44ca74
cmp eax, 0x1a
jne 0x44cb4d
test dl, dl
je 0x44c1e9
mov eax, 1
jmp 0x44c5a5
cmp cl, 0x78
jne 0x44c450
cmp eax, 0x78
je 0x44c6e9
cmp eax, 0x6c
je 0x44c6e9
lea esi, [esi]
nop
cmp word [0xf0cd18], 0
je 0x44c4d0
movzx edi, byte [0xf0ce30]
mov ecx, edi
cmp cl, 0x70
je 0x44c486
mov ecx, edi
cmp cl, 0x70
jg 0x44c4b0
cmp cl, 0x64
je 0x44c6f0
cmp cl, 0x67
jne 0x44c4d0
cmp eax, 0x70
je 0x44c6f9
cmp eax, 7
je 0x44ca9c
cmp eax, 0x1a
jne 0x44cb72
test dl, dl
je 0x44c209
mov eax, 2
jmp 0x44c5a5
cmp cl, 0x78
jne 0x44c4d0
cmp eax, 0x6c
je 0x44c6f9
cmp eax, 0x78
je 0x44c6f9
lea esi, [esi]
nop
cmp word [0xf0cd1a], 0
je 0x44c550
movzx edi, byte [0xf0ce31]
mov ecx, edi
cmp cl, 0x70
je 0x44c506
mov ecx, edi
cmp cl, 0x70
jg 0x44c530
cmp cl, 0x64
je 0x44c700
cmp cl, 0x67
jne 0x44c550
cmp eax, 0x70
je 0x44c709
cmp eax, 7
je 0x44cac4
cmp eax, 0x1a
jne 0x44cb97
test dl, dl
je 0x44c229
mov eax, 3
jmp 0x44c5a5
cmp cl, 0x78
jne 0x44c550
cmp eax, 0x78
je 0x44c709
cmp eax, 0x6c
je 0x44c709
lea esi, [esi]
nop
cmp word [0xf0cd1c], 0
je 0x44c5d0
movzx edi, byte [0xf0ce32]
mov ecx, edi
cmp cl, 0x70
je 0x44c586
mov ecx, edi
cmp cl, 0x70
jg 0x44c5b0
cmp cl, 0x64
je 0x44c710
cmp cl, 0x67
jne 0x44c5d0
cmp eax, 0x70
je 0x44c719
cmp eax, 7
je 0x44caec
cmp eax, 0x1a
jne 0x44cbbc
test dl, dl
je 0x44c249
mov eax, 4
mov edx, 1
jmp 0x44c6d2
cmp cl, 0x78
jne 0x44c5d0
cmp eax, 0x6c
je 0x44c719
cmp eax, 0x78
je 0x44c719
lea esi, [esi]
nop
cmp word [0xf0cd1e], 0
je 0x44c640
movzx edi, byte [0xf0ce33]
mov ecx, edi
cmp cl, 0x70
je 0x44c606
mov ecx, edi
cmp cl, 0x70
jg 0x44c628
cmp cl, 0x64
je 0x44c720
cmp cl, 0x67
jne 0x44c640
cmp eax, 0x70
je 0x44c729
cmp eax, 7
je 0x44cb14
cmp eax, 0x1a
jne 0x44c640
test dl, dl
je case.0x44c64c.5
mov eax, 5
jmp 0x44c5a5
cmp cl, 0x78
jne 0x44c640
cmp eax, 0x78
je 0x44c729
cmp eax, 0x6c
je 0x44c729
nop
lea edi, [eax - 3]
cmp edi, 0x7a
ja case.0x44c64c.5
jmp dword [edi*4 + 0x5187e0]
mov eax, 6
lea esi, [esi]
nop
mov esi, dword [esp + 0x18]
imul esi, eax
mov dword [esp + 0x18], esi
movzx eax, byte [0xf0ce78]
mov esi, dword [esp + 0x18]
cmp eax, esi
jle case.0x44c64c.13
mov eax, esi
mov dword [0x54d880], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0044b3a0
mov byte [esp + 0x1e], 1
mov esi, 1
jmp 0x44bfe6
mov byte [esp + 0x1e], dl
jmp 0x44c2b6
cmp eax, 0x73
jne 0x44c3d0
xor eax, eax
lea esi, [esi]
nop
xor edx, edx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x44a980
cmp eax, 0x73
jne 0x44c450
mov eax, 1
jmp 0x44c6d0
cmp eax, 0x73
jne 0x44c4d0
mov eax, 2
jmp 0x44c6d0
cmp eax, 0x73
jne 0x44c550
mov eax, 3
jmp 0x44c6d0
cmp eax, 0x73
jne 0x44c5d0
mov eax, 4
jmp 0x44c6d0
cmp eax, 0x73
jne 0x44c640
mov eax, 5
jmp 0x44c6d0
mov ebx, edi
mov byte [esp + 0x1e], 1
cmp bl, 0x6b
setne bl
mov esi, ebx
jmp 0x44bfe6
mov ebx, edi
cmp bl, 0x6b
cmove esi, ebp
jmp 0x44c031
mov byte [esp + 0x1e], 0
jmp 0x44c2e6
mov byte [esp + 0x1e], 0
jmp 0x44c316
mov byte [esp + 0x1e], 0
jmp 0x44c346
mov byte [esp + 0x1e], 0
jmp 0x44c376
mov byte [esp + 0x1e], 0
mov esi, edx
jmp 0x44c160
mov ebx, edi
cmp bl, 0x6b
cmove esi, ebp
jmp 0x44c07c
mov ebx, edi
cmp bl, 0x6b
cmove esi, ebp
jmp 0x44c0c7
mov ebx, edi
cmp bl, 0x6b
cmove esi, ebp
jmp 0x44c112
mov ebx, edi
cmp bl, 0x6b
cmove esi, ebp
jmp 0x44c160
mov dword [esp], 0
call fcn.00417790
jmp case.0x44c64c.13
cmp word [0xf034b0], 0xffff
mov byte [0x54d884], 1
mov eax, 0xf07fc0
jge case.0x44c64c.13
lea esi, [esi]
nop
mov byte [eax], 0
add eax, 0x140
mov byte [eax - 0xa0], 0
cmp eax, 0xf0cac0
jne 0x44c808
jmp case.0x44c64c.13
mov dword [esp], 0
call fcn.00417810
jmp case.0x44c64c.13
mov dword [esp], 3
call fcn.004289b0
jmp case.0x44c64c.13
test dl, dl
je 0x44c853
mov eax, esi
test al, al
jne 0x44cd49
mov dword [esp], 4
call fcn.00429b80
jmp case.0x44c64c.13
movzx edx, byte [0xf0ce78]
mov esi, dword [esp + 0x18]
mov eax, dword [0x54d880]
cmp edx, esi
jle 0x44cbe1
sub eax, esi
jns 0x44c680
lea ebx, [edx - 1]
mov eax, ebx
cdq
idiv esi
sub ebx, edx
mov dword [0x54d880], ebx
jmp 0x44c685
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042d3f0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042fb10
cmp dl, 1
je 0x44c8c0
mov eax, esi
test al, al
jne 0x44cd49
mov dword [esp], 0x6b
call fcn.00429b80
jmp case.0x44c64c.13
cmp dl, 1
je 0x44c8e1
cmp byte [esp + 0x1e], 0
jne 0x44cd3d
mov dword [esp], 0x74
call fcn.00429b80
jmp case.0x44c64c.13
cmp byte [esp + 0x1e], 0
je 0x44cd20
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x428010
mov dword [esp], 3
call fcn.004288b0
jmp case.0x44c64c.13
movzx edx, byte [0xf0ce78]
mov esi, dword [esp + 0x18]
mov eax, dword [0x54d880]
cmp edx, esi
jle 0x44cbe1
add eax, esi
cmp edx, eax
jg 0x44c680
mov dword [0x54d880], 0
jmp 0x44c685
mov dword [esp + 4], 0
mov dword [esp], 0x5187b3
call fcn.004478c0
jmp case.0x44c64c.13
test dl, dl
je 0x44c973
cmp byte [esp + 0x1e], 0
jne 0x44cd31
mov dword [esp], 0x17
call fcn.00429b80
jmp case.0x44c64c.13
test dl, dl
je 0x44c993
cmp byte [esp + 0x1e], 0
jne 0x44cd3d
mov dword [esp], 0x54
call fcn.00429b80
jmp case.0x44c64c.13
cmp dl, 1
je 0x44c9b4
cmp byte [esp + 0x1e], 0
jne 0x44cd31
mov dword [esp], 0x57
call fcn.00429b80
jmp case.0x44c64c.13
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x44bd80
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042fec0
mov dword [esp], 3
call fcn.004280d0
jmp case.0x44c64c.13
mov eax, 7
jmp 0x44c660
mov eax, 9
jmp 0x44c660
mov dword [esp + 0x18], 0
jmp case.0x44c64c.50
mov eax, 2
jmp 0x44c660
mov eax, 3
jmp 0x44c660
mov eax, 4
jmp 0x44c660
mov eax, 5
jmp 0x44c660
mov eax, 8
jmp 0x44c660
xor eax, eax
jmp 0x44c5a5
test dl, dl
je 0x44ca41
cmp word [0xf0cd16], 0
je 0x44c450
movzx edi, byte [0xf0ce2f]
mov ebx, edi
cmp bl, 0x70
jne 0x44c3e8
test dl, dl
je 0x44c420
cmp word [0xf0cd18], 0
je 0x44c4d0
movzx edi, byte [0xf0ce30]
mov ebx, edi
cmp bl, 0x70
jne 0x44c468
test dl, dl
je 0x44c4a0
cmp word [0xf0cd1a], 0
je 0x44c550
movzx edi, byte [0xf0ce31]
mov ebx, edi
cmp bl, 0x70
jne 0x44c4e8
test dl, dl
je 0x44c520
cmp word [0xf0cd1c], 0
je 0x44c5d0
movzx edi, byte [0xf0ce32]
mov ebx, edi
cmp bl, 0x70
jne 0x44c568
test dl, dl
je 0x44c5a0
cmp word [0xf0cd1e], 0
je case.0x44c64c.5
movzx edi, byte [0xf0ce33]
mov ebx, edi
cmp bl, 0x70
jne 0x44c5e8
test dl, dl
jne case.0x44c64c.5
jmp 0x44c61c
cmp word [0xf0cd16], 0
je 0x44c450
movzx edi, byte [0xf0ce2f]
mov ebx, edi
cmp bl, 0x70
jne 0x44c3e8
jmp 0x44c40f
cmp word [0xf0cd18], 0
je 0x44c4d0
movzx edi, byte [0xf0ce30]
mov ebx, edi
cmp bl, 0x70
jne 0x44c468
jmp 0x44c48f
cmp word [0xf0cd1a], 0
je 0x44c550
movzx edi, byte [0xf0ce31]
mov ebx, edi
cmp bl, 0x70
jne 0x44c4e8
jmp 0x44c50f
cmp word [0xf0cd1c], 0
je 0x44c5d0
movzx edi, byte [0xf0ce32]
mov ebx, edi
cmp bl, 0x70
jne 0x44c568
jmp 0x44c58f
cmp word [0xf0cd1e], 0
je 0x44c640
movzx edi, byte [0xf0ce33]
mov ebx, edi
cmp bl, 0x70
jne 0x44c5e8
jmp 0x44c60f
test eax, eax
jne 0x44c93c
mov dword [esp], str.Entire_inventory_is_shown.
call fcn.00413da0
jmp case.0x44c64c.13
cmp word [0xf0cd14], 0
je 0x44cc11
cmp byte [0xf0ce2e], 0x70
je 0x44c6c9
cmp word [0xf0cd16], 0
je 0x44cc28
cmp byte [0xf0ce2f], 0x70
je 0x44c6e9
cmp word [0xf0cd18], 0
je 0x44cc3f
cmp byte [0xf0ce30], 0x70
je 0x44c6f9
cmp word [0xf0cd1a], 0
je 0x44cc56
cmp byte [0xf0ce31], 0x70
je 0x44c709
cmp word [0xf0cd1c], 0
je 0x44cc6d
cmp byte [0xf0ce32], 0x70
je 0x44c719
cmp word [0xf0cd1e], 0
je case.0x44c64c.5
cmp byte [0xf0ce33], 0x70
jne case.0x44c64c.5
jmp 0x44c729
cmp word [0xf0cd14], 0
je 0x44cca4
cmp byte [0xf0ce2e], 0x73
je 0x44c6c9
cmp word [0xf0cd16], 0
je 0x44ccbb
cmp byte [0xf0ce2f], 0x73
je 0x44c6e9
cmp word [0xf0cd18], 0
je 0x44ccd2
cmp byte [0xf0ce30], 0x73
je 0x44c6f9
cmp word [0xf0cd1a], 0
je 0x44cce9
cmp byte [0xf0ce31], 0x73
je 0x44c709
cmp word [0xf0cd1c], 0
je 0x44cd00
cmp byte [0xf0ce32], 0x73
je 0x44c719
cmp word [0xf0cd1e], 0
je case.0x44c64c.5
cmp byte [0xf0ce33], 0x73
jne case.0x44c64c.5
jmp 0x44c729
mov dword [esp], 0x77
call fcn.00429b80
jmp case.0x44c64c.13
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x428070
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00428130
mov dword [esp], 3
call fcn.00428550
jmp case.0x44c64c.13