Function at 0x4898b8
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x4898c1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48a319
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov dword [esi + 0x50], 0x1f4
lea eax, [esi + 0x54]
call fcn.00404974
xor eax, eax
mov dword [esi + 0x60], eax
xor eax, eax
mov dword [esi + 0x64], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00476b38
cmp dword [ebp - 0x18], 0
jne 0x489941
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x14]
call fcn.00404a0c
lea eax, [ebp - 0x1c]
mov edx, dword [esi + 0x18]
call fcn.00404a0c
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
call fcn.00408cc8
mov eax, dword [ebp - 0x44]
mov edx, 0x48a334
call fcn.00404d80
jne 0x4899a5
cmp dword [esi + 0x40], 0
setne byte [ebp - 0x39]
mov eax, dword [esi + 0x1c]
add eax, 0x204
mov edx, dword [esi + 0x40]
call fcn.004049c8
mov eax, dword [esi + 0x1c]
add eax, 0x208
mov edx, dword [esi + 0x44]
call fcn.004049c8
mov eax, dword [esi + 0x1c]
add eax, 0x218
mov edx, dword [esi + 0x48]
call fcn.004049c8
mov eax, dword [esi + 0x1c]
add eax, 0x21c
mov edx, dword [esi + 0x4c]
call fcn.004049c8
jmp 0x4899dd
mov byte [ebp - 0x39], 0
mov eax, dword [esi + 0x1c]
add eax, 0x204
call fcn.00404974
mov eax, dword [esi + 0x1c]
add eax, 0x208
call fcn.00404974
mov eax, dword [esi + 0x1c]
add eax, 0x218
call fcn.00404974
mov eax, dword [esi + 0x1c]
add eax, 0x21c
call fcn.00404974
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4899f1
cmp eax, 0
seta al
jmp 0x4899f4
setg al
mov byte [ebp - 6], al
mov al, byte [esi + 0x3d]
and al, byte [ebp - 6]
je 0x489a0e
mov eax, dword [esi + 0x38]
mov edx, 0x48a344
call fcn.00404d80
je 0x489a12
xor eax, eax
jmp 0x489a14
mov al, 1
mov byte [ebp - 7], al
cmp byte [ebp - 7], 0
je 0x489a2c
mov ecx, 0x48a350
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 6], 0
je 0x489a83
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.004092e0
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x48a370
call fcn.00404c80
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [esi + 0x34], 0
je 0x489a83
lea eax, [ebp - 0x50]
mov ecx, dword [esi + 0x34]
mov edx, 0x48a38c
call fcn.00404c80
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [esi + 0x58], 0
je 0x489aa6
lea eax, [ebp - 0x54]
mov ecx, dword [esi + 0x58]
mov edx, 0x48a3a4
call fcn.00404c80
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov ebx, dword [esi + 0x68]
test ebx, ebx
jg 0x489ab3
cmp dword [esi + 0x6c], 0
jle 0x489b2a
cmp ebx, dword [esi + 0x6c]
jg 0x489af9
push 0x48a3bc
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.004091f4
push dword [ebp - 0x5c]
push 0x48a3d4
lea edx, [ebp - 0x60]
mov eax, dword [esi + 0x6c]
call fcn.004091f4
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404cf4
mov ecx, dword [ebp - 0x58]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x489b2a
push 0x48a3bc
lea edx, [ebp - 0x68]
mov eax, ebx
call fcn.004091f4
push dword [ebp - 0x68]
push 0x48a3d4
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00404cf4
mov ecx, dword [ebp - 0x64]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x34]
call fcn.00404974
mov eax, dword [esi + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x489b7b
inc ebx
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x34], 0
je 0x489b5c
lea eax, [ebp - 0x34]
mov edx, 0x48a3e0
call fcn.00404c3c
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x40]
mov eax, dword [esi + 0x5c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x34]
call fcn.00404c3c
inc dword [ebp - 0x40]
dec ebx
jne 0x489b49
cmp dword [ebp - 0x34], 0
je 0x489b9e
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x34]
mov edx, 0x48a3ec
call fcn.00404c80
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [esi + 0x3c], 0
jne 0x489bb3
mov ecx, 0x48a400
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [ebp - 0x18], 0
je 0x489bf9
push dword [ebp - 0x18]
push 0x48a41c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404cf4
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00477644
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0x48a428
call fcn.00404c80
mov ecx, dword [ebp - 0x74]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [esi + 0x40], 0
je 0x489c57
cmp dword [esi + 0x48], 0
je 0x489c57
cmp byte [ebp - 0x39], 0
jne 0x489c57
push dword [esi + 0x48]
push 0x48a41c
push dword [esi + 0x4c]
lea eax, [ebp - 0x88]
mov edx, 3
call fcn.00404cf4
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.00477644
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 0x48a448
call fcn.00404c80
mov ecx, dword [ebp - 0x80]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x20]
call fcn.0047acf8
test al, al
je 0x489c7f
push 0x48a46c
push dword [ebp - 0x20]
push 0x48a478
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404cf4
jmp 0x489c8a
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x20]
call fcn.00404a0c
cmp byte [esi + 0x70], 0
je 0x489cd1
mov eax, dword [ebp - 0x24]
mov edx, 0x48a484
call fcn.00404d80
je 0x489cd1
push 0x48a490
push dword [ebp - 0x34]
push 0x48a41c
push dword [ebp - 0x24]
lea eax, [ebp - 0x8c]
mov edx, 4
call fcn.00404cf4
mov ecx, dword [ebp - 0x8c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x489cf4
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0x34]
mov edx, 0x48a490
call fcn.00404c80
mov ecx, dword [ebp - 0x90]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [esi + 0x40], 0
je 0x489d23
cmp byte [ebp - 0x39], 0
jne 0x489d23
push dword [ebp - 0x14]
push 0x48a4a0
push dword [ebp - 0x34]
push 0x48a41c
push dword [ebp - 0x24]
push dword [ebp - 0x30]
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00404cf4
mov eax, dword [ebp - 0x30]
mov edx, 0x48a4ac
call fcn.00404d80
jne 0x489d3f
lea eax, [ebp - 0x30]
mov edx, 0x48a4b8
call fcn.00404a0c
mov eax, dword [esi + 0x38]
mov edx, 0x48a4c4
call fcn.00404d80
jne 0x489d8c
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 4]
call fcn.00408cc8
push dword [ebp - 0x98]
push 0x48a4d0
push dword [ebp - 0x30]
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00404cf4
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x489dd0
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00408cc8
push dword [ebp - 0xa0]
push 0x48a4d0
push dword [ebp - 0x30]
push 0x48a4dc
push dword [esi + 0x38]
lea eax, [ebp - 0x9c]
mov edx, 5
call fcn.00404cf4
mov ecx, dword [ebp - 0x9c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [esi + 0x40], 0
je 0x489df4
cmp byte [ebp - 0x39], 0
jne 0x489df4
lea eax, [esi + 4]
mov edx, dword [esi + 0x40]
call fcn.004049c8
lea eax, [esi + 8]
mov edx, dword [esi + 0x44]
call fcn.004049c8
jmp 0x489e0a
lea eax, [esi + 4]
mov edx, dword [ebp - 0x20]
call fcn.004049c8
lea eax, [esi + 8]
mov edx, dword [ebp - 0x24]
call fcn.004049c8
mov ebx, dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xa4]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xa4], 0
je 0x489e37
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x14]
call fcn.00408cc8
mov eax, dword [ebp - 0xa8]
mov edx, 0x48a334
call fcn.00404d80
sete dl
mov eax, esi
call fcn.0048985c
test al, al
jne 0x489e78
lea eax, [esi + 0x24]
call fcn.00404974
lea eax, [esi + 0x28]
call fcn.00404974
jmp 0x48a2e6
push 0
push 0
mov eax, dword [esi + 0x30]
call fcn.0041816c
lea eax, [ebp - 0xc]
call fcn.00404974
cmp byte [ebp - 7], 0
je 0x489f5a
lea edx, [ebp - 0xac]
mov eax, esi
call fcn.00489748
mov edx, dword [ebp - 0xac]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x48a2e6
lea ecx, [ebp - 0x34]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x50]
cmp dword [ebp - 0x34], 0
jne 0x489ee1
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x489ec1
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00489678
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x34]
call fcn.00404a0c
lea ecx, [ebp - 0x34]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x50]
cmp dword [ebp - 0x34], 0
je 0x489f16
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x489ef6
mov eax, dword [esi + 0x50]
cmp eax, 0x64
jl 0x48a026
cmp eax, 0xc8
jge 0x48a026
lea eax, [ebp - 0xc]
call fcn.00404974
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
mov dword [esi + 0x64], eax
mov ebx, dword [esi + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x48a026
cmp byte [ebp - 6], 0
je 0x48a00b
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x489f79
cmp eax, 0x10000
jb 0x489fb8
jmp 0x489f7b
jl 0x489fb8
lea edx, [ebp - 0xb0]
mov eax, esi
call fcn.00489748
mov edx, dword [ebp - 0xb0]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
mov dword [esi + 0x64], eax
mov ebx, dword [esi + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x48a026
mov ebx, dword [esi + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0xb4]
mov eax, ebx
call fcn.00477384
mov eax, dword [ebp - 0xb4]
push eax
lea edx, [ebp - 0xb8]
mov eax, esi
call fcn.00489748
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0x34]
pop ecx
call fcn.00404c80
mov eax, dword [ebp - 0x34]
call fcn.00404c34
mov dword [esi + 0x64], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x48a026
lea edx, [ebp - 0xbc]
mov eax, esi
call fcn.00489748
mov edx, dword [ebp - 0xbc]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x48a2e6
mov eax, esi
call fcn.00489638
or ebx, 0xffffffff
mov byte [esi + 0x20], 0
cmp dword [ebp - 0xc], 0
jne 0x48a0d7
lea ecx, [ebp - 0x34]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
call dword [edi + 0x50]
cmp dword [ebp - 0x34], 0
jne 0x48a06e
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x48a04e
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x34]
call fcn.00408cc8
mov edx, dword [ebp - 0xc0]
mov eax, 0x48a4ec
call fcn.00404f78
dec eax
jne 0x48a0a6
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.00489678
jmp 0x48a0c3
lea eax, [ebp - 0x34]
mov edx, 0x48a4fc
call fcn.00404c3c
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x30]
call fcn.004773b4
xor eax, eax
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x48a0e2
cmp dword [esi + 0x50], 0x64
je 0x48a06e
jmp 0x48a0e2
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, 0x48a344
call fcn.00404d80
setne byte [ebp - 0xd]
mov eax, dword [esi + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x48a230
lea ecx, [ebp - 0x34]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
call dword [edi + 0x50]
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [ebp - 0x34], 0
je 0x48a230
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x34]
call fcn.00408cc8
mov edx, dword [ebp - 0x38]
mov eax, 0x48a508
call fcn.00404f78
dec eax
jne 0x48a184
lea ecx, [ebp - 0xc8]
mov edx, 0x48a4d0
mov eax, dword [ebp - 0x34]
call fcn.00476af8
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.00408f40
mov eax, dword [ebp - 0xc4]
or edx, 0xffffffff
call fcn.0040936c
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48a184
cmp byte [esi + 0x20], 0
jne 0x48a184
mov byte [esi + 0x20], 1
mov edx, dword [ebp - 0x38]
mov eax, 0x48a520
call fcn.00404f78
dec eax
jne 0x48a1c6
lea ecx, [ebp - 0xd0]
mov edx, 0x48a4d0
mov eax, dword [ebp - 0x34]
call fcn.00476af8
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.00408f40
mov edx, dword [ebp - 0xcc]
lea eax, [esi + 0x34]
call fcn.004049c8
mov edx, dword [ebp - 0x38]
mov eax, 0x48a538
call fcn.00404f78
dec eax
jne 0x48a20c
lea ecx, [ebp - 0xd4]
mov edx, 0x48a4d0
mov eax, dword [ebp - 0x38]
call fcn.00476af8
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0x34]
call fcn.00408f40
mov edx, dword [ebp - 0x34]
mov eax, 0x48a554
call fcn.00404f78
test eax, eax
jle 0x48a20c
mov byte [esi + 0x20], 2
mov edx, dword [ebp - 0x38]
mov eax, 0x48a564
call fcn.00404f78
dec eax
jne 0x48a220
mov byte [ebp - 0xd], 1
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
je 0x48a103
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
sete byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x48a2e6
mov eax, dword [ebp - 4]
mov edx, 0x48a580
call fcn.00404d80
setne al
test al, al
je 0x48a265
cmp dword [esi + 0x50], 0xcc
jne 0x48a269
xor eax, eax
jmp 0x48a26b
mov al, 1
test al, al
je 0x48a278
cmp dword [esi + 0x50], 0x130
jne 0x48a27c
xor eax, eax
jmp 0x48a27e
mov al, 1
test al, al
je 0x48a2b5
mov al, byte [esi + 0x20]
sub al, 1
jb 0x48a291
je 0x48a29d
dec al
je 0x48a2ab
jmp 0x48a2b5
mov eax, esi
call fcn.0048a588
mov byte [ebp - 5], al
jmp 0x48a2b5
mov edx, ebx
mov eax, esi
call fcn.0048a614
mov byte [ebp - 5], al
jmp 0x48a2b5
mov eax, esi
call fcn.0048a654
mov byte [ebp - 5], al
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x14]
cmp byte [ebp - 0xd], 0
je 0x48a2df
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x10]
lea eax, [esi + 0x24]
call fcn.00404974
lea eax, [esi + 0x28]
call fcn.00404974
mov eax, esi
call fcn.0048a778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a320
lea eax, [ebp - 0xd4]
mov edx, 0x25
call fcn.00404998
lea eax, [ebp - 0x38]
mov edx, 0xa
call fcn.00404998
lea eax, [ebp - 0xc]
call fcn.00404974
ret