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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63799c
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x6d5600]
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.004f0c60
mov ecx, dword [0x6e8360]
lea eax, [ebp - 0x620]
push eax
push esi
lea eax, [ebp - 0x3f8]
mov dword [ebp - 4], 0
push eax
call fcn.00523f70
test al, al
jne 0x495540
xor bl, bl
jmp 0x4964e0
lea ecx, [ebp - 0x650]
call fcn.004f1ee0
mov esi, dword [ebp - 0x620]
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 1
call fcn.004f1190
push esi
push eax
lea ecx, [ebp - 0x650]
call fcn.004f1f50
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5e8], 0
mov dword [ebp - 0x5e4], 0
xor ebx, ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x5fc], ebx
call fcn.004f2260
test eax, eax
je 0x4964c8
nop word [eax + eax]
lea eax, [ebp - 0x5ec]
push eax
push ebx
lea ecx, [ebp - 0x650]
call fcn.004f2b20
test al, al
je 0x4964ae
mov ecx, dword [ebp - 0x5e8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5ec]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x495602
lea eax, [ebx + 1]
push eax
push str.SkillDesc.line__d_.NO_VNUM_ERROR_n
call fcn.004ef1c0
add esp, 8
jmp 0x4964ae
cmp dword [esi + 0x14], 0x10
jb 0x49560a
mov esi, dword [esi]
push esi
call fcn.005e77a1
add esp, 4
mov dword [ebp - 0x5f8], eax
test eax, eax
jne 0x495633
lea eax, [ebx + 1]
push eax
push str.SkillDesc.line__d_.NO_INDEX_ERROR_n
call fcn.004ef1c0
add esp, 8
jmp 0x4964ae
mov ecx, dword [ebp - 0x5e8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x5ec]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x49566b
lea eax, [ebx + 1]
push eax
push str.SkillDesc.line__d_.NO_JOB_ERROR_n
call fcn.004ef1c0
add esp, 8
jmp 0x4964ae
lea ecx, [ebp - 0x5dc]
lea ebx, [edi + 4]
call fcn.00491df0
push eax
mov eax, dword [ebp - 0x5f8]
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b4], eax
call fcn.00491390
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x6b0]
mov ecx, ebx
push eax
call fcn.0045d470
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x674], xmm0
cmp byte [ecx + 0xd], 0
jne 0x4956ca
mov eax, dword [ebp - 0x2b4]
cmp eax, dword [ecx + 0x10]
jae 0x495740
cmp dword [ebx + 4], 0x820820
je 0x496546
mov edi, dword [ebx]
mov dword [ebp - 0x640], ebx
push 0x1f8
mov byte [ebp - 4], 5
mov dword [ebp - 0x63c], 0
call fcn.00599754
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.00491390
push esi
push dword [ebp - 0x670]
mov dword [esi], edi
mov ecx, ebx
push dword [ebp - 0x674]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov word [esi + 0xc], 0
mov dword [ebp - 0x63c], 0
call fcn.0045cfc0
lea ecx, [ebp - 0x2b0]
call fcn.00492520
lea ecx, [ebp - 0x5dc]
mov byte [ebp - 4], 2
call fcn.00492520
lea eax, [ebp - 0x5f8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x65c]
push eax
call fcn.0045d470
mov eax, dword [ebp - 0x654]
cmp byte [eax + 0xd], 0
jne 0x49578a
mov ecx, dword [ebp - 0x5f8]
cmp ecx, dword [eax + 0x10]
jae 0x49580d
cmp dword [ebx + 4], 0x820820
je 0x496546
mov edi, dword [ebx]
mov dword [ebp - 0x630], ebx
push 0x1f8
mov byte [ebp - 4], 6
mov dword [ebp - 0x62c], 0
call fcn.00599754
mov esi, eax
add esp, 4
mov dword [ebp - 0x62c], esi
mov eax, dword [ebp - 0x5f8]
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 7
mov dword [esi + 0x10], eax
call fcn.00491df0
push esi
push dword [ebp - 0x658]
mov dword [esi], edi
mov ecx, ebx
push dword [ebp - 0x65c]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov word [esi + 0xc], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x62c], 0
call fcn.0045cfc0
mov ecx, dword [ebp - 0x5f8]
lea ebx, [eax + 0x14]
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x5ec]
add eax, 0x18
mov dword [ebp - 0x600], ebx
push eax
call fcn.0044fb70
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
call fcn.004f1d50
mov edi, dword [ebp - 0x5e0]
lea edx, [ebp - 0x6c]
add esp, 4
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0xbc], 0
cmovae edx, dword [ebp - 0x6c]
mov ecx, edx
mov dword [ebp - 0xb8], 0xf
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495870
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xcc]
call fcn.00451ee0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x680]
push eax
lea ecx, [edi + 0x24]
call fcn.00461c60
mov esi, dword [ebp - 0x678]
cmp byte [esi + 0xd], 0
jne 0x4958bf
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00461a10
add esp, 8
test al, al
je 0x4958c2
mov esi, dword [edi + 0x24]
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x4958fc
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4958f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496541
push ecx
push edx
call fcn.005994f5
add esp, 8
cmp dword [edi + 0x24], esi
jne 0x495961
cmp dword [ebp - 0x58], 0x10
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x5f8]
push str.CPythonSkill::RegisterSkillDesc_dwSkillIndex_d__strType_s_.STRANGE_SKILL_TYPE
call fcn.004ef1c0
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x4964a8
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495952
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496541
push ecx
push edx
call fcn.005994f5
add esp, 8
jmp 0x4964a8
mov al, byte [esi + 0x28]
mov ecx, dword [ebp - 0x58]
mov byte [ebx], al
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x49599e
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x495994
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496541
push ecx
push edx
call fcn.005994f5
add esp, 8
mov eax, dword [ebp - 0x5ec]
lea edx, [ebx + 0x10]
add eax, 0x30
mov dword [ebp - 0x604], edx
cmp edx, eax
je 0x4959c8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4959bf
mov eax, dword [eax]
push ecx
push eax
mov ecx, edx
call fcn.00451ee0
mov eax, dword [ebp - 0x5ec]
lea ecx, [ebx + 0x160]
add eax, 0x30
cmp ecx, eax
je 0x4959ed
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4959e6
mov eax, dword [eax]
push edx
push eax
call fcn.00451ee0
mov eax, dword [ebp - 0x5ec]
lea esi, [ebx + 0x180]
add eax, 0x48
cmp esi, eax
je 0x495a14
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x495a0b
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00451ee0
mov eax, dword [ebp - 0x5ec]
lea edi, [ebx + 0x1a0]
add eax, 0x60
cmp edi, eax
je 0x495a3b
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x495a32
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.00451ee0
cmp dword [ebx + 0x190], 0
jne 0x495a65
mov eax, dword [ebp - 0x5ec]
add eax, 0x30
cmp esi, eax
je 0x495a65
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x495a5c
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00451ee0
cmp dword [ebx + 0x1b0], 0
jne 0x495a8f
mov eax, dword [ebp - 0x5ec]
add eax, 0x30
cmp edi, eax
je 0x495a8f
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x495a86
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.00451ee0
mov eax, dword [ebp - 0x5ec]
lea ecx, [ebx + 0x40]
add eax, 0x78
cmp ecx, eax
je 0x495ab1
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x495aaa
mov eax, dword [eax]
push edx
push eax
call fcn.00451ee0
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x70]
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x495ace
push esi
push ecx
push eax
call fcn.00454800
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
mov edi, 0x90
mov eax, dword [ebp - 0x5ec]
add eax, edi
cmp dword [eax + 0x10], 0
je 0x495afd
mov ecx, dword [esi + 4]
push eax
cmp ecx, dword [esi + 8]
je 0x495af5
call fcn.0044fb70
add dword [esi + 4], 0x18
jmp 0x495afd
push ecx
mov ecx, esi
call fcn.0048ce90
add edi, 0x18
cmp edi, 0xd8
jl 0x495ad3
mov eax, dword [ebp - 0x5ec]
add eax, 0xf0
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x60c], 0
mov dword [ebp - 0x608], 0
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x495b3d
mov eax, dword [eax]
push 0x65a030
lea ecx, [ebp - 0x610]
push ecx
push eax
call fcn.00496dc0
mov esi, dword [ebp - 0x610]
add esp, 0xc
cmp esi, dword [ebp - 0x60c]
je 0x495be4
mov eax, dword [ebp - 0x5e0]
add eax, 0x2c
mov dword [ebp - 0x5f4], eax
push esi
lea ecx, [ebp - 0x68c]
push ecx
mov ecx, eax
call fcn.00461c60
mov edi, dword [ebp - 0x684]
cmp byte [edi + 0xd], 0
jne 0x495bb5
lea eax, [edi + 0x10]
push eax
push esi
call fcn.00461a10
add esp, 8
test al, al
jne 0x495bb5
mov eax, dword [ebp - 0x5e0]
cmp dword [eax + 0x2c], edi
je 0x495bb5
mov eax, dword [edi + 0x28]
or dword [ebx + 0x130], eax
jmp 0x495bd3
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x495bbf
mov eax, dword [esi]
push eax
push dword [ebp - 0x5f8]
push str.CPythonSkill::RegisterSkillDesc_dwSkillIndex_d____Strange_Skill_Attribute__s_
call fcn.004ef1c0
add esp, 0xc
mov eax, dword [ebp - 0x5f4]
add esi, 0x18
cmp esi, dword [ebp - 0x60c]
jne 0x495b73
lea ecx, [ebp - 0x610]
call fcn.004550f0
mov eax, dword [ebp - 0x5ec]
add eax, 0x108
mov dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 0
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x495c24
mov eax, dword [eax]
push 0x65a030
lea ecx, [ebp - 0x61c]
push ecx
push eax
call fcn.00496dc0
mov esi, dword [ebp - 0x61c]
add esp, 0xc
cmp esi, dword [ebp - 0x618]
je 0x495cd1
mov eax, dword [ebp - 0x5e0]
add eax, 0x34
mov dword [ebp - 0x5f4], eax
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x698]
push ecx
mov ecx, eax
call fcn.00461c60
mov edi, dword [ebp - 0x690]
cmp byte [edi + 0xd], 0
jne 0x495ca2
lea eax, [edi + 0x10]
push eax
push esi
call fcn.00461a10
add esp, 8
test al, al
jne 0x495ca2
mov eax, dword [ebp - 0x5e0]
cmp dword [eax + 0x34], edi
je 0x495ca2
mov eax, dword [edi + 0x28]
or dword [ebx + 0x134], eax
jmp 0x495cc0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x495cac
mov eax, dword [esi]
push eax
push dword [ebp - 0x5f8]
push str.CPythonSkill::RegisterSkillDesc_dwSkillIndex_d____Strange_Skill_Need_Weapon__s_
call fcn.004ef1c0
add esp, 0xc
mov eax, dword [ebp - 0x5f4]
add esi, 0x18
cmp esi, dword [ebp - 0x618]
jne 0x495c60
lea ecx, [ebp - 0x61c]
mov byte [ebp - 4], 2
call fcn.004550f0
mov esi, dword [ebp - 0x5ec]
mov eax, dword [0x657f20]
lea ecx, [esi + 0x18]
add esi, 0x120
mov dword [ebp - 0x5f0], ecx
mov dword [ebp - 0x628], esi
cmp eax, dword [ebp - 0x5f8]
jne 0x495d4d
cmp dword [0x6c4978], 0x10
mov eax, 0x6c4964
cmovae eax, dword [0x6c4964]
push eax
push str._sskill_common_support_
lea eax, [ebp - 0x54]
push 0x41
push eax
call fcn.00465090
add esp, 0x10
cmp dword [esi + 0x14], 0x10
jb 0x495d37
mov esi, dword [esi]
mov ecx, dword [ebp - 0x5e0]
lea eax, [ebp - 0x54]
push esi
push eax
push ebx
call fcn.00498050
jmp case.default.0x495ed5
mov eax, dword [ebp - 0x5e0]
push ecx
lea ecx, [ebp - 0x6a4]
push ecx
mov edx, dword [eax + 0x44]
lea ecx, [eax + 0x44]
mov dword [ebp - 0x5f4], edx
call fcn.00461c60
mov edi, dword [ebp - 0x69c]
cmp byte [edi + 0xd], 0
jne 0x495d96
lea eax, [edi + 0x10]
push eax
push dword [ebp - 0x5f0]
call fcn.00461a10
add esp, 8
test al, al
jne 0x495d96
mov eax, dword [ebp - 0x5f4]
jmp 0x495d9e
mov eax, dword [ebp - 0x5f4]
mov edi, eax
cmp eax, edi
je case.default.0x495ed5
push dword [ebp - 0x5f0]
mov edi, dword [ebp - 0x5e0]
lea eax, [ebp - 0x668]
add edi, 0x44
push eax
mov ecx, edi
call fcn.00461c60
mov eax, dword [ebp - 0x660]
mov dword [ebp - 0x624], eax
cmp byte [eax + 0xd], 0
jne 0x495dfc
add eax, 0x10
push eax
push dword [ebp - 0x5f0]
call fcn.00461a10
add esp, 8
test al, al
jne 0x495dfc
mov eax, dword [ebp - 0x624]
mov edi, dword [ebp - 0x5e0]
jmp 0x495e99
cmp dword [edi + 4], 0x3ffffff
je 0x496546
mov dword [ebp - 0x638], edi
push 0x40
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x634], 0
call fcn.00599754
mov edi, eax
add esp, 4
mov dword [ebp - 0x634], edi
push dword [ebp - 0x5f0]
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0xc
call fcn.0044fb70
mov eax, dword [ebp - 0x5f4]
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 - 0x664]
mov word [edi + 0xc], 0
mov edi, dword [ebp - 0x5e0]
push dword [ebp - 0x668]
mov byte [ebp - 4], 2
mov dword [ebp - 0x634], 0
lea ecx, [edi + 0x44]
call fcn.0045cfc0
mov esi, dword [ebp - 0x628]
cmp dword [eax + 0x3c], 0x10
lea ecx, [eax + 0x28]
jb 0x495ea4
mov ecx, dword [ecx]
cmp dword [0x6c4978], 0x10
mov eax, 0x6c4964
push ecx
cmovae eax, dword [0x6c4964]
push eax
push str._sskill__s_
lea eax, [ebp - 0x54]
push 0x41
push eax
call fcn.00465090
movzx eax, byte [ebx]
add esp, 0x14
dec eax
cmp eax, 3
ja case.default.0x495ed5
jmp dword [eax*4 + 0x49654c]
cmp dword [esi + 0x14], 0x10
jb 0x495ee4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
push ebx
call fcn.00498050
jmp case.default.0x495ed5
cmp dword [esi + 0x14], 0x10
jb 0x495efb
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
push ebx
call fcn.004981c0
mov ecx, dword [ebp - 0x5e8]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x5ec]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xd
jbe 0x495f69
cmp dword [esi + 0x148], 0
lea eax, [esi + 0x138]
jne 0x495f49
xor eax, eax
mov dword [ebx + 0xc], 1
movzx eax, ax
jmp 0x495f6b
mov dword [ebx + 0xc], 0
cmp dword [eax + 0x14], 0x10
jb 0x495f58
mov eax, dword [eax]
push eax
call fcn.005e77a1
movzx eax, ax
add esp, 4
movzx eax, ax
jmp 0x495f6b
xor eax, eax
mov edx, 0x13c
mov ecx, ebx
mov word [ecx + edx], ax
lea esi, [ecx + edx]
mov ecx, dword [ebp - 0x5e8]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x5f4], esi
mov esi, dword [ebp - 0x5ec]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xf
jbe 0x495fd2
add esi, 0x168
cmp dword [esi + 0x14], 0x10
jb 0x495fb1
mov esi, dword [esi]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x495fb6
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 0xb8]
call fcn.00451ee0
mov esi, dword [ebp - 0x5ec]
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
cmp eax, 0x10
jbe 0x49601f
add esi, 0x180
cmp dword [esi + 0x14], 0x10
jb 0x495ffe
mov esi, dword [esi]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496003
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 0xd0]
call fcn.00451ee0
mov esi, dword [ebp - 0x5ec]
mov eax, dword [ebx + 0x88]
lea edi, [ebx + 0x88]
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x496048
push edi
push ecx
push eax
call fcn.0048cdd0
mov eax, dword [edi]
add esp, 0xc
mov dword [edi + 4], eax
mov esi, dword [ebp - 0x5ec]
mov ecx, dword [edi + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jae 0x496072
push 3
mov ecx, edi
call fcn.00497d20
mov esi, dword [ebp - 0x5ec]
mov dword [ebp - 0x5f0], 0x12
mov edi, 0x198
mov ecx, dword [ebp - 0x5e8]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov eax, dword [ebp - 0x5f0]
sar edx, 2
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x496353
cmp dword [esi + edi + 0x10], 0
je 0x496353
push 0x48
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.005d5420
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 + 0x80]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xd
push ecx
cmp eax, dword [ebx + 0x84]
je 0x496159
mov ecx, eax
call fcn.00491250
add dword [ebx + 0x80], 0x48
jmp 0x496162
push eax
lea ecx, [ebx + 0x7c]
call fcn.0048d040
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x49619d
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x496193
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496541
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0x10
jb 0x4961ec
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4961e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496541
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp ecx, 0x10
jb 0x496241
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x496237
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x496541
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ebx, dword [ebx + 0x80]
push 0
add ebx, 0xffffffb8
mov dword [ebp - 0xa4], 0
push 0x650d78
mov ecx, ebx
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.00451ee0
push 0
lea ecx, [ebx + 0x18]
push 0x650d78
call fcn.00451ee0
push 0
lea ecx, [ebx + 0x30]
push 0x650d78
call fcn.00451ee0
mov esi, dword [ebp - 0x5ec]
lea eax, [esi + edi]
cmp ebx, eax
je 0x4962b8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4962a9
mov eax, dword [eax]
push ecx
push eax
mov ecx, ebx
call fcn.00451ee0
mov esi, dword [ebp - 0x5ec]
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
cmp eax, dword [ebp - 0x5f0]
jbe 0x496301
lea eax, [edi + 0x18]
add eax, esi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x496301
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x496301
cmp dword [eax + 0x14], 0x10
jb 0x4962f4
mov eax, dword [eax]
push edx
push eax
call fcn.00451ee0
mov esi, dword [ebp - 0x5ec]
mov ecx, dword [ebp - 0x5e8]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
mov eax, dword [ebp - 0x5f0]
sar edx, 2
inc eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jbe 0x49634d
lea eax, [edi + 0x30]
add eax, esi
mov edx, dword [eax + 0x10]
test edx, edx
je 0x49634d
lea ecx, [ebx + 0x30]
cmp ecx, eax
je 0x49634d
cmp dword [eax + 0x14], 0x10
jb 0x496340
mov eax, dword [eax]
push edx
push eax
call fcn.00451ee0
mov esi, dword [ebp - 0x5ec]
mov ebx, dword [ebp - 0x600]
add dword [ebp - 0x5f0], 3
add edi, 0x48
cmp edi, 0x270
jl 0x496081
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
cmp eax, 0xe
jbe 0x496405
add esi, 0x150
cmp dword [esi + 0x14], 0x10
jb 0x496399
mov esi, dword [esi]
push esi
call fcn.005e77a1
mov esi, eax
add esp, 4
cmp esi, 4
jg 0x49650b
mov edi, dword [ebp - 0x5f4]
xor ecx, ecx
test esi, esi
jle 0x4963d2
lea edx, [ebx + 0x17c]
nop
imul eax, ecx, 0x19
lea edx, [edx + 0x20]
inc ecx
add ax, word [edi]
mov word [edx - 0x20], ax
cmp ecx, esi
jl 0x4963c0
cmp esi, 4
jge 0x4963ff
mov ecx, esi
mov edx, 4
shl ecx, 5
add ecx, 0x17c
add ecx, ebx
sub edx, esi
nop dword [eax + eax]
mov ax, word [edi]
lea ecx, [ecx + 0x20]
mov word [ecx - 0x20], ax
sub edx, 1
jne 0x4963f0
mov esi, dword [ebp - 0x5ec]
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
cmp eax, 0x1a
jbe 0x49644f
add esi, 0x270
cmp dword [esi + 0x10], 0
jne 0x496435
mov byte [ebx + 0xa], 0
jmp 0x496449
cmp dword [esi + 0x14], 0x10
jb 0x49643d
mov esi, dword [esi]
push esi
call fcn.005e77a1
add esp, 4
mov byte [ebx + 0xa], al
mov esi, dword [ebp - 0x5ec]
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
cmp eax, 0x1b
jbe 0x4964a2
add esi, 0x288
cmp dword [esi + 0x10], 0
jne 0x49648e
cmp byte [ebx + 0xa], 1
mov edx, 0x14
movzx eax, byte [ebx + 0xa]
cmova edx, eax
mov byte [ebx + 8], dl
jmp 0x4964a2
cmp dword [esi + 0x14], 0x10
jb 0x496496
mov esi, dword [esi]
push esi
call fcn.005e77a1
add esp, 4
mov byte [ebx + 8], al
mov edi, dword [ebp - 0x5e0]
mov ebx, dword [ebp - 0x5fc]
inc ebx
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x5fc], ebx
call fcn.004f2260
cmp ebx, eax
jb 0x4955b0
mov bl, 1
lea ecx, [ebp - 0x5ec]
call fcn.004550f0
lea ecx, [ebp - 0x650]
call fcn.004f1f10
lea ecx, [ebp - 0x3f8]
call fcn.004f0ce0
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.005994b1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x5ec]
add eax, 0x150
cmp dword [eax + 0x14], 0x10
jb 0x49651e
mov eax, dword [eax]
mov ecx, dword [ebp - 0x604]
cmp dword [ecx + 0x14], 0x10
jb 0x49652c
mov ecx, dword [ecx]
push 4
push eax
push ecx
push str._s__s__Skill_grade_motion___d__Out_Of_Range.
call fcn.004ef1c0
add esp, 0x10
xor bl, bl
jmp 0x4964ca
call fcn.005e01aa
call fcn.0045d1b0
nop
fcomp qword [esi + 0x49]
add bl, dh
pop esi
dec ecx
add bl, dh
pop esi
dec ecx
add bl, dh
pop esi
dec ecx
add ah, cl
int3