Function at 0x6aa630
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov edi, ecx
jne 0x6aa653
push 0xce
push 0x7d6818
push str.pKiller
jmp 0x6aa669
mov eax, dword [edi + 4]
test eax, eax
jne 0x6aa686
push 0xcf
push 0x7d6818
push str.m_pMonster
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea esi, [edi + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.006a9360
mov eax, dword [edi + 4]
test eax, eax
jne 0x6aa6bd
push 0x28
push str.....commonAutoLink.h
push str.IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [0x7fd530]
mov ebx, dword [edi + 4]
test eax, eax
jne 0x6aa6ec
push 0x19d
push 0x797a90
push str.g_setMonsterType
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
mov edx, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 8], edx
call dword [eax + 0x2c]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push eax
call dword [edx + 0x20]
mov ebx, eax
test ebx, ebx
je 0x6aa67b
mov eax, dword [edi + 4]
mov dword [ebp - 8], 1
test eax, eax
jne 0x6aa760
push 0x28
push str.....commonAutoLink.h
push str.IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
mov eax, dword [edi + 4]
add esp, 0x14
test eax, eax
jne 0x6aa760
push 0x28
push str.....commonAutoLink.h
push str.IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edi, dword [edi + 4]
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
call dword [eax + 0x34]
mov ecx, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
push eax
call fcn.00575c90
add esp, 8
test eax, eax
jne 0x6aa794
mov eax, dword [ebx]
push 0x48
mov ecx, ebx
call dword [eax + 8]
test eax, eax
mov eax, 4
je 0x6aa797
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
push 0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 5
push ecx
call fcn.0040ac50
mov dword [ebp - 0xc], eax
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
add esp, 8
mov ecx, 4
mov eax, 0x10
xor edi, edi
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x28
mov dword [ebp - 0x30], 0x1c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x14], 0x19
mov dword [ebp - 0x10], 0x2710
mov dword [ebp + 8], edi
mov dword [ebp - 4], edx
test edi, edi
jl 0x6aa814
cmp edi, 0xa
jl 0x6aa832
push 0x1f
push str.....commonMyArray.h
push str.nPos_0__nPos_SIZE
push str.IF_NOT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
add edx, ecx
test edi, edi
mov dword [ebp + 8], edx
jl 0x6aa848
cmp edi, 0xa
jl 0x6aa866
push 0x1f
push str.....commonMyArray.h
push str.nPos_0__nPos_SIZE
push str.IF_NOT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x6aa888
mov edx, dword [ebp - 4]
push edx
push eax
call fcn.00481270
mov eax, dword [esi + 4]
add esp, 8
add eax, 4
mov dword [esi + 4], eax
jmp 0x6aa894
mov ecx, dword [ebp - 4]
push ecx
push eax
mov ecx, esi
call fcn.0047c160
mov ecx, dword [ebp - 4]
inc edi
add ecx, 4
cmp edi, 0xa
mov dword [ebp - 4], ecx
jl 0x6aa80b
mov edx, dword [ebx]
push 0x64
push 0x45
mov ecx, ebx
call dword [edx + 8]
mov ecx, dword [ebp + 8]
add eax, 0x64
push eax
mov eax, 0x88888889
imul ecx
add edx, ecx
mov edi, dword [sym.imp.kernel32.dll_MulDiv]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
call edi
xor ecx, ecx
mov edx, dword [ebx]
test eax, eax
setl cl
dec ecx
push 0x64
and ecx, eax
push 0x46
mov dword [ebp + 8], ecx
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
push eax
push 0
call edi
mov edx, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
push 0x75e54c
and ecx, eax
lea eax, [edx + ecx*2]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
cmp eax, ecx
push eax
je 0x6aa92b
call fcn.00481270
mov eax, dword [esi + 4]
add esp, 8
add eax, 4
mov dword [esi + 4], eax
jmp 0x6aa932
mov ecx, esi
call fcn.0047c160
mov edx, dword [ebx]
push 0x64
push 0x3c
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
push eax
mov eax, dword [ebp - 0x34]
push eax
call edi
xor ecx, ecx
push 0x64
test eax, eax
setl cl
dec ecx
push 0x3d
and ecx, eax
mov dword [ebp - 0x34], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
push eax
mov eax, dword [ebp - 0x30]
push eax
call edi
xor ecx, ecx
push 0x64
test eax, eax
setl cl
dec ecx
push 0x3e
and ecx, eax
mov dword [ebp - 0x30], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
push eax
mov eax, dword [ebp - 0x2c]
push eax
call edi
xor ecx, ecx
push 0x64
test eax, eax
setl cl
dec ecx
push 0x3f
and ecx, eax
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
push eax
mov eax, dword [ebp - 0x28]
push eax
call edi
xor ecx, ecx
push 0x64
test eax, eax
setl cl
dec ecx
push 0x40
and ecx, eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
push eax
mov eax, dword [ebp - 0x24]
push eax
call edi
xor ecx, ecx
push 0x64
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebx]
push 0x41
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
push eax
mov eax, dword [ebp - 0x20]
push eax
call edi
xor edx, edx
push 5
test eax, eax
setl dl
dec edx
lea ecx, [ebp - 0x34]
and edx, eax
mov dword [ebp - 8], edx
call fcn.006ab830
mov ecx, dword [ebp - 8]
push 0x64
mov dword [eax], ecx
mov edx, dword [ebx]
push 0x42
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
lea ecx, [ebp - 0x34]
push eax
push 6
call fcn.006ab830
mov eax, dword [eax]
push eax
call edi
xor edx, edx
push 6
test eax, eax
setl dl
dec edx
lea ecx, [ebp - 0x34]
and edx, eax
mov dword [ebp - 8], edx
call fcn.006ab830
mov ecx, dword [ebp - 8]
push 0x64
mov dword [eax], ecx
mov edx, dword [ebx]
push 0x43
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
lea ecx, [ebp - 0x34]
push eax
push 7
call fcn.006ab830
mov eax, dword [eax]
push eax
call edi
xor edx, edx
push 7
test eax, eax
setl dl
dec edx
lea ecx, [ebp - 0x34]
and edx, eax
mov dword [ebp - 8], edx
call fcn.006ab830
mov ecx, dword [ebp - 8]
push 0x64
mov dword [eax], ecx
mov edx, dword [ebx]
push 0x44
mov ecx, ebx
call dword [edx + 8]
add eax, 0x64
lea ecx, [ebp - 0x34]
push eax
push 8
call fcn.006ab830
mov eax, dword [eax]
push eax
call edi
xor ebx, ebx
push 8
test eax, eax
setl bl
dec ebx
lea ecx, [ebp - 0x34]
and ebx, eax
call fcn.006ab830
xor esi, esi
mov dword [eax], ebx
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.006ab830
mov edx, dword [eax]
add esi, edx
inc edi
cmp edi, 0xa
jl 0x6aaab9
xor eax, eax
mov ebx, dword [ebp - 0xc]
test esi, esi
mov ecx, dword [ebp + 8]
setl al
dec eax
and eax, esi
mov esi, dword [ebp - 4]
add eax, esi
cmp ebx, ecx
jge 0x6aaaf3
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, esi
jge 0x6aab05
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, eax
jge 0x6aa67b
xor edi, edi
push edi
lea ecx, [ebp - 0x34]
call fcn.006ab830
add esi, dword [eax]
cmp ebx, esi
jl 0x6aab2f
inc edi
cmp edi, 0xa
jl 0x6aab0f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + 3]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4