Function at 0x1000f600
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006479b
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x1008b884]
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
mov dword [ebp - 0x224], ecx
jmp 0x1000f646
push 0x10069370
push str..DataLocalItemPriceSystem.bmd
call fcn.1004e21e
add esp, 8
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x1000f683
push 0x10
push 0x10069398
push str.ItemPriceSystem.bmd_file_not_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 2
push 0
mov eax, dword [ebp - 0x228]
push eax
call fcn.1004e832
add esp, 0xc
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.1004ee91
add esp, 4
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x228]
push edx
call fcn.1004f057
add esp, 4
mov eax, dword [ebp - 0x23c]
push eax
call fcn.100472fb
add esp, 4
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x23c]
push eax
push 1
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.1004e40e
add esp, 0x10
mov edx, dword [ebp - 0x228]
push edx
call fcn.1004e137
add esp, 4
mov dword [ebp - 0x22c], 0
jmp 0x1000f724
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x23c]
jge 0x1000f76d
mov edx, dword [ebp - 0x22c]
and edx, 0x8000001f
jns 0x1000f745
dec edx
or edx, 0xffffffe0
inc edx
movzx eax, byte [edx + 0x1008b494]
mov ecx, dword [ebp - 0x230]
add ecx, dword [ebp - 0x22c]
movsx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x230]
add eax, dword [ebp - 0x22c]
mov byte [eax], dl
jmp 0x1000f715
lea ecx, [ebp - 0x218]
call fcn.10041bf0
mov dword [ebp - 4], 0
push 0
push 0x74
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x230]
push edx
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x218]
call fcn.100427a0
cmp dword [ebp - 0x2c8], 0
je 0x1000f7de
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
push edx
call fcn.10047304
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.10041cd0
jmp 0x1000fdad
push str.ItemPriceSystem
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x218]
call fcn.10042170
push str.ItemSell
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x244]
call fcn.10042170
push 0
push 0x100693e0
lea edx, [ebp - 0x298]
push edx
lea ecx, [ebp - 0x240]
call fcn.10042100
mov ecx, eax
call fcn.10042030
mov ecx, dword [ebp - 0x224]
mov byte [ecx + 0x18], al
push 0
push str.SellOptionSpec
lea edx, [ebp - 0x2b0]
push edx
lea ecx, [ebp - 0x240]
call fcn.10042100
mov ecx, eax
call fcn.10042030
mov ecx, dword [ebp - 0x224]
mov byte [ecx + 0x19], al
mov edx, dword [ebp - 0x224]
movzx eax, byte [edx + 0x18]
test eax, eax
je 0x1000fa8b
push 0x100693f8
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x240]
call fcn.10042170
jmp 0x1000f8a3
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x21c]
call fcn.10042ad0
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x21c]
call fcn.10041d10
test eax, eax
je 0x1000fa8b
lea ecx, [ebp - 0x140]
call fcn.1000f0b0
mov byte [ebp - 4], 1
push 0
push 0x10069400
lea ecx, [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x150], al
push 0
push 0x10069404
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov word [ebp - 0x14e], ax
push 0
push 0x1006940c
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov word [ebp - 0x14c], ax
push 0
push 0x10069414
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x14a], al
push 0
push 0x10069420
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov dword [ebp - 0x148], eax
push 0
push str.ExcOption
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x144], al
push 0
push str.SetOption
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x143], al
push 0x10069369
push str.ExcCode
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420e0
push eax
lea ecx, [ebp - 0x140]
call fcn.1000d9e0
push 0
push str.SetTier
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x128], al
push 0
push 0x10069454
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x127], al
movzx edx, byte [ebp - 0x150]
shl edx, 9
movzx eax, word [ebp - 0x14e]
add edx, eax
mov dword [ebp - 0x280], edx
lea ecx, [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x224]
call fcn.1000feb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x140]
call fcn.10006d20
jmp 0x1000f889
push str.ItemBuy
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x244]
call fcn.10042170
push 0
push 0x10069468
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x248]
call fcn.10042100
mov ecx, eax
call fcn.10042030
mov ecx, dword [ebp - 0x224]
mov byte [ecx + 0x1a], al
mov edx, dword [ebp - 0x224]
movzx eax, byte [edx + 0x1a]
test eax, eax
je 0x1000fc24
push 0x10069470
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x248]
call fcn.10042170
jmp 0x1000fb10
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x220]
call fcn.10042ad0
mov eax, dword [eax]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x220]
call fcn.10041d10
test eax, eax
je 0x1000fc24
push 0
push 0x10069478
lea ecx, [ebp - 0x28c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x124], al
push 0
push 0x1006947c
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x220]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov word [ebp - 0x122], ax
push 0
push str.ItemMinLevel
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x220]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov word [ebp - 0x120], ax
push 0
push str.ItemMaxLevel
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x220]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov word [ebp - 0x11e], ax
push 0
push str.CoinType
lea edx, [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x220]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov byte [ebp - 0x11c], al
push 0
push str.CoinValue
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x220]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0xc
call fcn.1000fe80
jmp 0x1000faf6
push 0x100694bc
lea edx, [ebp - 0x254]
push edx
lea ecx, [ebp - 0x244]
call fcn.10042170
push 0x100694c4
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x254]
call fcn.10042170
jmp 0x1000fc6e
lea ecx, [ebp - 0x2a4]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10042ad0
mov edx, dword [eax]
mov dword [ebp - 0x234], edx
lea ecx, [ebp - 0x234]
call fcn.10041d10
test eax, eax
je 0x1000fd6e
push 0
push 0x100694cc
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x234]
call fcn.10042100
mov ecx, eax
call fcn.100420b0
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jl 0x1000fcb9
cmp dword [ebp - 0x238], 6
jl 0x1000fd12
push 0x100
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.1004a330
add esp, 0xc
push 5
push str.String_ID_out_of_bound:_Min_0__Max__d
lea edx, [ebp - 0x110]
push edx
call fcn.1000f080
add esp, 0xc
push 0
push 0x100694f8
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.10041cd0
jmp 0x1000fdad
imul ecx, dword [ebp - 0x238], 0x24
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x238]
mov dword [edx + ecx + 0x1c], eax
push 0x1006936a
push 0x10069500
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10042100
mov ecx, eax
call fcn.100420e0
push eax
push 0x1e
imul edx, dword [ebp - 0x238], 0x24
mov eax, dword [ebp - 0x224]
lea ecx, [eax + edx + 0x20]
push ecx
call fcn.1004f081
add esp, 0xc
jmp 0x1000fc54
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp - 0x258]
push eax
call fcn.10047304
add esp, 4
jmp 0x1000fd9b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call fcn.10041cd0
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.100472b7
mov esp, ebp
pop ebp
ret