Function at 0x5ea0e0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ea623
sub esp, 0x48
lea eax, [0x663600]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
lea edx, [0x671b98]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xe
call fcn.0040f8a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 1
jg 0x5ea3c9
mov ebx, dword [esp + 0x58]
cmp ebx, 4
jne 0x5ea21a
mov ebx, dword [esp + 0x54]
cmp dword [ebx], 0x44414548
jne 0x5ea21a
movzx ebx, byte [esp + 0x4c]
test bl, bl
je 0x5ea180
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
test edx, edx
jle 0x5ea15c
cmp edx, 1
jne 0x5ea196
mov ebx, dword [ecx]
cmp dword [ecx + 4], 1
jne 0x5ea196
cmp byte [ebx], 0x30
je 0x5ea15c
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00408c90
mov eax, dword [esp + 0xc]
lea ecx, [0x62abc0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x680c03]
mov dword [esp], eax
mov dword [esp + 4], 0x34
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x48
ret
mov eax, 0x51eb851f
mov ebx, dword [esp + 0x50]
mov ebp, edx
imul ebx
sar edx, 5
mov esi, ebx
sar ebx, 0x1f
sub edx, ebx
cmp edx, 1
je 0x5ea3a5
cmp esi, 0xcc
jne 0x5ea266
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
cmp esi, 0x130
je 0x5ea242
movzx eax, byte [esp + 0x60]
test al, al
jne 0x5ea381
cmp ebp, 1
je 0x5ea363
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x5ea2e4
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005eb3d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x5ea2c8
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
add esp, 0x48
ret
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
nop
nop
lea eax, [0x671b98]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.005aa8c0
lea eax, [0x659f80]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.00410310
movzx eax, byte [esp + 0x4c]
test al, al
je 0x5ea33f
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005aac60
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x5ea288
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x48
ret
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.005aac60
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x24]
lea ebx, [edx - 1]
mov dword [esp + 0x30], ebx
xor ebp, ebp
jmp 0x5ea41c
mov esi, dword [esp + 0x2c]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
cmp ebx, ebp
jle 0x5ea4fc
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x38]
lea ecx, [eax + ebp*8 + 8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005aac60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0xc], ecx
jne 0x5ea46c
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402950
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ea405
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00408c90
mov eax, dword [esp + 0xc]
lea ecx, [0x62abc0]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x6829c2]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x48
ret
nop
nop
lea eax, [0x671b98]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.005aa8c0
lea eax, [0x659f80]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.00410310
nop
nop
lea eax, [0x671b98]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.005aa8c0
lea eax, [0x659f80]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040ff70
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebp, ebx
ja 0x5ea5d2
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
lea ebx, [edx + ecx*8 + 4]
mov ebp, dword [esp + 0x20]
mov dword [ebx], ebp
mov ebx, dword [0x8326a0]
lea edi, [edx + ecx*8]
test ebx, ebx
jne 0x5ea5c7
mov eax, dword [esp + 0x34]
mov dword [edi], eax
lea eax, [0x663600]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea ecx, [0x671b98]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xe
call fcn.0040f8a0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x5ea136
mov eax, dword [esp + 0x34]
call fcn.0045ace0
jmp 0x5ea58e
mov dword [esp + 0x3c], eax
lea eax, [0x633ac0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004429e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov dword [edi + 8], edx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5ea61c
mov dword [edi], eax
mov edx, eax
mov eax, edi
jmp 0x5ea56b
call fcn.0045ace0
jmp 0x5ea613
call fcn.00459790
jmp fcn.005ea0e0