Function at 0x412830
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412b9f
sub esp, 0x20
mov ebx, 0x6cfcb4
mov dword [esp], ebx
call fcn.0040bb90
mov ebx, dword [0x6be018]
xor ebp, ebp
cmp ebx, ebp
je 0x4129a5
mov ebx, dword [0x6be018]
mov ebp, dword [ebx + 8]
cmp ebp, 0xcc
je 0x4129a5
mov ebx, dword [0x6be018]
mov ebp, dword [ebx + 8]
mov ebx, dword [0x6be018]
cmp ebx, 0
je 0x41299e
lea esi, [ebx + 0x10]
cmp ebp, 0xcc
jae 0x412997
imul ebp, ebp, 0x14
add esi, ebp
mov ecx, esi
mov ebx, dword [0x6be018]
mov eax, dword [ebx + 8]
inc eax
mov ebx, dword [0x6be018]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], esi
cmp esi, 0
je 0x412990
cmp byte [0x6cfdf8], 0
jne 0x41297b
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x30]
cmp byte [0x6cfdf8], 0
jne 0x412963
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x34]
cmp ecx, 0
je 0x41295f
cmp byte [0x6cfdf8], 0
jne 0x41294a
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x24]
cmp ecx, 0
je 0x412946
cmp byte [0x6cfdf8], 0
jne 0x412935
mov dword [ecx + 4], eax
mov byte [0x6cfc48], 1
mov ebx, 0x6cfcb4
mov dword [esp], ebx
call fcn.0040bdd0
add esp, 0x20
ret
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e410
jmp 0x41291d
mov dword [ecx], eax
jmp 0x412911
lea esi, [ecx + 0x10]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e410
mov ecx, dword [esp + 0x18]
jmp 0x412908
mov dword [ecx], eax
jmp 0x4128fc
lea esi, [ecx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e410
mov ecx, dword [esp + 0x18]
jmp 0x4128f3
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e410
mov ecx, dword [esp + 0x18]
jmp 0x4128dc
mov dword [esi], eax
jmp 0x4128cd
call fcn.004278c0
ud2
mov dword [ebx], eax
jmp 0x412893
mov ebx, dword [0x6be010]
xor ebp, ebp
cmp ebx, ebp
jne 0x412ac0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
mov ebx, 0x6d1ea0
mov dword [esp + 8], ebx
add dword [esp + 8], 0x98
call fcn.0040df20
mov ebx, dword [esp + 0xc]
cmp byte [0x6cfdf8], 0
jne 0x412b89
mov dword [0x6be010], ebx
mov ecx, dword [0x6bdfe8]
mov ebx, dword [0x6be010]
cmp ebx, 0
je 0x412b82
cmp byte [0x6cfdf8], 0
jne 0x412b71
mov dword [ebx], ecx
mov ebx, dword [0x6be010]
cmp byte [0x6cfdf8], 0
jne 0x412b5b
mov dword [0x6bdfe8], ebx
movzx ebx, byte [0x6cffe0]
cmp bl, 0
jne 0x412ac0
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 0x412ac0
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, 0x6a6108
cmp ebp, 5
jae 0x412b54
add esi, ebp
movzx ebx, byte [esi]
mov esi, 0x6cffe0
cmp ecx, 0x80
jae 0x412b4d
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 0x412a5a
mov ecx, dword [0x6be010]
mov dword [esp + 0x1c], ecx
mov ebp, dword [ecx + 4]
cmp byte [0x6cfdf8], 0
jne 0x412b36
mov dword [0x6be010], ebp
mov eax, dword [0x6be018]
cmp ecx, 0
je 0x412b32
cmp byte [0x6cfdf8], 0
jne 0x412b1d
mov dword [ecx + 4], eax
cmp byte [0x6cfdf8], 0
jne 0x412b07
mov dword [0x6be018], ecx
jmp 0x41287b
mov ebp, 0x6be018
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040e410
jmp 0x41287b
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e410
mov ecx, dword [esp + 0x1c]
jmp 0x412af3
mov dword [ecx], eax
jmp 0x412ae7
mov ebx, 0x6be010
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e410
mov ecx, dword [esp + 0x1c]
jmp 0x412adc
call fcn.004278c0
ud2
call fcn.004278c0
ud2
mov ebp, 0x6bdfe8
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040e410
jmp 0x412a2e
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0040e410
jmp 0x412a15
mov dword [ebx], eax
jmp 0x412a06
mov ebp, 0x6be010
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040e410
jmp 0x4129f1
call fcn.0044fe90
jmp fcn.00412830