Function at 0x413710
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x413a7f
sub esp, 0x20
mov ebx, 0x6d9cd4
mov dword [esp], ebx
call fcn.0040ca70
mov ebx, dword [0x6c8058]
xor ebp, ebp
cmp ebx, ebp
je 0x413885
mov ebx, dword [0x6c8058]
mov ebp, dword [ebx + 8]
cmp ebp, 0xcc
je 0x413885
mov ebx, dword [0x6c8058]
mov ebp, dword [ebx + 8]
mov ebx, dword [0x6c8058]
cmp ebx, 0
je 0x41387e
lea esi, [ebx + 0x10]
cmp ebp, 0xcc
jae 0x413877
imul ebp, ebp, 0x14
add esi, ebp
mov ecx, esi
mov ebx, dword [0x6c8058]
mov eax, dword [ebx + 8]
inc eax
mov ebx, dword [0x6c8058]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp esi, 0
je 0x413870
cmp byte [0x6d9e18], 0
jne 0x41385b
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x30]
cmp byte [0x6d9e18], 0
jne 0x413843
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x34]
cmp ecx, 0
je 0x41383f
cmp byte [0x6d9e18], 0
jne 0x41382a
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x24]
cmp ecx, 0
je 0x413826
cmp byte [0x6d9e18], 0
jne 0x413815
mov dword [ecx + 4], eax
mov byte [0x6d9c68], 1
mov ebx, 0x6d9cd4
mov dword [esp], ebx
call fcn.0040ccb0
add esp, 0x20
ret
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f2f0
jmp 0x4137fd
mov dword [ecx], eax
jmp 0x4137f1
lea esi, [ecx + 0x10]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f2f0
mov ecx, dword [esp + 0x18]
jmp 0x4137e8
mov dword [ecx], eax
jmp 0x4137dc
lea esi, [ecx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f2f0
mov ecx, dword [esp + 0x18]
jmp 0x4137d3
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f2f0
mov ecx, dword [esp + 0x18]
jmp 0x4137bc
mov dword [esi], eax
jmp 0x4137ad
call fcn.004287a0
ud2
mov dword [ebx], eax
jmp 0x413773
mov ebx, dword [0x6c8050]
xor ebp, ebp
cmp ebx, ebp
jne 0x4139a0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
mov ebx, 0x6dbec0
mov dword [esp + 8], ebx
add dword [esp + 8], 0x98
call fcn.0040ee00
mov ebx, dword [esp + 0xc]
cmp byte [0x6d9e18], 0
jne 0x413a69
mov dword [0x6c8050], ebx
mov ecx, dword [0x6c8028]
mov ebx, dword [0x6c8050]
cmp ebx, 0
je 0x413a62
cmp byte [0x6d9e18], 0
jne 0x413a51
mov dword [ebx], ecx
mov ebx, dword [0x6c8050]
cmp byte [0x6d9e18], 0
jne 0x413a3b
mov dword [0x6c8028], ebx
movzx ebx, byte [0x6da000]
cmp bl, 0
jne 0x4139a0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], pe_nt_image_headers32
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
cmp ebx, ebp
jge 0x4139a0
mov ecx, dword [esp + 0x14]
mov esi, 0x66666667
mov edi, eax
mov ebx, edx
mov eax, esi
imul ecx
mov ebp, edx
mov eax, edi
mov edx, ebx
sar ebp, 1
mov esi, ecx
sar esi, 0x1f
sub ebp, esi
imul ebp, ebp, 5
mov esi, ecx
sub esi, ebp
mov ebp, esi
mov esi, 0x6b0108
cmp ebp, 5
jae 0x413a34
add esi, ebp
movzx ebx, byte [esi]
mov esi, 0x6da000
cmp ecx, 0x80
jae 0x413a2d
add esi, ecx
mov byte [esi], bl
mov ebx, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
cmp ebx, ebp
jl 0x41393a
mov ecx, dword [0x6c8050]
mov dword [esp + 0x1c], ecx
mov ebp, dword [ecx + 4]
cmp byte [0x6d9e18], 0
jne 0x413a16
mov dword [0x6c8050], ebp
mov eax, dword [0x6c8058]
cmp ecx, 0
je 0x413a12
cmp byte [0x6d9e18], 0
jne 0x4139fd
mov dword [ecx + 4], eax
cmp byte [0x6d9e18], 0
jne 0x4139e7
mov dword [0x6c8058], ecx
jmp 0x41375b
mov ebp, 0x6c8058
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040f2f0
jmp 0x41375b
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f2f0
mov ecx, dword [esp + 0x1c]
jmp 0x4139d3
mov dword [ecx], eax
jmp 0x4139c7
mov ebx, 0x6c8050
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f2f0
mov ecx, dword [esp + 0x1c]
jmp 0x4139bc
call fcn.004287a0
ud2
call fcn.004287a0
ud2
mov ebp, 0x6c8028
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040f2f0
jmp 0x41390e
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040f2f0
jmp 0x4138f5
mov dword [ebx], eax
jmp 0x4138e6
mov ebp, 0x6c8050
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040f2f0
jmp 0x4138d1
call fcn.00450ed0
jmp fcn.00413710