Function at 0x4e0fa0
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ecx, 0x63d018
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
call fcn.00462f00
test al, al
jne 0x4e155d
mov edx, dword [esi*4 + 0x20a514c]
mov dword [esp + 0x28], edx
test esi, esi
js 0x4e155d
cmp esi, 0x1194
jge 0x4e155d
cmp dword [edx + 4], 3
jne 0x4e155d
movzx eax, word [edx + 0x78]
cmp eax, 1
je 0x4e1014
cmp eax, 6
jne 0x4e155d
cmp byte [edx + 0xa], 0
jg 0x4e155d
cmp byte [edx + 0x9c0], 0
jne 0x4e155d
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 5]
shl ebx, 8
or ebx, eax
cmp ebx, 0x1194
jae 0x4e155d
mov edi, dword [ebx*4 + 0x20a514c]
mov dword [esp + 0x1c], edi
cmp dword [edi + 4], 3
jne 0x4e155d
movzx eax, word [edi + 0x78]
cmp eax, 1
je 0x4e106b
cmp eax, 6
jne 0x4e155d
cmp byte [edi + 0xa], 0
jg 0x4e155d
cmp byte [edi + 0x9c0], 0
jne 0x4e155d
cmp byte [edi + 0x400], 0
jne 0x4e109b
mov esi, dword [edx + 0x390]
mov byte [esp + 0x3c], 3
jmp 0x4e150c
cmp byte [edi + 0x401], 0
je 0x4e10b4
mov esi, dword [edx + 0x390]
mov byte [esp + 0x3c], 4
jmp 0x4e150c
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x10]
cmp al, 0xcc
jae 0x4e10c3
xor eax, eax
jmp 0x4e10c9
cmp al, 0xec
sbb eax, eax
neg eax
test eax, eax
jne 0x4e10dd
mov esi, dword [edx + 0x390]
mov byte [esp + 0x3c], 5
jmp 0x4e150c
mov ecx, esi
call fcn.0051fd50
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38c], 1
je 0x4e14fa
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x86]
xorps xmm0, xmm0
mov word [esp + 0x34], 0
movq qword [esp + 0x2c], xmm0
mov byte [esp + 0x36], 0
movq xmm0, qword [eax + 6]
mov ax, word [eax + 0xe]
mov word [esp + 0x34], ax
lea eax, [esp + 0x2c]
movq qword [esp + 0x2c], xmm0
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e1150
test dl, dl
je 0x4e114c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e1150
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e1130
xor eax, eax
jmp 0x4e1155
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e14fa
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x390]
movzx eax, byte [ecx + 0x10]
imul eax, eax, 0x10c
add edx, eax
movzx eax, word [edx + 4]
mov esi, eax
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x10]
test ax, ax
js 0x4e14fa
mov eax, 0x2000
cmp word [esp + 0x24], ax
jge 0x4e14fa
mov edx, dword [edx + 0x84]
test edx, edx
jle 0x4e14fa
mov eax, dword [esp + 0x28]
cmp dword [eax + 0xe4], edx
jae 0x4e11be
mov byte [esp + 0x3c], 7
jmp 0x4e14ff
mov eax, dword [ebx*4 + 0x20a514c]
mov eax, dword [eax + 0xe4]
mov dword [esp + 0x24], eax
xor eax, eax
add dword [esp + 0x24], edx
adc eax, eax
mov dword [esp + 0x3c], eax
jne 0x4e14f3
cmp dword [esp + 0x24], 0x77359400
ja 0x4e14f3
mov byte [edi + 0x401], 1
sub esp, 0x10c
movzx eax, byte [ecx + 0x10]
mov ecx, 0x43
imul esi, eax, 0x10c
add esi, dword [edi + 0x390]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x11c]
push edi
call fcn.0049dbe0
mov byte [esp + 0x1b], al
cmp al, 0xff
jne 0x4e123b
mov esi, dword [edi*4 + 0x20a514c]
mov byte [esp + 0x3c], 8
jmp 0x4e1506
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
movzx eax, byte [eax + 0x10]
imul ecx, eax, 0x10c
add ecx, dword [esi + 0x390]
movzx eax, byte [ecx + 0xd7]
push eax
movzx eax, byte [ecx + 0xd6]
push eax
movzx eax, byte [ecx + 0xd5]
push eax
movzx eax, byte [ecx + 0xd4]
push eax
movzx eax, byte [ecx + 0xd3]
push eax
movzx eax, byte [ecx + 0xd2]
push eax
movzx eax, byte [ecx + 0xcc]
push eax
movzx eax, byte [ecx + 0x9f]
push eax
movzx eax, byte [ecx + 0x9e]
push eax
movzx eax, byte [ecx + 0x9d]
push eax
movzx eax, byte [ecx + 0x9c]
push eax
push dword [ecx]
movsx eax, word [ecx + 6]
push eax
movsx eax, word [ecx + 4]
push eax
push dword [ecx + 0x84]
mov ecx, dword [esp + 0x64]
lea eax, [ecx + 0x86]
push eax
lea eax, [ecx + 0x7b]
push eax
lea eax, [esi + 0x86]
push eax
lea eax, [esi + 0x7b]
push eax
push str._SellPesonalShopItem___s___s_____Account:__s__Name:__s__Value:__d__Index:__04d__Level:__02d__Serial:__08X__Option1:__01d__Option2:__01d__Option3:__01d__NewOption:__03d__JewelOfHarmonyOption:__03d__ItemOptionEx:__03d__SocketOption:__03d___03d___03d___03d___03d_
push 3
push 0x9f30a0
call fcn.004b2600
mov eax, dword [esp + 0x6c]
movzx eax, byte [eax + 0x10]
imul ecx, eax, 0x10c
mov eax, dword [esi + 0x390]
mov eax, dword [ecx + eax + 0x84]
mov ecx, dword [esp + 0x80]
sub dword [ecx + 0xe4], eax
mov edx, dword [ecx + 0xe4]
mov ecx, edi
call fcn.004e9640
mov dl, byte [esp + 0x73]
mov eax, ebx
shr eax, 8
sub esp, 0xb4
mov byte [esp + 0x149], al
mov ecx, 0x43
movzx eax, dl
imul esi, eax, 0x10c
mov eax, dword [edi*4 + 0x20a514c]
mov edi, esp
mov dword [esp + 0x144], 0x63f14c1
mov byte [esp + 0x148], 1
mov byte [esp + 0x14a], bl
add esi, dword [eax + 0x390]
lea eax, [esp + 0x14b]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0049ee40
movzx eax, byte [esp + 0x39]
mov esi, dword [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x4f], dl
push eax
push esi
call fcn.005192f0
mov ecx, esi
call fcn.004729b0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
movzx eax, byte [eax + 0x10]
imul ecx, eax, 0x10c
mov eax, dword [edi + 0x390]
mov eax, dword [ecx + eax + 0x84]
mov ecx, ebx
add dword [edi + 0xe4], eax
mov edx, dword [edi + 0xe4]
call fcn.004e9640
mov eax, dword [esp + 0x14]
push 0xf
mov dword [esp + 0x3c], 0x83f0fc1
mov al, byte [eax + 0x10]
mov byte [esp + 0x40], al
mov eax, dword [esi*4 + 0x20a514c]
movq xmm0, qword [eax + 0x86]
mov ax, word [eax + 0x8e]
mov word [esp + 0x49], ax
lea eax, [esp + 0x3c]
push eax
push ebx
movq qword [esp + 0x49], xmm0
call fcn.005192f0
mov esi, dword [esp + 0x14]
movzx eax, byte [esi + 0x10]
push eax
push ebx
call fcn.0049de90
mov al, byte [esi + 0x10]
lea edx, [esp + 0x1c]
push 5
mov ecx, ebx
mov word [esp + 0x20], 0x5c1
mov byte [esp + 0x22], 0x28
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 1
call fcn.00526480
add esp, 4
mov ecx, ebx
call fcn.004729b0
push ebx
call fcn.004e03a0
test al, al
jne 0x4e1475
mov byte [edi + 0x402], 1
mov byte [edi + 0x401], al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
mov byte [edi + 0x400], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x404], xmm0
push ecx
movups xmmword [edi + 0x414], xmm0
push ebx
mov dword [edi + 0x424], 0
call fcn.004e1a20
cmp dword [edi + 0x43c], 0
je 0x4e14bb
mov dword [edi + 0x43c], 0
mov dword [edi + 0x440], 0
cmp dword [edi + 0x444], 1
jne 0x4e14d8
mov dword [edi + 0x444], 2
mov dword [edi + 0x448], 5
mov byte [edi + 0x401], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
mov byte [esp + 0x3c], 8
jmp 0x4e14ff
mov byte [esp + 0x3c], 6
mov esi, dword [esi*4 + 0x20a514c]
mov esi, dword [esi + 0x390]
mov eax, ebx
mov dword [esp + 0x38], 0x63f14c1
shr eax, 8
sub esp, 0x10c
mov byte [esp + 0x149], al
mov edi, esp
lea eax, [esp + 0x14b]
mov byte [esp + 0x14a], bl
mov ecx, 0x43
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0049ee40
movzx eax, byte [esp + 0x39]
mov esi, dword [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x4f], 0
push eax
push esi
call fcn.005192f0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8