Function at 0x5825a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x58288d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004144b4
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push 0x2000
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x67c894]
call fcn.0069aed8
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x410484]
call fcn.00403140
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x410484]
call fcn.00403140
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x58286d
push dword fs:[eax]
mov dword fs:[eax], esp
jmp case.default.0x582660
cmp byte [ebp - 0x11], 0xff
jne case.default.0x582660
lea edx, [ebp - 0x12]
mov ecx, 1
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
xor eax, eax
mov al, byte [ebp - 0x12]
cmp eax, 0xcc
jg 0x582697
je case.0x582660.196
add eax, 0xffffff40
cmp eax, 0xb
ja case.default.0x582660
jmp dword [eax*4 + 0x582667]
cmp eax, 0xda
jge 0x5826ba
add eax, 0xffffff33
sub eax, 3
jb case.0x582660.192
sub eax, 9
je case.0x582660.192
jmp case.default.0x582660
add eax, 0xffffff26
sub eax, 8
jb case.0x582660.196
je 0x5826d9
dec eax
sub eax, 0x1c
jb case.0x582660.196
jmp case.default.0x582660
lea edx, [ebp - 2]
mov ecx, 2
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
mov ax, word [ebp - 2]
call fcn.0067d488
mov word [ebp - 2], ax
movzx eax, word [ebp - 2]
call fcn.0040279c
mov esi, eax
movzx ecx, word [ebp - 2]
sub ecx, 2
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x3c]
mov edx, esi
call fcn.004040c0
mov eax, dword [ebp - 0x3c]
mov edx, 0x5828a4
call fcn.00404298
je 0x582734
mov eax, esi
call fcn.004027b4
jmp case.default.0x582660
mov al, byte [esi + 0xc]
dec eax
mov byte [ebp - 0x29], al
mov al, byte [esi + 0xd]
mov byte [ebp - 0x2a], al
movzx edi, byte [ebp - 0x29]
mov eax, dword [ebp - 0x24]
cmp edi, dword [eax + 8]
jl 0x582769
xor edx, edx
mov dl, byte [ebp - 0x29]
inc edx
mov eax, dword [ebp - 0x24]
call fcn.004122ac
xor edx, edx
mov dl, byte [ebp - 0x29]
inc edx
mov eax, dword [ebp - 0x28]
call fcn.004122ac
mov edx, edi
mov ecx, esi
mov eax, dword [ebp - 0x24]
call fcn.00412204
movzx ecx, word [ebp - 2]
sub ecx, 0x10
mov edx, edi
mov eax, dword [ebp - 0x28]
call fcn.00412204
movzx eax, word [ebp - 2]
sub eax, 0x10
add dword [ebp - 0x38], eax
inc ebx
cmp bl, byte [ebp - 0x2a]
je case.0x582660.192
jmp case.default.0x582660
push ebp
call fcn.00582550
pop ecx
lea edx, [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
test eax, eax
jg 0x582626
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x582877
cmp dword [ebp - 0x38], 0
jle 0x582849
mov eax, dword [ebp - 0x38]
call fcn.0040279c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x58282e
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.004120b8
mov esi, eax
add esi, 0xe
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.004120b8
mov ecx, eax
mov edx, esi
mov eax, dword [ebp - 0x34]
call fcn.00408128
mov edx, ebx
mov eax, dword [ebp - 0x28]
call fcn.004120b8
add dword [ebp - 0x34], eax
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.004120b8
call fcn.004027b4
inc ebx
dec edi
jne 0x5827e9
mov eax, dword [ebp - 0x10]
call fcn.0063f064
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
call fcn.00699894
mov eax, dword [ebp - 0x30]
call fcn.004027b4
lea eax, [ebp - 0x24]
call fcn.0040e0e0
lea eax, [ebp - 0x28]
call fcn.0040e0e0
lea eax, [ebp - 8]
call fcn.0040e0e0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004144c4
ret