Function at 0x41bd90
Capabilities:
Capture screenshot
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4b66c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov ecx, dword [esp + 0x100]
push ebx
push ebp
push esi
mov edx, dword [ecx + 4]
lea eax, [esp + 0x58]
push edi
push eax
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
call edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], eax
call fcn.004ad59e
mov esi, dword [esp + 0x124]
mov dword [esp + 0x104], 0
test esi, esi
jne 0x41be06
xor eax, eax
jmp 0x41be09
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.004ad655
mov eax, dword [esp + 0x110]
test eax, eax
jne 0x41be29
xor eax, eax
jmp 0x41be33
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.004ad796
mov ecx, dword [esp + 0x118]
sub esp, 0x10
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x124]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x12c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x130]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x64]
call fcn.00467aa0
lea edx, [esp + 0x54]
mov ecx, esi
push edx
mov byte [esp + 0x108], 1
call fcn.004adb9c
mov cl, byte [esp + 0x10c]
movsx eax, cl
add eax, 0xffffffe9
cmp eax, 0xe
ja case.default.0x41bea1
jmp dword [eax*4 + 0x41d1a0]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
mov ecx, edx
mov ebp, 0x14
cdq
idiv ebp
mov dword [esp + 0x10], ecx
test edx, edx
je 0x41bed2
inc ecx
mov dword [esp + 0x10], ecx
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle case.default.0x41bea1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, ebx
imul eax, dword [esp + 0x128]
mov dword [esp + 0x20], eax
xor ebp, ebp
test ebx, ebx
jle 0x41bfa8
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x28], eax
mov eax, ecx
imul eax, ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
jmp 0x41bf2a
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push 0xcc0020
neg eax
sbb eax, eax
push edx
mov edx, dword [esi + 4]
and eax, ecx
mov ecx, dword [esp + 0x11c]
push ebp
push eax
mov eax, dword [esp + 0x38]
push 0x14
push 1
add ecx, ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x24]
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x14]
inc ebp
add ecx, edx
cmp ebp, ebx
mov dword [esp + 0x14], ecx
jl 0x41bf24
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ebp, 0x14
inc edx
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x30]
add ebp, eax
cmp edx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], ebp
jl 0x41bef6
jmp case.default.0x41bea1
mov eax, 0x66666667
mov ecx, 0x14
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
mov dword [esp + 0x10], edx
cdq
idiv ecx
mov eax, dword [esp + 0x10]
test edx, edx
je 0x41bfff
inc eax
mov dword [esp + 0x10], eax
cmp eax, 1
mov dword [esp + 0x1c], 1
jl case.default.0x41bea1
mov edx, dword [esp + 0x120]
mov ecx, ebx
imul ecx, dword [esp + 0x128]
add edx, 0xffffffec
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], edx
mov edx, ebp
mov ebp, dword [esp + 0x120]
mov dword [esp + 0x28], 0
sub edx, ebp
mov dword [esp + 0x2c], edx
xor ebp, ebp
test ebx, ebx
jle 0x41c0e8
mov ecx, dword [esp + 0x30]
add edx, ecx
imul eax, ebx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push 0xcc0020
neg eax
sbb eax, eax
push ecx
mov ecx, dword [esi + 4]
and eax, edx
mov edx, dword [esp + 0x38]
push ebp
push eax
mov eax, dword [esp + 0x124]
push 0x14
push 1
add eax, ebp
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x24]
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
inc ebp
add ecx, edx
cmp ebp, ebx
mov dword [esp + 0x14], ecx
jl 0x41c066
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
inc ebp
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x28]
add ebp, ecx
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x30]
sub ebp, 0x14
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x1c]
cmp ebp, eax
jle 0x41c043
jmp case.default.0x41bea1
mov eax, 0x66666667
mov edi, 0x14
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
mov ecx, edx
cdq
idiv edi
mov dword [esp + 0x10], ecx
test edx, edx
je 0x41c141
inc ecx
mov dword [esp + 0x10], ecx
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle case.default.0x41bea1
mov edi, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x18], edi
lea ecx, [ebx - 1]
test ecx, ecx
mov dword [esp + 0x20], ecx
jl 0x41c20d
mov edx, dword [esp + 0x118]
mov ebp, dword [esp + 0x24]
add ebp, edx
mov edx, dword [esp + 0x114]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x10]
add edx, ecx
sub edi, ecx
imul ebp, ebx
imul edi, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x38]
push 0x14
push 1
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, edi
cdq
idiv ebp
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
dec ecx
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x128]
add edi, eax
mov dword [esp + 0x20], ecx
test ecx, ecx
jge 0x41c199
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
inc ecx
add edi, ebx
add ebp, 0x14
cmp ecx, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebp
jl 0x41c160
jmp case.default.0x41bea1
mov eax, 0x66666667
mov edi, 0x14
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
mov ecx, edx
cdq
idiv edi
mov dword [esp + 0x10], ecx
test edx, edx
je 0x41c266
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 1
mov dword [esp + 0x1c], 1
jl case.default.0x41bea1
lea edx, [ebx + ebx*2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x120]
lea eax, [edx - 0x14]
mov dword [esp + 0x30], eax
mov eax, ebp
sub eax, edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0x2c], eax
lea ebp, [ebx - 1]
test ebp, ebp
jl 0x41c349
mov edi, dword [esp + 0x30]
add edi, eax
mov eax, ecx
mov ecx, dword [esp + 0x114]
imul eax, ebx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x14]
add ecx, ebp
sub edi, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
imul edi, edx
mov ebx, eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x38]
push 0xcc0020
neg eax
sbb eax, eax
push edx
mov edx, dword [esi + 4]
and eax, ecx
mov ecx, dword [esp + 0x30]
push ebp
push eax
mov eax, dword [esp + 0x40]
push 0x14
push 1
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, edi
cdq
idiv ebx
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x28]
dec ebp
dec edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x128]
add edi, edx
test ebp, ebp
jge 0x41c2d1
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add ebp, ebx
inc edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x30]
sub ebp, 0x14
cmp edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], ebp
jle 0x41c29b
jmp case.default.0x41bea1
mov eax, 0x66666667
mov ecx, 0x14
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov dword [esp + 0x10], edx
cdq
idiv ecx
mov eax, dword [esp + 0x10]
test edx, edx
je 0x41c3a0
inc eax
mov dword [esp + 0x10], eax
cmp eax, 1
mov dword [esp + 0x1c], 1
jl case.default.0x41bea1
mov edx, dword [esp + 0x11c]
mov ecx, ebp
imul ecx, dword [esp + 0x128]
add edx, 0xffffffec
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
mov edx, ebx
mov ebx, dword [esp + 0x11c]
mov dword [esp + 0x28], 0
sub edx, ebx
mov dword [esp + 0x2c], edx
xor ebx, ebx
test ebp, ebp
jle 0x41c491
mov ecx, dword [esp + 0x24]
add edx, ecx
imul eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
jmp 0x41c40f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x118]
push 0xcc0020
neg eax
sbb eax, eax
push ebx
and eax, ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x34]
push 1
add edx, ebx
push 0x14
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x30]
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x18]
inc ebx
add ecx, edx
cmp ebx, ebp
mov dword [esp + 0x18], ecx
jl 0x41c409
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x28]
add ebx, ecx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x24]
sub ebx, 0x14
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x1c]
cmp ebx, eax
jle 0x41c3e4
jmp case.default.0x41bea1
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov ecx, edx
mov ebx, 0x14
cdq
idiv ebx
mov dword [esp + 0x10], ecx
test edx, edx
je 0x41c4ea
inc ecx
mov dword [esp + 0x10], ecx
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle case.default.0x41bea1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, ebp
imul eax, dword [esp + 0x128]
mov dword [esp + 0x20], eax
xor ebx, ebx
test ebp, ebp
jle 0x41c5c0
mov edx, dword [esp + 0x114]
mov eax, dword [esp + 0x24]
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, ecx
imul eax, ebp
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
jmp 0x41c542
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x2c]
and eax, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
push ebx
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x128]
push 1
add eax, ebx
push 0x14
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x30]
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x18]
inc ebx
add ecx, edx
cmp ebx, ebp
mov dword [esp + 0x18], ecx
jl 0x41c53c
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add ebx, 0x14
inc edx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x28]
add ebx, eax
cmp edx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ebx
jl 0x41c50e
jmp case.default.0x41bea1
mov eax, 0x66666667
mov edi, 0x14
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov ecx, edx
cdq
idiv edi
mov dword [esp + 0x10], ecx
test edx, edx
je 0x41c615
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 1
mov dword [esp + 0x1c], 1
jl case.default.0x41bea1
lea edx, [ebp + ebp*2]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x11c]
lea eax, [edx - 0x14]
mov dword [esp + 0x14], eax
mov eax, ebx
sub eax, edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0x2c], eax
lea ebx, [ebp - 1]
test ebx, ebx
jl 0x41c6f9
mov edi, dword [esp + 0x14]
add eax, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, ecx
mov ecx, dword [esp + 0x118]
imul eax, ebp
add ecx, ebx
sub edi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], ecx
imul edi, edx
mov ebp, eax
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x14]
and eax, edx
mov edx, dword [esp + 0x20]
push 0xcc0020
push ebx
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x28]
push 1
push 0x14
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, edi
cdq
idiv ebp
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x18]
dec ebx
dec edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x128]
add edi, edx
test ebx, ebx
jge 0x41c681
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
add ebx, ebp
inc edi
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
sub ebx, 0x14
cmp edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ebx
jle 0x41c64b
jmp case.default.0x41bea1
mov eax, 0x66666667
mov edi, 0x14
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov ecx, edx
cdq
idiv edi
mov dword [esp + 0x10], ecx
test edx, edx
je 0x41c74e
inc ecx
mov dword [esp + 0x10], ecx
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle case.default.0x41bea1
mov edx, dword [esp + 0x128]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
lea ebx, [ebp - 1]
test ebx, ebx
jl 0x41c81c
mov eax, dword [esp + 0x114]
mov edi, dword [esp + 0x14]
add edi, eax
mov eax, ecx
mov ecx, dword [esp + 0x118]
imul eax, ebp
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x18]
add ecx, ebx
sub edi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
imul edi, edx
mov ebp, eax
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x2c]
and eax, edx
mov edx, dword [esp + 0x14]
push 0xcc0020
push ebx
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x30]
push 1
push 0x14
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, edi
cdq
idiv ebp
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x20]
dec ebx
dec edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x128]
add edi, edx
test ebx, ebx
jge 0x41c7a8
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
inc eax
add edi, ebp
add ebx, 0x14
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
jl 0x41c76b
jmp case.default.0x41bea1
mov eax, 0x66666667
mov ecx, 0x14
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov dword [esp + 0x10], edx
cdq
idiv ecx
test edx, edx
je 0x41c86e
inc dword [esp + 0x10]
mov ebp, dword [esp + 0x118]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x41c916
lea eax, [ecx + 1]
mov dword [esp + 0x14], 0
shr eax, 1
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x24]
mov edi, 0x14
lea eax, [edx + 0x28]
cmp eax, edi
jle 0x41c900
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov edx, edi
and eax, ecx
mov ecx, dword [esp + 0x14]
sub edx, ebx
push 0xcc0020
push edx
push ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x3c]
push 1
lea edx, [edi + ebp]
push 0x14
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x24]
add edi, 0x28
lea eax, [edx + 0x28]
cmp edi, eax
jl 0x41c8b9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 0x28
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jne 0x41c898
cmp ecx, 1
jle 0x41c9a6
shr ecx, 1
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x24]
mov edi, 0x28
add eax, edi
cmp eax, edi
jl 0x41c990
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov ecx, edi
and eax, edx
mov edx, dword [esp + 0x14]
sub ecx, ebx
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esi + 4]
push eax
push 1
lea eax, [edi + ebp]
push 0x14
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
add edi, 0x28
add eax, 0x28
cmp edi, eax
jle 0x41c94d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0x28
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x41c92d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x66666667
imul dword [esp + 0x20]
mov edi, dword [esp + 0x34]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, edi
sub edx, ecx
push edx
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x20]
inc ebx
dec ebp
add edx, ecx
cmp ebx, 0x28
mov dword [esp + 0x20], edx
jl 0x41c87b
jmp case.default.0x41bea1
cmp cl, 0x20
jne 0x41ca11
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], 6
jmp 0x41ca1e
mov eax, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
fild dword [esp + 0x24]
fimul dword [esp + 0x20]
fmul qword [0x4bdb70]
fsqrt
fadd qword [0x4bdb68]
fild dword [esp + 0x2c]
fmul st(1)
fadd qword [0x4bcfe0]
call fcn.00496fa4
fild dword [esp + 0x30]
mov dword [esp + 0x2c], eax
fmul st(1)
fadd qword [0x4bcfe0]
call fcn.00496fa4
mov dword [esp + 0x30], eax
mov eax, ebx
cdq
fstp st(0)
idiv dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, ebp
cdq
idiv dword [esp + 0x30]
mov ecx, eax
mov eax, ebx
cdq
idiv dword [esp + 0x2c]
test edx, edx
je 0x41ca83
inc dword [esp + 0x24]
mov eax, ebp
cdq
idiv dword [esp + 0x30]
test edx, edx
je 0x41ca8f
inc ecx
mov ebx, ecx
imul ebx, dword [esp + 0x24]
mov eax, ebx
mov dword [esp + 0x14], ebx
cmp eax, 0x12c0
jge 0x41caa8
mov eax, 0x12c0
lea edx, [eax*4]
push edx
call fcn.004970a0
add esp, 4
mov dword [esp + 0x10], eax
lea eax, [esp + 0x74]
push 0
push eax
push str.rand___.dom
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp ebx, 0x12c0
mov ebp, eax
jg 0x41cb00
cmp ebp, 0xffffffff
je 0x41cb0c
mov ecx, dword [esp + 0x10]
push 0x4b00
mov ebx, 0x12c0
push ecx
push ebp
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll__lread]
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
jmp 0x41cb1e
cmp ebp, 0xffffffff
je 0x41cb0c
push ebp
call dword [sym.imp.KERNEL32.dll__lclose]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
push edx
push ebx
call fcn.0041bc30
add esp, 8
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x1c], eax
jle 0x41cbea
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ebp, dword [ecx]
cmp ebp, eax
jge 0x41cbb9
mov eax, ebp
push 0xcc0020
cdq
idiv dword [esp + 0x28]
mov ecx, eax
mov eax, ebp
cdq
idiv dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
lea eax, [esp + 0x3c]
neg eax
sbb eax, eax
and eax, ebp
mov ebp, dword [esp + 0x34]
imul ecx, ebp
push ecx
imul edx, ebx
push edx
push eax
mov eax, dword [esp + 0x128]
push ebp
add ecx, eax
push ebx
push ecx
mov ecx, dword [esp + 0x130]
add edx, ecx
push edx
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x28]
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne 0x41cbf4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x128]
mov ebp, dword [esp + 0x18]
add ecx, 4
inc eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x28]
add ebp, edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jl 0x41cb3c
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x41d0e3
mov eax, dword [esp + 0x10]
jmp 0x41d0e2
add ebx, 0x13
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov edx, 1
cmp ebp, edx
mov dword [esp + 0x1c], edx
jl case.default.0x41bea1
mov ecx, dword [esp + 0x120]
mov ebx, dword [esp + 0x128]
mov dword [esp + 0x20], ebx
lea eax, [ecx - 1]
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, ecx
cmp edx, ebp
mov dword [esp + 0x2c], eax
jge 0x41cc66
push ebp
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esp + 0x34]
mov ebx, eax
add ebx, edx
call edi
cmp eax, ebx
jg 0x41cd42
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x41cd1b
mov edi, dword [esp + 0x114]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, 0x14
sub eax, edi
add ecx, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
inc eax
shr eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x38]
push 0xcc0020
neg eax
sbb eax, eax
push ecx
mov ecx, dword [esi + 4]
and eax, edx
mov edx, dword [esp + 0x24]
push ebx
push eax
mov eax, dword [esp + 0x128]
push edx
push 0x14
push eax
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
mov ecx, dword [esp + 0x14]
and eax, edx
mov edx, dword [esp + 0x24]
push 0xcc0020
add edx, edi
push 0
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 4]
push 0x14
lea edx, [edi + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
add ebx, 0x28
add edi, 0x28
dec eax
mov dword [esp + 0x18], eax
jne 0x41cc9f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, eax
mov eax, dword [esp + 0x20]
cdq
idiv ebp
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc edx
dec ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x128]
add ecx, ebx
cmp edx, ebp
mov dword [esp + 0x20], ecx
jle 0x41cc49
jmp case.default.0x41bea1
add ebp, 0x13
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov edx, 1
cmp ebx, edx
mov dword [esp + 0x1c], edx
jl case.default.0x41bea1
mov ecx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x128]
mov dword [esp + 0x20], ebp
lea eax, [ecx - 1]
mov dword [esp + 0x14], eax
mov eax, ebx
sub eax, ecx
cmp edx, ebx
mov dword [esp + 0x2c], eax
jge 0x41cddb
push ebx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [esp + 0x34]
mov ebp, eax
add ebp, edx
call edi
cmp eax, ebp
jg 0x41ceb7
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x41ce90
mov edi, dword [esp + 0x118]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, 0x14
sub eax, edi
add ecx, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
xor ebp, ebp
inc eax
shr eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
mov edx, dword [esp + 0x1c]
push 0xcc0020
sbb eax, eax
push ebp
and eax, ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esp + 0x124]
push 0x14
push edx
push edi
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push 0xcc0020
neg eax
sbb eax, eax
add edx, edi
and eax, ecx
push edx
mov edx, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x2c]
push 0x14
lea ecx, [edi + 0x14]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
add ebp, 0x28
add edi, 0x28
dec eax
mov dword [esp + 0x18], eax
jne 0x41ce14
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, eax
mov eax, dword [esp + 0x20]
cdq
idiv ebx
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne case.default.0x41bea1
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc edx
dec ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x128]
add ecx, ebp
cmp edx, ebx
mov dword [esp + 0x20], ecx
jle 0x41cdbe
jmp case.default.0x41bea1
mov eax, 0x66666667
mov ecx, 0x14
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebx
mov dword [esp + 0x10], edx
cdq
idiv ecx
test edx, edx
je 0x41cf0e
inc dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
lea edx, [ebx*4]
push edx
call fcn.004970a0
push eax
push ebx
mov dword [esp + 0x24], eax
call fcn.0041bc30
add esp, 0xc
mov dword [esp + 0x1c], 0
test ebx, ebx
jle 0x41cfd9
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x114]
lea eax, [esp + 0x38]
push 0xcc0020
mov ecx, dword [ecx]
push 0
lea ecx, [ecx + ecx*4]
shl ecx, 2
add edx, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, dword [esi + 4]
and eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x128]
push ebp
push 0x14
push eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, eax
mov eax, ebx
cdq
idiv dword [esp + 0x10]
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne 0x41cfe2
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x10]
add ebx, 4
inc eax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
add ebx, edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
jl 0x41cf4b
mov eax, dword [esp + 0x18]
jmp 0x41d0e2
mov edx, dword [esp + 0x18]
push edx
jmp 0x41d0e3
mov eax, 0x66666667
imul ebp
sar edx, 3
mov ecx, edx
mov eax, ebp
shr ecx, 0x1f
add edx, ecx
mov ecx, 0x14
mov dword [esp + 0x10], edx
cdq
idiv ecx
test edx, edx
je 0x41d013
inc dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
lea edx, [ebp*4]
push edx
call fcn.004970a0
push eax
push ebp
mov dword [esp + 0x24], eax
call fcn.0041bc30
add esp, 0xc
mov dword [esp + 0x1c], 0
test ebp, ebp
jle 0x41d0de
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x118]
lea eax, [esp + 0x38]
push 0xcc0020
mov ecx, dword [ecx]
lea ecx, [ecx + ecx*4]
shl ecx, 2
add edx, ecx
push ecx
neg eax
sbb eax, eax
mov ecx, dword [esi + 4]
and eax, dword [esp + 0x44]
push 0
push eax
mov eax, dword [esp + 0x124]
push 0x14
push ebx
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
call edi
mov ecx, eax
mov eax, ebp
cdq
idiv dword [esp + 0x10]
add eax, dword [esp + 0x34]
sub eax, ecx
push eax
push 0
call fcn.0041bd40
test al, al
jne 0x41d0f5
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x10]
add ebp, 4
inc eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x28]
add ebp, edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebp
jl 0x41d050
mov eax, dword [esp + 0x18]
push eax
call fcn.00496fcb
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x41d0fc
jmp 0x41d0ff
mov edx, dword [esp + 0x18]
push edx
jmp 0x41d0e3
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.004ad796
sub esp, 0x10
xor eax, eax
mov ebx, esp
xor ecx, ecx
mov edx, 0xbb8
mov dword [ebx], eax
mov edi, edx
mov dword [ebx + 4], ecx
lea ecx, [esp + 0x58]
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call fcn.00467aa0
lea edx, [esp + 0x48]
mov ecx, esi
push edx
mov byte [esp + 0x108], 2
call fcn.004adb9c
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x104], 3
call fcn.004ae09f
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x104], 4
call fcn.004ae09f
lea ecx, [esp + 0x38]
mov dword [esp + 0x104], 0xffffffff
call fcn.004ad6d3
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf8
ret