Function at 0x7f6bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0xa6ee48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00626140
mov dword [esp + 0x18], eax
mov byte [eax], 0
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x268]
xor ebp, ebp
cmp eax, dword [edi + 0x10]
push str.ListBG
setge al
movzx ebx, al
neg ebx
sbb ebx, ebx
and ebx, 0x87
mov dword [esp + 0x34], ebp
add ebx, 0x78
call fcn.00572410
mov ecx, dword [eax + 0x28]
cmp ecx, ebp
je 0x7f6c76
cmp dword [eax + 0x34], ebp
jle 0x7f6c76
movzx ebp, byte [ecx + 0x118]
neg ebp
sbb ebp, ebp
and ebp, ecx
mov ecx, dword [esp + 0x38]
push str._VIEW_
call fcn.00899b10
mov esi, eax
push 1
push 0
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.00898e30
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x7f6ca8
cmp dword [eax], 0
je 0x7f6ca8
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
jmp 0x7f6caa
xor ecx, ecx
test eax, eax
je 0x7f6cba
cmp dword [eax], 0
je 0x7f6cba
mov edx, dword [eax]
mov eax, dword [edx + 8]
jmp 0x7f6cbc
xor eax, eax
mov word [esp + 0x3e], cx
mov word [esp + 0x3c], ax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
push str._LIST_R_BG
mov ecx, esi
call fcn.00899b10
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x268]
push 1
mov esi, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
push 2
push 4
push edx
mov ecx, esi
call eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x7f6d0f
cmp dword [eax], 0
je 0x7f6d0f
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
jmp 0x7f6d11
xor ecx, ecx
test eax, eax
je 0x7f6d21
cmp dword [eax], 0
je 0x7f6d21
mov edx, dword [eax]
mov eax, dword [edx + 8]
jmp 0x7f6d23
xor eax, eax
mov word [esp + 0x3e], cx
mov word [esp + 0x3c], ax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call edx
or dword [esi + 4], 1
push str.RSHOP_PICTURE
mov ecx, esi
call fcn.00899b10
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
push eax
mov ecx, 0xce48a0
call fcn.004aad80
push 0
push 0xea60
push 1
push 0
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0x18]
push 1
push eax
mov ecx, 0xdaf3e8
call fcn.008e94c0
push str._RShopList0
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00899b10
push 1
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x268]
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
push 2
push 0
push ecx
mov ecx, ebp
call edx
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
mov eax, 0xed
mov word [esp + 0x3c], ax
mov ecx, 1
lea eax, [esp + 0x3c]
mov word [esp + 0x3e], cx
push eax
mov ecx, ebp
call edx
push str._RShopList1
mov ecx, esi
call fcn.00899b10
mov ebp, eax
mov al, byte [edi + 0x3c]
shr al, 2
mov ecx, ebp
test al, 1
je 0x7f6e2b
mov edx, dword [ebp]
mov eax, dword [edx + 0x3c]
push 1
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x268]
mov edx, dword [ebp]
mov edx, dword [edx + 0x24]
push 1
push 2
push 1
push ecx
mov ecx, ebp
call edx
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
mov eax, 0x27
xor ecx, ecx
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3c]
mov word [esp + 0x3e], cx
push eax
mov ecx, ebp
jmp 0x7f6e33
mov eax, dword [ebp]
mov edx, dword [eax + 0x3c]
push 0
call edx
push str._RShopList2
mov ecx, esi
call fcn.00899b10
mov esi, eax
mov al, byte [edi + 0x3c]
shr al, 1
mov ecx, esi
test al, 1
je 0x7f6e93
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
push 1
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x268]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push 1
push 2
push 2
push ecx
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov eax, 0x27
mov ecx, 0xf
mov word [esp + 0x3c], ax
lea eax, [esp + 0x3c]
mov word [esp + 0x3e], cx
push eax
mov ecx, esi
jmp 0x7f6e9a
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
push 0
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x7f6ee1
mov ecx, dword [esp + 0x40]
movsx ecx, word [ecx + 0x1c]
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
push 1
push 2
push ecx
push eax
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
mov eax, 0x24
mov word [esp + 0x3c], ax
mov ecx, 0x22
lea eax, [esp + 0x3c]
mov word [esp + 0x3e], cx
push eax
mov ecx, esi
call edx
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp]
mov edx, dword [eax + 0x98]
push 1
mov ecx, ebp
call edx
push str.__STATIC__
push str._NAME_
mov ecx, ebp
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__STATIC__
push str._PRICE_
mov ecx, ebp
mov dword [esp + 0x40], eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__STATIC__
push str._MYCNT_
mov ecx, ebp
mov esi, eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
push str.__STATIC__
push str._ITEMCNT_
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.00899b10
mov ecx, eax
call fcn.00899b10
mov edx, dword [esp + 0x24]
mov byte [esi + 0x594], 1
mov dword [esi + 0x598], 3
mov ecx, dword [edi + 0x20]
mov ebp, eax
mov eax, dword [edi + 0x10]
push 0
mov dword [edx + 0x198], eax
mov eax, dword [esp + 0x44]
push 1
mov dword [edx + 0x194], ecx
mov ecx, dword [eax + 0x14]
push 1
push ecx
mov ecx, dword [esp + 0x48]
call fcn.0089d0e0
mov edx, dword [edi + 0x10]
push 0
push 1
push 0
push edx
lea eax, [esp + 0x28]
push 0xa90810
push eax
call fcn.00417090
add esp, 0xc
push eax
mov ecx, esi
call fcn.0089d0e0
mov ecx, dword [edi + 0x18]
push 0
push 1
push 0
push ecx
lea edx, [esp + 0x28]
push 0xa90810
push edx
call fcn.00417090
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push eax
call fcn.0089d0e0
mov eax, dword [edi + 0x44]
push 0
push 1
push 0
push eax
push 0xa90810
lea ecx, [esp + 0x2c]
push ecx
call fcn.00417090
add esp, 0xc
push eax
mov ecx, ebp
call fcn.0089d0e0
mov ecx, dword [esp + 0x38]
push 0
push ebx
call fcn.008994c0
push 0
push ebx
mov ecx, esi
call fcn.008994c0
mov ecx, dword [esp + 0x14]
push 0
push ebx
call fcn.008994c0
push 0
push ebx
mov ecx, ebp
call fcn.008994c0
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x34], 0xffffffff
call fcn.00626120
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc