Function at 0x4d4040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b56c
mov eax, dword fs:[0]
push eax
sub esp, 0x6a0
mov eax, dword [0x69bd40]
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 edi, ecx
mov dword [ebp - 0x5e0], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x3f8]
call fcn.004f8f10
mov ecx, dword [0x6a62d8]
lea eax, [ebp - 0x620]
push 0
push str.CPythonSkill::RegisterSkillDesc
push eax
push esi
lea eax, [ebp - 0x3f8]
mov dword [ebp - 4], 0
push eax
call fcn.0052b290
test al, al
jne 0x4d40b7
xor bl, bl
jmp 0x4d52b2
lea ecx, [ebp - 0x64c]
call fcn.004f9c10
push dword [ebp - 0x620]
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 1
call fcn.004f9360
push eax
lea ecx, [ebp - 0x64c]
call fcn.004f9c80
mov dword [ebp - 0x5f0], 0
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5e8], 0
xor ebx, ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x5fc], ebx
call fcn.004fa0f0
test eax, eax
je 0x4d51dc
lea eax, [ebp - 0x5f0]
push eax
push ebx
lea ecx, [ebp - 0x64c]
call fcn.004fa9d0
test al, al
je 0x4d51c2
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5f0]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4d4172
lea eax, [ebx + 1]
push eax
push str.SkillDesc.line__d_.NO_VNUM_ERROR_n
call fcn.004f6e90
add esp, 8
jmp 0x4d51c2
cmp dword [esi + 0x14], 0x10
jb 0x4d417a
mov esi, dword [esi]
push esi
call fcn.005f1d54
add esp, 4
mov dword [ebp - 0x5f4], eax
test eax, eax
jne 0x4d41a3
lea eax, [ebx + 1]
push eax
push str.SkillDesc.line__d_.NO_INDEX_ERROR_n
call fcn.004f6e90
add esp, 8
jmp 0x4d51c2
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x5f0]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x4d41db
lea eax, [ebx + 1]
push eax
push str.SkillDesc.line__d_.NO_JOB_ERROR_n
call fcn.004f6e90
add esp, 8
jmp 0x4d51c2
lea ecx, [ebp - 0x5dc]
call fcn.004d0a90
push eax
mov eax, dword [ebp - 0x5f4]
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b4], eax
call fcn.004d0070
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x6ac]
lea esi, [edi + 4]
push eax
mov ecx, esi
call fcn.00468390
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x670], xmm0
cmp byte [ecx + 0xd], 0
jne 0x4d423e
mov eax, dword [ebp - 0x2b4]
cmp eax, dword [ecx + 0x10]
jae 0x4d42bd
cmp dword [esi + 4], 0x820820
je 0x4d52e2
mov edi, dword [esi]
mov dword [ebp - 0x63c], esi
push 0x1f8
mov byte [ebp - 4], 5
mov dword [ebp - 0x638], 0
call fcn.0059df22
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x2b4]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
lea eax, [ebp - 0x2b0]
push eax
call fcn.004d0070
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edi, dword [ebp - 0x5e0]
push esi
push dword [ebp - 0x66c]
mov word [esi + 0xc], 0
push dword [ebp - 0x670]
lea esi, [edi + 4]
mov dword [ebp - 0x638], 0
mov ecx, esi
call fcn.00467f50
lea ecx, [ebp - 0x2b0]
call fcn.004d11a0
lea ecx, [ebp - 0x5dc]
mov byte [ebp - 4], 2
call fcn.004d11a0
lea eax, [ebp - 0x5f4]
mov ecx, esi
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00468390
mov ebx, dword [ebp - 0x650]
mov dword [ebp - 0x600], ebx
cmp byte [ebx + 0xd], 0
jne 0x4d430d
mov eax, dword [ebp - 0x5f4]
cmp eax, dword [ebx + 0x10]
jae 0x4d439f
cmp dword [esi + 4], 0x820820
je 0x4d52e2
mov edi, dword [esi]
mov dword [ebp - 0x62c], esi
push 0x1f8
mov byte [ebp - 4], 6
mov dword [ebp - 0x628], 0
call fcn.0059df22
mov esi, eax
add esp, 4
mov dword [ebp - 0x628], esi
mov eax, dword [ebp - 0x5f4]
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 7
mov dword [esi + 0x10], eax
call fcn.004d0a90
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edi, dword [ebp - 0x5e0]
push esi
push dword [ebp - 0x654]
mov word [esi + 0xc], 0
push dword [ebp - 0x658]
lea ecx, [edi + 4]
mov byte [ebp - 4], 2
mov dword [ebp - 0x628], 0
call fcn.00467f50
mov ebx, eax
mov eax, dword [ebp - 0x5f4]
mov dword [ebp - 0x600], ebx
mov dword [ebx + 0x18], eax
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x5f0]
add eax, 0x18
push eax
call fcn.004564a0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
call fcn.004f8950
add esp, 4
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0x58], 0x10
lea edx, [ebp - 0x6c]
mov dword [ebp - 0xbc], 0
cmovae edx, dword [ebp - 0x6c]
mov ecx, edx
mov dword [ebp - 0xb8], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d43f2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xcc]
call fcn.00457160
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x67c]
push eax
lea ecx, [edi + 0x24]
call fcn.0047c3d0
mov esi, dword [ebp - 0x674]
cmp byte [esi + 0xd], 0
jne 0x4d4441
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0047c1e0
add esp, 8
test al, al
je 0x4d4444
mov esi, dword [edi + 0x24]
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x4d447e
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4474
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push edx
push ecx
call fcn.0059df52
add esp, 8
cmp dword [edi + 0x24], esi
jne 0x4d44e3
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x5f4]
push str.CPythonSkill::RegisterSkillDesc_dwSkillIndex_d__strType_s_.STRANGE_SKILL_TYPE
call fcn.004f6e90
mov edx, dword [ebp - 0x58]
add esp, 0xc
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4d51b6
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d44d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push edx
push ecx
call fcn.0059df52
add esp, 8
jmp 0x4d51b6
mov al, byte [esi + 0x28]
mov edx, dword [ebp - 0x58]
mov byte [ebx + 0x14], al
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4d4521
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4517
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push edx
push ecx
call fcn.0059df52
add esp, 8
mov eax, dword [ebp - 0x5f0]
lea ecx, [ebx + 0x24]
lea edx, [eax + 0x30]
cmp ecx, edx
je 0x4d454a
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x4d453b
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00457160
mov eax, dword [ebp - 0x5f0]
lea edx, [eax + 0x30]
lea ecx, [ebx + 0x174]
cmp ecx, edx
je 0x4d4570
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x4d4561
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.00457160
mov eax, dword [ebp - 0x5f0]
lea ecx, [eax + 0x48]
lea esi, [ebx + 0x194]
cmp esi, ecx
je 0x4d4598
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x4d4587
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, esi
push eax
call fcn.00457160
mov eax, dword [ebp - 0x5f0]
lea ecx, [eax + 0x60]
lea edi, [ebx + 0x1b4]
cmp edi, ecx
je 0x4d45c0
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x4d45af
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.00457160
mov eax, dword [ebp - 0x5f0]
cmp dword [ebx + 0x1a4], 0
jne 0x4d45eb
lea edx, [eax + 0x30]
cmp esi, edx
je 0x4d45eb
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x4d45da
mov eax, dword [edx]
push dword [edx + 0x10]
mov ecx, esi
push eax
call fcn.00457160
mov eax, dword [ebp - 0x5f0]
cmp dword [ebx + 0x1c4], 0
jne 0x4d4616
lea edx, [eax + 0x30]
cmp edi, edx
je 0x4d4616
cmp dword [edx + 0x14], 0x10
mov eax, edx
jb 0x4d4605
mov eax, dword [edx]
push dword [edx + 0x10]
mov ecx, edi
push eax
call fcn.00457160
mov eax, dword [ebp - 0x5f0]
add eax, 0x78
lea ecx, [ebx + 0x54]
cmp ecx, eax
je 0x4d4633
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4d462a
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00457160
lea esi, [ebx + 0x84]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.0045be40
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
mov edi, 0x90
mov eax, dword [ebp - 0x5f0]
add eax, edi
cmp dword [eax + 0x10], 0
je 0x4d467b
mov ecx, dword [esi + 4]
push eax
cmp ecx, dword [esi + 8]
je 0x4d4673
call fcn.004564a0
add dword [esi + 4], 0x18
jmp 0x4d467b
push ecx
mov ecx, esi
call fcn.004cbc90
add edi, 0x18
cmp edi, 0xd8
jl 0x4d4651
mov eax, dword [ebp - 0x5f0]
add eax, 0xf0
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x608], 0
mov dword [ebp - 0x604], 0
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x4d46bb
mov eax, dword [eax]
push 0x63d378
lea ecx, [ebp - 0x60c]
push ecx
push eax
call fcn.004d5c40
mov eax, dword [ebp - 0x60c]
add esp, 0xc
mov edi, dword [ebp - 0x608]
mov esi, eax
mov dword [ebp - 0x5e4], eax
cmp esi, edi
je 0x4d4784
mov eax, dword [ebp - 0x5e0]
add eax, 0x2c
mov dword [ebp - 0x5f8], eax
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x688]
push ecx
mov ecx, eax
call fcn.0047c3d0
mov edi, dword [ebp - 0x680]
cmp byte [edi + 0xd], 0
jne 0x4d4734
lea eax, [edi + 0x10]
push eax
push esi
call fcn.0047c1e0
add esp, 8
test al, al
jne 0x4d4734
mov eax, dword [ebp - 0x5e0]
jmp 0x4d473d
mov eax, dword [ebp - 0x5e0]
mov edi, dword [eax + 0x2c]
cmp dword [eax + 0x2c], edi
jne 0x4d4762
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4d474c
mov eax, dword [esi]
push eax
push dword [ebp - 0x5f4]
push str.CPythonSkill::RegisterSkillDesc_dwSkillIndex_d____Strange_Skill_Attribute__s_
call fcn.004f6e90
add esp, 0xc
jmp 0x4d476b
mov eax, dword [edi + 0x28]
or dword [ebx + 0x144], eax
mov edi, dword [ebp - 0x608]
add esi, 0x18
mov eax, dword [ebp - 0x5f8]
cmp esi, edi
jne 0x4d4700
mov eax, dword [ebp - 0x5e4]
mov byte [ebp - 4], 2
test eax, eax
je 0x4d484c
mov esi, eax
cmp esi, edi
je 0x4d47e1
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4d47c9
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4d47bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
mov eax, edx
push ecx
push eax
call fcn.0059df52
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x4d4796
mov ecx, dword [ebp - 0x604]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5e4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4d4824
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push ecx
push esi
call fcn.0059df52
add esp, 8
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x608], 0
mov dword [ebp - 0x604], 0
mov eax, dword [ebp - 0x5f0]
add eax, 0x108
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x4d4881
mov eax, dword [eax]
push 0x63d378
lea ecx, [ebp - 0x618]
push ecx
push eax
call fcn.004d5c40
mov eax, dword [ebp - 0x618]
add esp, 0xc
mov edi, dword [ebp - 0x614]
mov esi, eax
mov dword [ebp - 0x5e4], eax
cmp esi, edi
je 0x4d4945
mov eax, dword [ebp - 0x5e0]
add eax, 0x34
mov dword [ebp - 0x5f8], eax
push esi
lea ecx, [ebp - 0x694]
push ecx
mov ecx, eax
call fcn.0047c3d0
mov edi, dword [ebp - 0x68c]
cmp byte [edi + 0xd], 0
jne 0x4d48f5
lea eax, [edi + 0x10]
push eax
push esi
call fcn.0047c1e0
add esp, 8
test al, al
jne 0x4d48f5
mov eax, dword [ebp - 0x5e0]
jmp 0x4d48fe
mov eax, dword [ebp - 0x5e0]
mov edi, dword [eax + 0x34]
cmp dword [eax + 0x34], edi
jne 0x4d4923
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4d490d
mov eax, dword [esi]
push eax
push dword [ebp - 0x5f4]
push str.CPythonSkill::RegisterSkillDesc_dwSkillIndex_d____Strange_Skill_Need_Weapon__s_
call fcn.004f6e90
add esp, 0xc
jmp 0x4d492c
mov eax, dword [edi + 0x28]
or dword [ebx + 0x148], eax
mov edi, dword [ebp - 0x614]
add esi, 0x18
mov eax, dword [ebp - 0x5f8]
cmp esi, edi
jne 0x4d48c1
mov eax, dword [ebp - 0x5e4]
mov byte [ebp - 4], 2
test eax, eax
je 0x4d4a0d
mov esi, eax
cmp esi, edi
je 0x4d49a2
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x4d498a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x4d4980
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
mov eax, edx
push ecx
push eax
call fcn.0059df52
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x4d4957
mov ecx, dword [ebp - 0x610]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5e4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4d49e5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push ecx
push esi
call fcn.0059df52
add esp, 8
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x610], 0
mov esi, dword [ebp - 0x5f0]
mov eax, dword [0x63a17c]
lea ecx, [esi + 0x18]
add esi, 0x120
mov dword [ebp - 0x5e4], ecx
mov dword [ebp - 0x61c], esi
cmp eax, dword [ebp - 0x5f4]
jne 0x4d4a7d
cmp dword [0x686a30], 0x10
mov eax, 0x686a1c
cmovae eax, dword [0x686a1c]
push eax
push str._sskill_common_support_
lea eax, [ebp - 0x54]
push 0x41
push eax
call fcn.0043c350
add esp, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x4d4a64
mov esi, dword [esi]
mov ecx, dword [ebp - 0x5e0]
lea eax, [ebp - 0x54]
push esi
push eax
lea eax, [ebx + 0x14]
push eax
call fcn.004d6f20
jmp case.default.0x4d4bff
mov edi, dword [ebp - 0x5e0]
lea eax, [ebp - 0x6a0]
push ecx
add edi, 0x44
push eax
mov ecx, edi
call fcn.0047c3d0
mov eax, dword [ebp - 0x698]
mov dword [ebp - 0x5f8], eax
cmp byte [eax + 0xd], 0
jne 0x4d4ac3
add eax, 0x10
push eax
push dword [ebp - 0x5e4]
call fcn.0047c1e0
add esp, 8
test al, al
mov eax, dword [ebp - 0x5f8]
je 0x4d4ac5
mov eax, dword [edi]
mov ecx, dword [edi]
mov dword [ebp - 0x624], ecx
cmp ecx, eax
je case.default.0x4d4bff
push dword [ebp - 0x5e4]
lea eax, [ebp - 0x664]
mov ecx, edi
push eax
call fcn.0047c3d0
mov eax, dword [ebp - 0x65c]
mov dword [ebp - 0x5f8], eax
cmp byte [eax + 0xd], 0
jne 0x4d4b22
add eax, 0x10
push eax
push dword [ebp - 0x5e4]
call fcn.0047c1e0
add esp, 8
test al, al
jne 0x4d4b22
mov eax, dword [ebp - 0x5f8]
mov edi, dword [ebp - 0x5e0]
jmp 0x4d4bbf
cmp dword [edi + 4], 0x3ffffff
je 0x4d52e2
mov dword [ebp - 0x634], edi
push 0x40
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x630], 0
call fcn.0059df22
mov edi, eax
add esp, 4
mov dword [ebp - 0x630], edi
push dword [ebp - 0x5e4]
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0xc
call fcn.004564a0
mov eax, dword [ebp - 0x624]
mov dword [edi + 0x28], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xf
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push edi
push dword [ebp - 0x660]
mov word [edi + 0xc], 0
mov edi, dword [ebp - 0x5e0]
push dword [ebp - 0x664]
mov byte [ebp - 4], 2
mov dword [ebp - 0x630], 0
lea ecx, [edi + 0x44]
call fcn.00467f50
mov esi, dword [ebp - 0x61c]
cmp dword [eax + 0x3c], 0x10
lea ecx, [eax + 0x28]
jb 0x4d4bca
mov ecx, dword [ecx]
cmp dword [0x686a30], 0x10
mov eax, 0x686a1c
push ecx
cmovae eax, dword [0x686a1c]
push eax
push str._sskill__s_
lea eax, [ebp - 0x54]
push 0x41
push eax
call fcn.0043c350
movzx eax, byte [ebx + 0x14]
lea ecx, [ebx + 0x14]
dec eax
add esp, 0x14
cmp eax, 3
ja case.default.0x4d4bff
jmp dword [eax*4 + 0x4d52e8]
cmp dword [esi + 0x14], 0x10
jb 0x4d4c0e
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, edi
call fcn.004d6f20
jmp case.default.0x4d4bff
cmp dword [esi + 0x14], 0x10
jb 0x4d4c25
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, edi
call fcn.004d7090
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5f0]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xd
jbe 0x4d4c93
cmp dword [esi + 0x148], 0
lea eax, [esi + 0x138]
jne 0x4d4c73
xor eax, eax
mov dword [ebx + 0x20], 1
movzx eax, ax
jmp 0x4d4c95
mov dword [ebx + 0x20], 0
cmp dword [eax + 0x14], 0x10
jb 0x4d4c82
mov eax, dword [eax]
push eax
call fcn.005f1d54
movzx eax, ax
add esp, 4
movzx eax, ax
jmp 0x4d4c95
xor eax, eax
mov word [ebx + 0x150], ax
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x5ec]
mov ecx, edi
mov esi, dword [ebp - 0x5f0]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xf
jbe 0x4d4cfa
cmp dword [esi + 0x17c], 0x10
lea edx, [esi + 0x168]
jb 0x4d4cd3
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d4cd8
sub ecx, esi
push ecx
push edx
lea ecx, [ebx + 0xcc]
call fcn.00457160
mov edi, dword [ebp - 0x5ec]
mov esi, dword [ebp - 0x5f0]
sub edi, esi
mov eax, 0x2aaaaaab
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x10
jbe 0x4d4d3e
cmp dword [esi + 0x194], 0x10
lea edx, [esi + 0x180]
jb 0x4d4d23
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d4d28
sub ecx, esi
push ecx
push edx
lea ecx, [ebx + 0xe4]
call fcn.00457160
lea esi, [ebx + 0x9c]
push esi
push dword [esi + 4]
push dword [esi]
call fcn.004cbbe0
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jae 0x4d4d7b
push 3
mov ecx, esi
call fcn.004d6b40
mov esi, dword [ebp - 0x5f0]
mov edi, 0x198
mov dword [ebp - 0x5e4], 0x12
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov eax, dword [ebp - 0x5e4]
sar edx, 2
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x4d5064
cmp dword [edi + esi + 0x10], 0
je 0x4d5064
push 0x48
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.005dba00
mov dword [ebp - 0xb4], 0
add esp, 0xc
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov eax, dword [ebx + 0x94]
lea esi, [ebx + 0x90]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xd
push ecx
push eax
cmp eax, dword [esi + 8]
je 0x4d4e6b
push esi
call fcn.004cc3f0
add esp, 0xc
add dword [esi + 4], 0x48
jmp 0x4d4e72
mov ecx, esi
call fcn.004cbe40
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4d4ead
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4ea3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push edx
push ecx
call fcn.0059df52
add esp, 8
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp edx, 0x10
jb 0x4d4efc
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4ef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push edx
push ecx
call fcn.0059df52
add esp, 8
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp edx, 0x10
jb 0x4d4f51
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d4f47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
push edx
push ecx
call fcn.0059df52
add esp, 8
mov ebx, dword [ebx + 0x94]
push 0
add ebx, 0xffffffb8
mov dword [ebp - 0xa4], 0
push 0x664d84
mov ecx, ebx
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.00457160
push 0
lea ecx, [ebx + 0x18]
push 0x664d84
call fcn.00457160
push 0
lea ecx, [ebx + 0x30]
push 0x664d84
call fcn.00457160
mov esi, dword [ebp - 0x5f0]
lea eax, [edi + esi]
cmp ebx, eax
je 0x4d4fc9
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4d4fb8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00457160
mov esi, dword [ebp - 0x5f0]
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, dword [ebp - 0x5e4]
jbe 0x4d5012
lea eax, [esi + 0x18]
add eax, edi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4d5012
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x4d5012
cmp dword [eax + 0x14], 0x10
jb 0x4d5005
mov eax, dword [eax]
push edx
push eax
call fcn.00457160
mov esi, dword [ebp - 0x5f0]
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov eax, dword [ebp - 0x5e4]
sar edx, 2
inc eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x4d505e
lea eax, [esi + 0x30]
add eax, edi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4d505e
lea ecx, [ebx + 0x30]
cmp ecx, eax
je 0x4d505e
cmp dword [eax + 0x14], 0x10
jb 0x4d5051
mov eax, dword [eax]
push edx
push eax
call fcn.00457160
mov esi, dword [ebp - 0x5f0]
mov ebx, dword [ebp - 0x600]
add dword [ebp - 0x5e4], 3
add edi, 0x48
cmp edi, 0x270
jl 0x4d4d90
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xe
jbe 0x4d5119
add esi, 0x150
cmp dword [esi + 0x14], 0x10
jb 0x4d50aa
mov esi, dword [esi]
push esi
call fcn.005f1d54
mov esi, eax
add esp, 4
cmp esi, 4
jg 0x4d5249
xor ecx, ecx
test esi, esi
jle 0x4d50e6
lea edx, [ebx + 0x190]
nop word [eax + eax]
imul eax, ecx, 0x19
lea edx, [edx + 0x20]
inc ecx
add ax, word [ebx + 0x150]
mov word [edx - 0x20], ax
cmp ecx, esi
jl 0x4d50d0
cmp esi, 4
jge 0x4d5113
mov eax, esi
lea ecx, [ebx + 0x190]
shl eax, 5
mov edx, 4
add ecx, eax
sub edx, esi
nop
mov ax, word [ebx + 0x150]
lea ecx, [ecx + 0x20]
mov word [ecx - 0x20], ax
sub edx, 1
jne 0x4d5100
mov esi, dword [ebp - 0x5f0]
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x1a
jbe 0x4d5163
add esi, 0x270
cmp dword [esi + 0x10], 0
jne 0x4d5149
mov byte [ebx + 0x1e], 0
jmp 0x4d515d
cmp dword [esi + 0x14], 0x10
jb 0x4d5151
mov esi, dword [esi]
push esi
call fcn.005f1d54
add esp, 4
mov byte [ebx + 0x1e], al
mov esi, dword [ebp - 0x5f0]
mov ecx, dword [ebp - 0x5ec]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x1b
jbe 0x4d51b6
add esi, 0x288
cmp dword [esi + 0x10], 0
jne 0x4d51a2
cmp byte [ebx + 0x1e], 1
mov edx, 0x14
movzx eax, byte [ebx + 0x1e]
cmova edx, eax
mov byte [ebx + 0x1c], dl
jmp 0x4d51b6
cmp dword [esi + 0x14], 0x10
jb 0x4d51aa
mov esi, dword [esi]
push esi
call fcn.005f1d54
add esp, 4
mov byte [ebx + 0x1c], al
mov ebx, dword [ebp - 0x5fc]
mov edi, dword [ebp - 0x5e0]
inc ebx
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x5fc], ebx
call fcn.004fa0f0
cmp ebx, eax
jb 0x4d4120
mov bl, 1
mov esi, dword [ebp - 0x5f0]
test esi, esi
je 0x4d52a7
mov edi, dword [ebp - 0x5ec]
cmp esi, edi
je 0x4d520a
mov ecx, esi
call fcn.004566a0
add esi, 0x18
cmp esi, edi
jne 0x4d51f6
mov esi, dword [ebp - 0x5f0]
mov ecx, dword [ebp - 0x5e8]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4d527f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d52dd
jmp 0x4d527f
mov eax, dword [ebp - 0x5f0]
add eax, 0x150
cmp dword [eax + 0x14], 0x10
jb 0x4d525c
mov eax, dword [eax]
add ebx, 0x24
cmp dword [ebx + 0x14], 0x10
jb 0x4d5267
mov ebx, dword [ebx]
push 4
push eax
push ebx
push str._s__s__Skill_grade_motion___d__Out_Of_Range.
call fcn.004f6e90
add esp, 0x10
xor bl, bl
jmp 0x4d51de
push ecx
push esi
call fcn.0059df52
add esp, 8
mov dword [ebp - 0x5f0], 0
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5e8], 0
lea ecx, [ebp - 0x64c]
call fcn.004f9c40
lea ecx, [ebp - 0x3f8]
call fcn.004f8f90
mov al, bl
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.0059df60
mov esp, ebp
pop ebp
ret 4
call fcn.005e5408
call fcn.00468160
nop
push es
dec esp
dec ebp
add byte [0x1d004d4c], bl
dec esp
dec ebp
add byte [0xcc004d4c], bl
int3