Function at 0x4123a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445094
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x457080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 0x14c], edi
movlpd qword [ebp - 0x30], xmm0
push 0x50
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.0042377c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], edi
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
push 0x457b30
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00403790
mov byte [ebp - 4], 2
mov eax, dword [0x459468]
mov ecx, dword [0x45946c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], ecx
cmp eax, ecx
je 0x412a14
nop dword [eax]
nop word [eax + eax]
push ecx
add eax, 4
mov dword [ebp - 0x88], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x98]
push eax
movups xmmword [ebp - 0x98], xmm0
call fcn.00417670
push 0x48
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.00426790
cmp dword [ebp - 0x40], 0xf
lea esi, [ebp - 0x54]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x98]
cmova esi, dword [ebp - 0x54]
seta dl
add eax, esi
mov dword [ebp - 0xd8], ecx
test dl, dl
mov dword [ebp - 0xdc], eax
lea esi, [ebp - 0x54]
mov dword [ebp - 0xd4], 0
cmovne esi, dword [ebp - 0x54]
xorps xmm0, xmm0
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xd0], 0
mov byte [ebp - 0xcc], 0
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb8], 0
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 0x9c], 0
push esi
push 0
push eax
mov edx, ecx
mov byte [ebp - 4], 4
push esi
lea ecx, [ebp - 0xd0]
call fcn.00417f30
mov ecx, dword [ebp - 0xd8]
xor edx, edx
test al, al
cmove ecx, edx
mov dword [ebp - 0xd8], ecx
push 0x48
push edx
lea eax, [ebp - 0x140]
push eax
call fcn.00426790
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
add esp, 0x28
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x12c], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov byte [ebp - 0xfc], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 7
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0xd8], 0
je 0x41273e
mov ecx, dword [ebp - 0xc4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xc8]
imul ecx
lea ecx, [ebp - 0xa4]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmovne ecx, dword [ebp - 0xc8]
cmp byte [ecx + 8], 0
je 0x41266d
mov eax, dword [ecx]
mov esi, eax
mov ecx, dword [ecx + 4]
mov edx, eax
mov dword [ebp - 0x16c], ecx
jmp 0x412675
xor eax, eax
xor ecx, ecx
xor esi, esi
xor edx, edx
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
cmp esi, ecx
jne 0x4126a8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
jmp 0x4126b7
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00405070
or edi, 1
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x14c], edi
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call fcn.00414dc0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x84]
push ecx
cmp eax, dword [ebp - 0x34]
je 0x4126f1
mov ecx, eax
call fcn.00403790
add dword [ebp - 0x38], 0x18
jmp 0x4126fa
push eax
lea ecx, [ebp - 0x3c]
call fcn.00419ed0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x412620
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41272f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
push ecx
push edx
call fcn.004237b1
add esp, 8
jmp 0x412620
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x16c], eax
cmp esi, eax
je 0x4129ad
push esi
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e020
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x41277d
add edx, 0x10
mov ecx, esi
call fcn.0040fbc0
test al, al
jns 0x41299e
push ecx
push esi
lea ecx, [ebp - 0x190]
call fcn.00417670
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xf8]
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
push 0
or edi, 2
mov dword [ebp - 0x154], 0xf
movups xmmword [ebp - 0x168], xmm0
push 0x44f2a9
mov byte [ebp - 0x168], 0
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x14c], edi
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
call fcn.00405070
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0xf
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
cmova edi, ecx
seta dl
add eax, edi
push ecx
test dl, dl
lea edi, [ebp - 0x54]
cmovne edi, ecx
lea ecx, [ebp - 0xf8]
push ecx
push dword [ebp - 0x17c]
mov edx, edi
lea ecx, [ebp - 0x174]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0041b8a0
mov byte [ebp - 4], 0xa
add esp, 0x14
mov ecx, dword [ebp - 0xe4]
cmp ecx, 0xf
jbe 0x41287a
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412870
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
push ecx
push edx
call fcn.004237b1
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x4128ae
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4128a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
push ecx
push edx
call fcn.004237b1
add esp, 8
movups xmm0, xmmword [ebp - 0x168]
mov edi, dword [ebp - 0x144]
lea ecx, [ebp - 0x190]
and edi, 0xfffffffd
mov byte [ebp - 0x168], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x144], edi
movq xmm0, qword [ebp - 0x158]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 4], 7
call fcn.00416a60
mov ecx, dword [ebp - 0x180]
test ecx, ecx
je 0x412924
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x412924
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
push esi
lea ecx, [ebp - 0x1e4]
call fcn.00403790
push dword [ebp - 0x150]
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xc
call fcn.00417950
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00417a80
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 7
call fcn.004131b0
mov ecx, dword [ebp - 0x24]
push esi
cmp ecx, dword [ebp - 0x20]
je 0x41298f
mov eax, dword [ebp - 0x150]
mov eax, dword [eax]
mov dword [ecx], eax
add ecx, 4
call fcn.00403790
add dword [ebp - 0x24], 0x1c
jmp 0x41299e
push dword [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004191a0
add esi, 0x18
cmp esi, dword [ebp - 0x16c]
jne 0x412752
lea ecx, [ebp - 0x3c]
call fcn.004039d0
lea ecx, [ebp - 0x130]
call fcn.00413140
lea ecx, [ebp - 0xd0]
call fcn.00413140
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00416a60
mov ecx, dword [ebp - 0x88]
test ecx, ecx
je 0x4129f9
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x4129f9
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x150]
add eax, 0x28
mov dword [ebp - 0x150], eax
cmp eax, dword [ebp - 0x148]
jne 0x412460
cmp dword [ebp - 0x2c], 0
jne 0x412b15
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x412a52
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x412a48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
push ecx
push edx
call fcn.004237b1
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
test ecx, ecx
je 0x412adb
mov edx, dword [ebp - 0x24]
push ecx
call fcn.00418690
mov ecx, dword [ebp - 0x20]
mov eax, 0x92492493
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x412abc
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
push ecx
push esi
call fcn.004237b1
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x30]
push dword [eax + 4]
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.00419e80
push 0x50
push dword [ebp - 0x30]
call fcn.004237b1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042376e
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x40
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0042377c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xe
cmp byte [0x459408], 0
je 0x412bfa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00402a50
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x148], eax
cmp ecx, eax
je 0x412bb1
mov esi, dword [ebp - 0x1c]
mov eax, ecx
push dword [esi + 4]
push eax
call fcn.00408df0
mov edx, dword [ebp - 0x148]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x178]
push dword [eax + 4]
lea eax, [ebp - 0x178]
push eax
mov ecx, eax
call fcn.00408df0
push 0x40
push dword [ebp - 0x178]
call fcn.004237b1
add esp, 8
mov dword [ebp - 4], 0xe
jmp 0x412bfa
push 0x457b30
lea ecx, [ebp - 0x6c]
call fcn.00403790
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x30]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x412f1c
nop word [eax + eax]
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e020
mov edx, dword [eax + 8]
cmp byte [edx + 0xd], 0
jne 0x412c4f
add edx, 0x10
lea ecx, [esi + 0x10]
call fcn.0040fbc0
test al, al
js 0x412c4f
mov al, 1
jmp 0x412c51
xor al, al
test al, al
je 0x412d4e
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00414c40
mov dword [ebp - 0x148], eax
lea eax, [esi + 0x10]
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.00417670
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0x13
or edi, 4
mov ecx, dword [0x457b30]
xorps xmm0, xmm0
cmp dword [0x457b44], 0xf
mov eax, dword [0x457b40]
push ecx
push dword [ebp - 0x148]
mov dword [ebp - 0x14c], edi
seta dl
push dword [ebp - 0x16c]
mov dword [ebp - 0x144], edi
mov edi, 0x457b30
cmova edi, ecx
mov dword [ebp - 0x158], 0
add eax, edi
mov dword [ebp - 0x154], 0xf
test dl, dl
mov edi, 0x457b30
push eax
cmovne edi, ecx
lea eax, [ebp - 0x168]
movups xmmword [ebp - 0x168], xmm0
push eax
mov edx, edi
mov byte [ebp - 0x168], 0
lea ecx, [ebp - 0x174]
call fcn.0041b8a0
mov ecx, dword [0x457b44]
add esp, 0x14
cmp ecx, 0xf
jbe 0x412d40
mov eax, dword [0x457b30]
inc ecx
cmp ecx, 0x1000
jb 0x412d36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
mov eax, edx
push ecx
push eax
call fcn.004237b1
add esp, 8
mov edi, dword [ebp - 0x144]
and edi, 0xfffffffb
jmp 0x412e6b
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
cmp edx, ecx
je 0x412ed6
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
call fcn.0042e4c9
xor edx, edx
div edi
mov eax, dword [esi + 0x44]
lea ecx, [edx + edx*2]
lea edx, [esi + 0x10]
push ecx
lea eax, [eax + ecx*8]
push edx
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x148], eax
call fcn.00417670
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0x15
mov edi, 0x457b30
mov ecx, dword [0x457b30]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x144]
or eax, 8
mov dword [ebp - 0x158], 0
cmp dword [0x457b44], 0xf
push ecx
push dword [ebp - 0x148]
cmova edi, ecx
mov dword [ebp - 0x144], eax
push dword [ebp - 0x16c]
mov dword [ebp - 0x14c], eax
seta dl
mov eax, dword [0x457b40]
add eax, edi
mov dword [ebp - 0x154], 0xf
test dl, dl
mov edi, 0x457b30
push eax
cmovne edi, ecx
lea eax, [ebp - 0x168]
movups xmmword [ebp - 0x168], xmm0
push eax
mov edx, edi
mov byte [ebp - 0x168], 0
lea ecx, [ebp - 0x17c]
call fcn.0041b8a0
mov ecx, dword [0x457b44]
add esp, 0x14
cmp ecx, 0xf
jbe 0x412e62
mov eax, dword [0x457b30]
inc ecx
cmp ecx, 0x1000
jb 0x412e58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
mov eax, edx
push ecx
push eax
call fcn.004237b1
add esp, 8
mov edi, dword [ebp - 0x144]
and edi, 0xfffffff7
movups xmm0, xmmword [ebp - 0x168]
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x144], edi
mov byte [ebp - 0x168], 0
movups xmmword [0x457b30], xmm0
movq xmm0, qword [ebp - 0x158]
movq qword [0x457b40], xmm0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 4], 0x11
call fcn.00416a60
mov ecx, dword [ebp - 0x180]
test ecx, ecx
je 0x412ed6
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x412ed6
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x412efc
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x412ef8
cmp esi, dword [eax + 8]
jne 0x412ef8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x412ee8
mov esi, eax
jmp 0x412f12
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x412f12
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x412f06
cmp byte [esi + 0xd], 0
je 0x412c20
cmp dword [0x457b44], 0xf
lea edx, [ebp - 0x6c]
mov edi, dword [ebp - 0x58]
mov ecx, 0x457b30
cmova ecx, dword [0x457b30]
cmp edi, 0xf
mov eax, dword [ebp - 0x5c]
cmova edx, dword [ebp - 0x6c]
cmp eax, dword [0x457b40]
jne 0x412fa0
mov esi, eax
sub esi, 4
jb 0x412f61
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x412f66
add edx, 4
add ecx, 4
sub esi, 4
jae 0x412f50
cmp esi, 0xfffffffc
je 0x412f9a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x412f93
cmp esi, 0xfffffffd
je 0x412f9a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x412f93
cmp esi, 0xfffffffe
je 0x412f9a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x412f93
cmp esi, 0xffffffff
je 0x412f9a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x412f9a
sbb eax, eax
or eax, 1
jmp 0x412f9c
xor eax, eax
test eax, eax
je 0x413015
push dword [ebp - 0x5c]
cmp edi, 0xf
lea eax, [ebp - 0x6c]
mov ecx, 0x457b18
cmova eax, dword [ebp - 0x6c]
push eax
call fcn.0040b780
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x413012
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x457b40]
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41300c
cmp dword [0x457b44], 0xf
mov ecx, 0x457b30
mov eax, dword [0x457b40]
cmova ecx, dword [0x457b30]
inc eax
push eax
push ecx
push esi
call fcn.00424b80
add esp, 0xc
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, dword [ebp - 0x58]
cmp edi, 0xf
jbe 0x413046
mov ecx, dword [ebp - 0x6c]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x41303c
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
push edi
push ecx
call fcn.004237b1
add esp, 8
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.00408df0
push 0x40
push dword [ebp - 0x1c]
call fcn.004237b1
mov ecx, dword [ebp - 0x40]
add esp, 8
cmp ecx, 0xf
jbe 0x413094
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41308a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413106
push ecx
push edx
call fcn.004237b1
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
test ecx, ecx
je 0x412adb
mov edx, dword [ebp - 0x24]
push ecx
call fcn.00418690
mov ecx, dword [ebp - 0x20]
mov eax, 0x92492493
mov esi, dword [ebp - 0x28]
add esp, 4
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x412abc
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412abc
call fcn.0042dc12
int3