Function at 0x1000e190
Capabilities:
Encode data using xor
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fc5b
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x10087700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x230], edi
push 0x100643b8
push str..DataLocalItemPriceSystem.bmd
call fcn.10049454
mov esi, eax
add esp, 8
mov dword [ebp - 0x208], esi
test esi, esi
jne 0x1000e1fd
push 0x10
push 0x100643e0
push str.ItemPriceSystem.bmd_file_not_found
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 2
push 0
push esi
call fcn.10049a68
push esi
call fcn.1004a0c7
push dword [ebp - 0x208]
mov esi, eax
call fcn.1004a4c1
push esi
call fcn.10043701
push dword [ebp - 0x208]
mov dword [ebp - 0x218], eax
push esi
push 1
push eax
call fcn.10049644
push dword [ebp - 0x208]
call fcn.1004936d
add esp, 0x2c
xor ecx, ecx
test esi, esi
jle 0x1000e263
mov edx, dword [ebp - 0x218]
nop
mov eax, ecx
and eax, 0x1f
mov al, byte [eax + 0x1008703c]
xor byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x1000e250
lea ecx, [ebp - 0x204]
call fcn.1003ddc0
push 0
push 0x74
push esi
push dword [ebp - 0x218]
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x204]
call fcn.1003e970
cmp dword [ebp - 0x274], 0
jne 0x1000e8f1
push str.ItemPriceSystem
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
call fcn.1003e340
push str.ItemSell
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.1003e340
push 0
push 0x10064428
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e200
push 0
mov byte [edi + 0x1c], al
lea ecx, [ebp - 0x20c]
push str.SellOptionSpec
lea eax, [ebp - 0x21c]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e200
cmp byte [edi + 0x1c], 0
mov byte [edi + 0x1d], al
je 0x1000e659
push 0x10064440
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x20c]
call fcn.1003e340
lea ecx, [ebp - 0x208]
call fcn.1003dee0
test eax, eax
je 0x1000e659
nop word [eax + eax]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
push 0
push 0x10064448
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x208]
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov byte [ebp - 0x13c], al
lea ecx, [ebp - 0x208]
push 0x1006444c
lea eax, [ebp - 0x260]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov word [ebp - 0x13a], ax
lea ecx, [ebp - 0x208]
push 0x10064454
lea eax, [ebp - 0x264]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov word [ebp - 0x138], ax
lea ecx, [ebp - 0x208]
push 0x1006445c
lea eax, [ebp - 0x268]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov byte [ebp - 0x136], al
lea ecx, [ebp - 0x208]
push 0x10064468
lea eax, [ebp - 0x238]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x208]
push str.ExcOption
lea eax, [ebp - 0x23c]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov byte [ebp - 0x130], al
lea ecx, [ebp - 0x208]
push str.SetOption
lea eax, [ebp - 0x240]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0x100643b1
mov byte [ebp - 0x12f], al
lea ecx, [ebp - 0x208]
push str.ExcCode
lea eax, [ebp - 0x244]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e2b0
mov esi, eax
mov dword [ebp - 0x21c], eax
lea edx, [esi + 1]
mov cl, byte [esi]
inc esi
test cl, cl
jne 0x1000e4b3
sub esi, edx
cmp esi, 0xf
ja 0x1000e4e2
push esi
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x11c], esi
push eax
call fcn.10044a80
mov byte [ebp + esi - 0x12c], 0
jmp 0x1000e576
cmp esi, 0x7fffffff
ja 0x1000e96b
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x1000e510
mov eax, 0x80000000
mov edi, 0x7fffffff
push eax
call fcn.10003ae0
add esp, 4
jmp 0x1000e541
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x1000e530
push eax
call fcn.10003ae0
add esp, 4
jmp 0x1000e541
test eax, eax
je 0x1000e53f
push eax
call fcn.100436d1
add esp, 4
jmp 0x1000e541
xor eax, eax
push esi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], eax
push eax
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], edi
call fcn.10044a80
mov eax, dword [ebp - 0x210]
mov edi, dword [ebp - 0x230]
mov dword [ebp - 0x12c], eax
mov byte [eax + esi], 0
add esp, 0xc
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x208]
push 0
push str.SetTier
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov byte [ebp - 0x114], al
lea ecx, [ebp - 0x208]
push 0x1006449c
lea eax, [ebp - 0x22c]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
lea esi, [edi + 4]
mov byte [ebp - 0x113], al
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x13c]
push ecx
push eax
cmp eax, dword [esi + 8]
je 0x1000e5e7
push esi
call fcn.1000de70
add esp, 0xc
add dword [esi + 4], 0x2c
jmp 0x1000e5ee
mov ecx, esi
call fcn.1000dba0
mov edx, dword [ebp - 0x118]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000e62c
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e622
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e966
push edx
push ecx
call fcn.10043123
add esp, 8
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x208]
call fcn.1003eca0
lea ecx, [ebp - 0x208]
mov eax, dword [eax]
mov dword [ebp - 0x208], eax
call fcn.1003dee0
test eax, eax
jne 0x1000e350
push str.ItemBuy
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x214]
call fcn.1003e340
push 0
push 0x100644b0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e200
mov byte [edi + 0x1e], al
test al, al
je 0x1000e815
push 0x100644b8
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x224]
call fcn.1003e340
lea ecx, [ebp - 0x208]
call fcn.1003dee0
test eax, eax
je 0x1000e815
nop word [eax + eax]
push 0
push 0x100644c0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x208]
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov byte [ebp - 0x258], al
lea ecx, [ebp - 0x208]
push 0x100644c4
lea eax, [ebp - 0x22c]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov word [ebp - 0x256], ax
lea ecx, [ebp - 0x208]
push str.ItemMinLevel
lea eax, [ebp - 0x228]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov word [ebp - 0x254], ax
lea ecx, [ebp - 0x208]
push str.ItemMaxLevel
lea eax, [ebp - 0x244]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov word [ebp - 0x252], ax
lea ecx, [ebp - 0x208]
push str.CoinType
lea eax, [ebp - 0x240]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
push 0
mov byte [ebp - 0x250], al
lea ecx, [ebp - 0x208]
push str.CoinValue
lea eax, [ebp - 0x23c]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x24c], eax
cmp ecx, dword [edi + 0x18]
je 0x1000e7d8
movups xmm0, xmmword [ebp - 0x258]
mov eax, dword [ebp - 0x248]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
add dword [edi + 0x14], 0x14
jmp 0x1000e7e8
lea eax, [ebp - 0x258]
push eax
push ecx
lea ecx, [edi + 0x10]
call fcn.1000da10
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x208]
call fcn.1003eca0
lea ecx, [ebp - 0x208]
mov eax, dword [eax]
mov dword [ebp - 0x208], eax
call fcn.1003dee0
test eax, eax
jne 0x1000e6d0
push 0x10064504
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x214]
call fcn.1003e340
push 0x1006450c
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x234]
call fcn.1003e340
lea ecx, [ebp - 0x208]
call fcn.1003dee0
test eax, eax
je 0x1000e8f1
nop word [eax + eax]
push 0
push 0x10064514
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x208]
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e280
cmp eax, 5
ja 0x1000e925
lea ecx, [eax + eax*8]
lea esi, [edi + ecx*4]
mov dword [esi + 0x20], eax
lea ecx, [ebp - 0x208]
push 0x100643b2
push 0x10064548
lea eax, [ebp - 0x22c]
push eax
call fcn.1003e2d0
mov ecx, eax
call fcn.1003e2b0
push eax
lea eax, [esi + 0x24]
push 0x1e
push eax
call fcn.1004a4eb
add esp, 0xc
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x208]
push eax
call fcn.1003eca0
lea ecx, [ebp - 0x208]
mov eax, dword [eax]
mov dword [ebp - 0x208], eax
call fcn.1003dee0
test eax, eax
jne 0x1000e860
push dword [ebp - 0x218]
call fcn.1004370a
add esp, 4
lea ecx, [ebp - 0x204]
call fcn.1003dea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004344b
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.10045000
push 5
lea eax, [ebp - 0x110]
push str.String_ID_out_of_bound:_Min_0__Max__d
push eax
call fcn.1000df50
add esp, 0x18
lea eax, [ebp - 0x110]
push 0
push 0x10064540
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1000e8ff
call fcn.10049147
call fcn.10003e60
int3