Function at 0x408ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d0c0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x485310]
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
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.00408f20
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00409390
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.00408f50
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00409410
push 0x46e4f8
lea eax, [ebp - 0x40]
push str.item_kor.bmd
push eax
call fcn.0043644b
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push 1
push 4
push eax
call fcn.004369a9
mov eax, dword [ebp - 0x3c]
add esp, 0x1c
test eax, eax
je 0x408cfe
xor ecx, ecx
mov edx, 0x26c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00423c35
imul ecx, dword [ebp - 0x3c], 0x26c
mov esi, eax
push ecx
push 0
push esi
call fcn.004255e0
push dword [ebp - 0x40]
imul eax, dword [ebp - 0x3c], 0x26c
push 1
push eax
push esi
call fcn.004369a9
xor edi, edi
add esp, 0x20
cmp dword [ebp - 0x3c], edi
jle 0x408cc2
push 0x26c
push esi
call fcn.00423470
add esp, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x48]
push esi
push eax
call fcn.00406f70
mov eax, dword [ebp - 0x58]
inc edi
mov dword [eax + 0x14], esi
add esi, 0x26c
cmp edi, dword [ebp - 0x3c]
jl 0x408c95
push dword [ebp - 0x40]
call fcn.00436555
push 0x46e4f8
lea eax, [ebp - 0x40]
push str.item_eng.bmd
push eax
call fcn.0043644b
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push 1
push 4
push eax
call fcn.004369a9
mov eax, dword [ebp - 0x3c]
add esp, 0x20
test eax, eax
jne 0x408d1b
push 0
push str.ERROR_
push str.ItemData_count___0_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x408ec3
xor ecx, ecx
mov edx, 0x264
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00423c35
imul ecx, dword [ebp - 0x3c], 0x264
mov esi, eax
push ecx
push 0
push esi
call fcn.004255e0
push dword [ebp - 0x40]
imul eax, dword [ebp - 0x3c], 0x264
push 1
push eax
push esi
call fcn.004369a9
xor edi, edi
add esp, 0x20
cmp dword [ebp - 0x3c], edi
jle 0x408d8d
push 0x264
push esi
call fcn.00423470
add esp, 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x50]
push esi
push eax
call fcn.00407000
mov eax, dword [ebp - 0x58]
inc edi
mov dword [eax + 0x14], esi
add esi, 0x264
cmp edi, dword [ebp - 0x3c]
jl 0x408d60
push dword [ebp - 0x40]
call fcn.00436555
mov ecx, dword [ebp - 0x48]
add esp, 4
mov eax, dword [ecx]
cmp eax, ecx
je 0x408e62
mov edi, dword [ebp - 0x50]
mov edx, dword [edi + 4]
mov ecx, edi
mov ebx, dword [eax + 0x14]
cmp byte [edx + 0xd], 0
jne 0x408dd5
mov esi, dword [ebx]
cmp dword [edx + 0x10], esi
jae 0x408dc2
mov edx, dword [edx + 8]
jmp 0x408dc6
mov ecx, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x408db8
cmp ecx, edi
je 0x408dd5
cmp esi, dword [ecx + 0x10]
jae 0x408dd7
mov ecx, edi
cmp ecx, edi
je 0x408e19
mov edx, dword [ecx + 0x14]
movups xmm0, xmmword [edx + 0x210]
movups xmmword [ebx + 0x210], xmm0
movq xmm0, qword [edx + 0x220]
movq qword [ebx + 0x220], xmm0
mov ecx, dword [edx + 0x228]
mov dword [ebx + 0x228], ecx
mov cx, word [edx + 0x22c]
mov word [ebx + 0x22c], cx
mov edi, dword [ebp - 0x50]
cmp byte [eax + 0xd], 0
jne 0x408e59
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x408e3e
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
jne 0x408e59
mov eax, ecx
mov ecx, dword [eax]
cmp byte [ecx + 0xd], 0
je 0x408e32
jmp 0x408e59
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x408e57
cmp eax, dword [ecx + 8]
jne 0x408e57
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x408e47
mov eax, ecx
cmp eax, dword [ebp - 0x48]
jne 0x408da8
movzx eax, word [0x46e52c]
movups xmm0, xmmword [str.item_ex_client.txt]
mov word [ebp - 0x14], ax
movzx eax, byte [0x46e52e]
mov byte [ebp - 0x12], al
movzx eax, word [0x46e540]
mov word [ebp - 0x28], ax
movzx eax, byte [0x46e542]
mov byte [ebp - 0x26], al
lea eax, [ebp - 0x48]
push 0
movups xmmword [ebp - 0x24], xmm0
push eax
movups xmm0, xmmword [str.item_ex_server.txt]
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.00408360
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00408360
add esp, 0x18
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
push eax
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.00409810
push dword [ebp - 0x50]
call fcn.00423c22
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.004094f0
push dword [ebp - 0x48]
call fcn.00423c22
add esp, 4
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.00424024
mov esp, ebp
pop ebp
ret